Last modified: 2006-11-03 23:19:01 UTC
I was digging around in AMSTeX and found some thingis, that could be usefull for addition, I have managed to implement all but one (see patch). The commands are: \begin{align}...\end{align} and \begin{alignat}...\end{alignat} :They will use the envs aligned and alignedat, and it a better and easier alternative to ''array'' \begin{smallmatrix}...\end{smallmatrix} :a matrix in miniature, usefull if you need to include a small matrix in text. \overset, \underset :Superior to \stackrel \sideset :didn't manage to implement this one, but it's needed if you want to add a prime or simlar to \sum. (\binom), \dbinom, \tbinom :the \binom was defined, but was mission amstex definition, so it could fault if no other ams tags was used, dbinom and tbinom is shortcuts for \displaystyle\binom etc... \dfrac, \tfrac :\cfrac should only be used in subfracs, dfrac and tfrac for eas of use. \xleftarrow, \xrightarrow :A thing people have asked for. This is an arrow, to left or right, with the abillity to defined text above or below the arrow, and the length of the arrow is dependent of the length of the text. \text :simlar to use as \mbox{foo}, but it's defined in AMSTex, so why not use it?
Created attachment 2604 [details] the patch, implementation of them all except \sideset
Forgot, that I've also defined \bigl and \bigr etc...
Created attachment 2605 [details] Examples Some examples made on my test wiki
Created attachment 2606 [details] added implementatrion of sideset Finally I was able to create a functional implementation of \sideset
Created attachment 2607 [details] syntax and look of sideset
Created attachment 2608 [details] The complete patch
Comment on attachment 2608 [details] The complete patch forgot to remove remder.ml from the patch
Created attachment 2609 [details] previous patch plus some symbols I found out that I had had forgot a bounch of AMSTeX symbols, so I decided to add then to the patch
Created attachment 2610 [details] The new symbolds added and their syntax The new symbolds added and their syntax
Created attachment 2617 [details] Complete patch Minor bug in \text{} (shouldn't parse the content of text)
Created attachment 2618 [details] Cemplete patch Off course \text most use ams
Created attachment 2619 [details] Complete patch Added deambigious code to html.ml that where missing
Created attachment 2620 [details] The MORE complete patch I have cleaned up the resulting html (changed font-tags to span tags, utilizing css instead, and make resulting html indented somewhat). Minor cleanup in a test-file (unused variable removed, so it won't complain).
Created attachment 2621 [details] The even MORE Complete Patch Think it's better to force large letters to be serif (like \sum etc...)
Created attachment 2622 [details] The even MORE Complete Patch 2 Added fix for bug 1182
Please keep fixes for different bugs separate.
(In reply to comment #16) > Please keep fixes for different bugs separate. Sorry, but I didn't want separate patches lying around.
Please keep fixes for different bugs separate. It makes code reviewing easier and allows us to track patches easily.
(In reply to comment #18) > Please keep fixes for different bugs separate. It makes code reviewing easier > and allows us to track patches easily. Ok, I fix it
Comment on attachment 2621 [details] The even MORE Complete Patch reverting to the older patch, separate the bugs
Comment on attachment 2622 [details] The even MORE Complete Patch 2 as before
Fixed in r17386.