Reputation
11,602
Top tag
Next privilege 15,000 Rep.
Protect questions
Badges
1 31 46
Newest
 Nice Answer
Impact
~959k people reached

May
26
comment Normal \relax vs. frozen \relax
Generally speaking, \ifx only looks one level deep: it checks whether all tokens have the same indices into the equivalence table, but does not check whether they have the same meaning. The same works with \let\foo=\relax: Now \foo is a token with the meaning of \relax but a different name.
May
26
comment Normal \relax vs. frozen \relax
On the other hand, \expandafter\ifx\x\relax is true. This works for all primitives that have a frozen version and therefore appear twice in the equivalence table. With LuaTeX, you can create additional copies of primitives using tex.enableprimitives, and they show the same behavior.
May
3
awarded  Nice Answer
May
3
awarded  Enlightened
May
3
awarded  Nice Answer
May
2
awarded  Guru
Apr
15
revised Storing and retrieving data in tuc file
edited tags
Apr
14
awarded  Enlightened
Apr
14
awarded  Nice Answer
Apr
13
awarded  Nice Answer
Apr
3
comment How to lower the superscripts (and raise the subscripts)
AFAIK setting the extended font dimensions is ineffective in XeTeX (they don't actually get applied), so you can do this only in LuaTeX (\Umathsupshiftup=12pt).
Mar
9
comment Superscript outside math mode
$n^\textsuperscript{th}$ is a double superscript.
Feb
22
awarded  Nice Answer
Feb
21
comment Chngcntr: \counterwithout not working
please post a minimal example
Feb
21
awarded  Pundit
Jan
8
comment Placement of subscripts using unicode-math. Is it XeTeX bug?
Does this happen with LuaTeX as well? For me it only happens with XeTeX.
Jan
7
comment Can the extended register pool be used for \newinsert?
Note that LaTeX floats don't use TeX inserts. LaTeX uses inserts only for footnotes and \enlargethispage, so you can always take the necessary allocations from the extended pool no matter what \insert accepts. See latex-community.org/forum/viewtopic.php?f=5&t=3049 for an example.
Dec
24
revised No indent in the first paragraph in a section?
edited body
Dec
13
comment Using simple quotes “” instead of \text{}
@Martin: What I meant was "tokens in parameter texts don't have to be active". They have to match the catcode used at the caller site though.
Dec
12
comment Using simple quotes “” instead of \text{}
@Martin: No, the second " doesn't have to be active; there is no such restriction on non-parameter tokens in parameter texts. A mathcode of 8000h means math-active: in math mode, the character is treated as if it were active, and TeX uses its meaning.