absolute values
Posted: Wed Apr 19, 2006 2:19 pm
Hi everybody,
it seems I ahven't used much absolute values lately since only yesterday I found that things like $|x|$ or $|o|$ look offbalance to me. The space to the right of the latter looks larger than the space to the left of the letter.
In order to test this systematically, I have taken some code from testfont.tex (without fully understanding it ;-):
\documentclass{article}
\renewcommand{\rmdefault}{ptm}
\usepackage[slantedGreek]{mtpro2}
\def\math{\def\ii{i} \def\jj{j}
\def\\##1{|##1|+}\mathtrial
\def\\##1{##1_2+}\mathtrial
\def\\##1{##1^2+}\mathtrial
\def\\##1{##1/2+}\mathtrial
\def\\##1{2/##1+}\mathtrial
\def\\##1{##1,{}+}\mathtrial
\def\\##1{d##1+}\mathtrial
\let\ii=\imath \let\jj=\jmath \def\\##1{\hat##1+}\mathtrial}
\newcount\skewtrial \skewtrial='177
\def\mathtrial{$\\A \\B \\C \\D \\E \\F \\G \\H \\I \\J \\K \\L \\M \\N \\O
\\P \\Q \\R \\S \\T \\U \\V \\W \\X \\Y \\Z \\a \\b \\c \\d \\e \\f \\g
\\h \\\ii \\\jj \\k \\l \\m \\n \\o \\p \\q \\r \\s \\t \\u \\v \\w \\x \\y
\\z \\\alpha \\\beta \\\gamma \\\delta \\\epsilon \\\zeta \\\eta \\\theta
\\\iota \\\kappa \\\lambda \\\mu \\\nu \\\xi \\\pi \\\rho \\\sigma \\\tau
\\\upsilon \\\phi \\\chi \\\psi \\\omega \\\vartheta \\\varpi \\\varphi
\\\Gamma \\\Delta \\\Theta \\\Lambda \\\Xi \\\Pi \\\Sigma \\\Upsilon
\\\Phi \\\Psi \\\Omega \\\partial \\\ell \\\wp$\par}
\def\mathsy{\begingroup\skewtrial='060 % for math symbol font tests
\def\mathtrial{$\\A \\B \\C \\D \\E \\F \\G \\H \\I \\J \\K \\L
\\M \\N \\O \\P \\Q \\R \\S \\T \\U \\V \\W \\X \\Y \\Z$\par}
\math\endgroup}
\begin{document}
\math
\end{document}
IMO most lower case letters look off-center to me with to much space to the tight of the letter (f,v,w,e are exceptions). The greeks are fine, while the uppercase letters are mixed (R has to much space to the left, U and M on the right). The other tests (besides absolute values) look fine.
Other opinions?
cheerio
ralf
it seems I ahven't used much absolute values lately since only yesterday I found that things like $|x|$ or $|o|$ look offbalance to me. The space to the right of the latter looks larger than the space to the left of the letter.
In order to test this systematically, I have taken some code from testfont.tex (without fully understanding it ;-):
\documentclass{article}
\renewcommand{\rmdefault}{ptm}
\usepackage[slantedGreek]{mtpro2}
\def\math{\def\ii{i} \def\jj{j}
\def\\##1{|##1|+}\mathtrial
\def\\##1{##1_2+}\mathtrial
\def\\##1{##1^2+}\mathtrial
\def\\##1{##1/2+}\mathtrial
\def\\##1{2/##1+}\mathtrial
\def\\##1{##1,{}+}\mathtrial
\def\\##1{d##1+}\mathtrial
\let\ii=\imath \let\jj=\jmath \def\\##1{\hat##1+}\mathtrial}
\newcount\skewtrial \skewtrial='177
\def\mathtrial{$\\A \\B \\C \\D \\E \\F \\G \\H \\I \\J \\K \\L \\M \\N \\O
\\P \\Q \\R \\S \\T \\U \\V \\W \\X \\Y \\Z \\a \\b \\c \\d \\e \\f \\g
\\h \\\ii \\\jj \\k \\l \\m \\n \\o \\p \\q \\r \\s \\t \\u \\v \\w \\x \\y
\\z \\\alpha \\\beta \\\gamma \\\delta \\\epsilon \\\zeta \\\eta \\\theta
\\\iota \\\kappa \\\lambda \\\mu \\\nu \\\xi \\\pi \\\rho \\\sigma \\\tau
\\\upsilon \\\phi \\\chi \\\psi \\\omega \\\vartheta \\\varpi \\\varphi
\\\Gamma \\\Delta \\\Theta \\\Lambda \\\Xi \\\Pi \\\Sigma \\\Upsilon
\\\Phi \\\Psi \\\Omega \\\partial \\\ell \\\wp$\par}
\def\mathsy{\begingroup\skewtrial='060 % for math symbol font tests
\def\mathtrial{$\\A \\B \\C \\D \\E \\F \\G \\H \\I \\J \\K \\L
\\M \\N \\O \\P \\Q \\R \\S \\T \\U \\V \\W \\X \\Y \\Z$\par}
\math\endgroup}
\begin{document}
\math
\end{document}
IMO most lower case letters look off-center to me with to much space to the tight of the letter (f,v,w,e are exceptions). The greeks are fine, while the uppercase letters are mixed (R has to much space to the left, U and M on the right). The other tests (besides absolute values) look fine.
Other opinions?
cheerio
ralf