Mathematical and Physical Journal
for High Schools
Issued by the MATFUND Foundation
Already signed up?
New to KöMaL?
I want the old design back!!! :-)

Problem I. 134. (May 2006)

I. 134. Using HTML and JavaScript tools, implement a web-based equation editor that can handle TeX commands of the internet forum (or the electronic worksheets) of the Journal KöMaL.

Your web page should consist of two parts. The lower part should be a web form of POST type, containing a textbox and an OK button. Upon pressing the button, the browser should send the following data to

Variable  value
a         tk
src       content of the textbox

The upper part of your page should contain some buttons or drop down menus with the most important TeX commands, at least 8 of them (for example, fraction, lower and upper index, sum, Greek letters) similarly to a WYSIWYG equation editor. If the user presses a button, your program should insert the corresponding TeX command and the necessary braces into the textbox at the actual position. For example, if one presses the fraction sign, a ''\frac{ }{ }'' command should appear with the cursor positioned between the first braces.

When evaluating solutions, we will take into account the tools applied, some aesthetical aspects and whether your program operates well under different browsers (Internet Explorer, Mozilla, Opera etc.).

The source code (i134.html) should be submitted.

(10 pont)

Deadline expired on June 15, 2006.


8 students sent a solution.
9 points:Györök Péter.
8 points:1 student.
7 points:3 students.
6 points:1 student.
5 points:1 student.
4 points:1 student.

Problems in Information Technology of KöMaL, May 2006