Additional functions and symbols for texvc
Closed, ResolvedPublic

Description

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?


Version: unspecified
Severity: enhancement

Details

Reference
bz7774
bzimport added a subscriber: Unknown Object (MLST).
bzimport set Reference to bz7774.
AzaToth created this task.Oct 31 2006, 6:11 PM

the patch, implementation of them all except \sideset

attachment math4.patch ignored as obsolete

Forgot, that I've also defined \bigl and \bigr etc...

Examples

Some examples made on my test wiki

Attached:

added implementatrion of sideset

Finally I was able to create a functional implementation of \sideset

attachment math4.patch ignored as obsolete

syntax and look of sideset

Attached:

The complete patch

attachment math4.patch ignored as obsolete

Comment on attachment 2608
The complete patch

forgot to remove remder.ml from the patch

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

attachment math4.patch ignored as obsolete

The new symbolds added and their syntax

The new symbolds added and their syntax

Attached:

Complete patch

Minor bug in \text{} (shouldn't parse the content of text)

attachment math4.patch ignored as obsolete

Cemplete patch

Off course \text most use ams

attachment math4.patch ignored as obsolete

Complete patch

Added deambigious code to html.ml that where missing

attachment math4.patch ignored as obsolete

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).

attachment math4.patch ignored as obsolete

The even MORE Complete Patch

Think it's better to force large letters to be serif (like \sum etc...)

Attached: math4.patch

The even MORE Complete Patch 2

Added fix for bug 1182

attachment math4.patch ignored as obsolete

robchur wrote:

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.

robchur wrote:

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
The even MORE Complete Patch

reverting to the older patch, separate the bugs

Comment on attachment 2622
The even MORE Complete Patch 2

as before

jeluf wrote:

Fixed in r17386.

Add Comment