Differences From Artifact [33d6b18251]:
- Executable file
mttroot/mtt/bin/trans/latex_tidy
— part of check-in
[3e6154ff3d]
at
2002-08-20 19:33:21
on branch origin/master
— Minor bug fixes and enhancements (I hope):
Delimited expressions within function calls to prevent denominators from continuing beyond commas.
Allow latex to adjust size of parentheses according to expression within.
Replaced ^ with \uparrow (less misleading - latex maths doesn't understand operator precedence or words).
Replaced abs(x) with |x| when x does not contain brackets. (user: geraint@users.sourceforge.net, size: 4668) [annotate] [blame] [check-ins using] [more...]
To Artifact [a54d9a0090]:
- Executable file mttroot/mtt/bin/trans/latex_tidy — part of check-in [b350f1a982] at 2002-08-21 18:11:15 on branch origin/master — Replaced |x| with |{x}|. LaTeX now renders abs(fractions) correctly. (user: geraint@users.sourceforge.net, size: 5119) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
10 11 12 13 14 15 16 17 18 19 20 21 22 23 | # Copyright (c) P.J.Gawthrop, 1990, 1994 ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.19 2002/08/19 14:37:05 geraint ## Fixed eta, beta, theta, Theta and zeta. ## ## Revision 1.18 2001/06/11 19:43:50 gawthrop ## MTT is now much more sophisticated in generating lbl files ## Labels can contain maths ## Repetative components are now broken | > > > > > > > > | 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | # Copyright (c) P.J.Gawthrop, 1990, 1994 ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.20 2002/08/20 19:33:21 geraint ## Minor bug fixes and enhancements (I hope): ## ## Delimited expressions within function calls to prevent denominators from continuing beyond commas. ## Allow latex to adjust size of parentheses according to expression within. ## Replaced ^ with \uparrow (less misleading - latex maths doesn't understand operator precedence or words). ## Replaced abs(x) with |x| when x does not contain brackets. ## ## Revision 1.19 2002/08/19 14:37:05 geraint ## Fixed eta, beta, theta, Theta and zeta. ## ## Revision 1.18 2001/06/11 19:43:50 gawthrop ## MTT is now much more sophisticated in generating lbl files ## Labels can contain maths ## Repetative components are now broken |
︙ | ︙ | |||
119 120 121 122 123 124 125 | -e "s/mttz/z/g" \ -e "s/mttyy/Y/g" \ -e "s/mttw/w/g" \ -e "s/mttt/T/g" \ -e "s/mttpar//g" \ -e "s/!/\\\/g" \ -e "s/\\$//g" \ | | | 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 | -e "s/mttz/z/g" \ -e "s/mttyy/Y/g" \ -e "s/mttw/w/g" \ -e "s/mttt/T/g" \ -e "s/mttpar//g" \ -e "s/!/\\\/g" \ -e "s/\\$//g" \ -e "s/abs(\([^()]*\))/|{ \1 }|/g" \ -e "s/(\([^(),]*\),/( { \1 } ,/g" \ -e "s/,\([^(),]*\),/, { \1 } ,/g" \ -e "s/,\([^(),]*\))/, { \1 } )/g" \ -e "s/(/{\\\left /g" \ -e "s/\*\*/^/g" \ -e "s/\*/ /g" \ -e "s/)/\\\right }/g" \ |
︙ | ︙ |