15,909 reputation
23594
bio website
location Helsinki, Finland
age 35
visits member for 4 years
seen 14 mins ago

I ♡ \halign
I ♡ Unicode
I hate \vboxes

Big Parenthesis in an Equation


Oct
19
awarded  Nice Answer
Oct
15
comment How to create PDF outline
About the first point: I am only concerned in XeTeX, so maybe much simpler. About your second bullet point: In the sources for navigator.tex, there is a comment: "So much simpler because xdvipdfmx deals with children automatically; thus \nav@processoutlines is unnecessary.". Please correct if I'm misinterpreting, but doesn't that mean that there would not need to be two passes with xdvipdfmx? Thanks for the third point, that was something that hadn't even crossed my mind!
Oct
11
asked How to create PDF outline
Oct
9
comment Print a macro I created in a package
Laziness is a virtue :-)
Oct
8
comment How to typeset a vbox to a grid in plain TeX?
Ah, yes, sorry I missed that. On a more general note, plain.tex has many things "hard coded" to use 10/12 (that is, ten point font with twelve point leading), so in order to have consistent baseline grid, one would need to go through every instance of those. Some examples include the definition of \makeheadline/-footline used in the output routine, \ragged-/normalbottom, and various things in the math mode, just to name a few.
Oct
8
comment How to typeset a vbox to a grid in plain TeX?
By the way, if you just want a \vbox of a certain multiple of \baselineskip, there is a really simple command for that: \vbox to 5\baselineskip{...} (naturally change the number 5 to anything you like).
Oct
8
comment How to typeset a vbox to a grid in plain TeX?
Oh, and \strut needs to be redefined (maybe best is like in LaTeX, i.e., height of .7\baselineskip and depth of .3\baselineskip.)
Oct
8
comment How to typeset a vbox to a grid in plain TeX?
"I know this is a heavily debated subject, which is almost impossible in plain TeX..." Why do think so? Plain TeX is a macro collection built on top of TeX just like LaTeX is. IIRC, the grid package has a fair amount of issues. IMHO, when going for (baseline-)grid, Plain should be way easier than LaTeX. Anyway, things that spring to mind are that your \topskip shouldn't have glue, and that \vboxes need \struts at start and end, and they discard \prevdepth when \unvboxing (if that's relevant here).
Oct
8
awarded  Yearling
Oct
8
comment Conversion of tex to latex
@highsciguy: I'm sorry I just can't get sub capture groups to work; this is what I've tried in ruby: @texregexp = /\\(?<macro>[[:alpha:]]+\s*(?<args>(?!\\)\{(\g<macro>|[^{}])*\}))/m (testing with a_string.scan @texregexp)
Oct
4
comment Is it possible to conditionally execute statements based on the translating engine, within Plain TeX?
\ifdefined\pdfpagewidth\else\newdim\pdfpagewidth...\fi IIRC, \ifdefined is from eTeX, so wouldn't work on actual TeX.
Oct
2
comment Conversion of tex to latex
@highsciguy: actually, yeah, I think you're right. So at the moment my answer is misleading; I'll update it once I get the hang of recursive named groups.
Sep
30
awarded  Explainer
Sep
30
comment Conversion of tex to latex
@highsciguy: Yeah, and for the above you'd need to differentiate between \{/\} and {/}, etc. etc.
Sep
29
answered Conversion of tex to latex
Sep
28
comment Reducing the size of greek letters in TeX Gyre Schola Math?
@Tyler: I don't know enough about unicode-math to answer your question, sorry.
Sep
28
comment Reducing the size of greek letters in TeX Gyre Schola Math?
@egreg: Maybe they're going by "release early, release often". I wouldn't want to discourage their work. Anyhow, speaking of clashing fonts, I'm not sure Termes Math fits so well; maybe try Bonum Math?
Sep
28
comment Reducing the size of greek letters in TeX Gyre Schola Math?
One should really need to understand what a massive undertaking it is to produce a comprehensive math OTF. GUST goes to even say that "However, in contrast to the Latin Modern and Latin Modern Math fonts, it is impossible to typeset “real” mathematical papers using only TeX Gyre fonts, because so far math symbols are scarcely represented. The available symbols should suffice for typesetting of technical texts but not for “strictly mathematical” papers."
Sep
28
comment Reducing the size of greek letters in TeX Gyre Schola Math?
Just a quick note, from the README: "Greek symbols are based on Theano Modern font".
Sep
25
reviewed No Action Needed Beamer — Revealing image in one minipage moves stuff in the other minipage