\lq{}\lq\lq\ = \rq\thinspace\rq\rq \lq\lq\thinspace\lq\ = \rq\rq{}\rq\ = \rq\rq\rq Run tftopl cmr10.tfm cmr10.pl and in cmr10.pl see KRN and other stuff for characters '42, '47, '140, '134 to understand why spaces after different types of quotes are the way they are. (\lq\lq and \rq\rq form ligatures) Run this to understand what those numbers mean: \obeylines \char'42 \char'47 ... \bye ----------- To understand how tfm files work, do this: change something in cmr10.pl, for example in "(LABEL C v)", then generate new cmr10.tfm, then use this test.tex: \showboxbreadth \maxdimen \showboxdepth \maxdimen \setbox0=\hbox{va} \showbox0 \bye and see log file to check how those change worked
Wednesday, January 28, 2015
Double quotes in TeX
TeX QUESTIONS
* Is empty control sequence (\csname\endcsname) of any practical use at all? (see example about empty control sequence in http://tug.org/TUGboat/tb35-1/tb109knut.pdf) * For what reason \lowercase{} and \uppercase{} is done a savoir in stomach and not in mouth?
Friday, January 23, 2015
Number of days in month
Number of days in current month: date -d "$(date +%Y-%m)-01 -1 day +1 month" +%d Number of days in any year and month: date -d "$YEAR-$MONTH-01 -1 day +1 month" +%d
Subscribe to:
Posts (Atom)