Reputation
18,252
Top tag
Next privilege 20,000 Rep.
Access 'trusted user' tools
Badges
9 62 118
Newest
 Nice Answer
Impact
~1.7m people reached

Apr
30
awarded  Nice Answer
Apr
29
comment Letting graphics overflow over page edge
Oh, awesome, thanks a lot. Very prompt.
Apr
29
comment Letting graphics overflow over page edge
I’ve tried doing the same, using \paperwidth instead of 2\textwidth. Weirdly, that doesn’t work, it left a little space at the outer border (outside of the margin). What did work was when I used 1.1\paperwidth.
Apr
28
awarded  Announcer
Apr
22
awarded  Nice Answer
Apr
22
accepted Redefine command inside page header
Apr
22
comment Redefine command inside page header
FWIW I tried the conditional first (exactly as you did, down to the name of the if) — it didn’t work. Which figures, \foobartrue just redefines iffoobar, so it’s similar to just redefining the actual command. So is the actual solution to use DeclareRobustCommand instead of \newcommand?
Apr
22
asked Redefine command inside page header
Apr
14
awarded  Popular Question
Apr
10
awarded  Favorite Question
Mar
29
comment Fake small caps with XeTeX/fontspec?
Thanks, brilliant. Still way worse than real small caps of course, but way better than anything else I’ve tried so far.
Mar
4
awarded  Popular Question
Feb
25
awarded  Inquisitive
Feb
24
accepted Polyglossia ignores my custom hyphenation
Feb
24
comment Polyglossia ignores my custom hyphenation
@David Okay, good to know (and actually reassuring, I don’t actually want that break, I was just trying to be extra permissive here). But in any case the relevant break would be the other, so this doesn’t solve my problem.
Feb
24
revised Polyglossia ignores my custom hyphenation
added 92 characters in body
Feb
24
asked Polyglossia ignores my custom hyphenation
Feb
17
awarded  Notable Question
Feb
4
comment How can I detect if I'm inside or outside of a float environment?
Oddly, this test doesn’t work when I’m using it to conditionally define a marginpar – I’m doing this, inside a macro: \ifnum\@floatpenalty<0\relax\let\mp\marginnote\else\let\mp\marginpar\fi\mp{Some text}, and that always goes into the float branch. However, if I take out the \let\mp… and instead print some text, it goes into the correct branch. Subsequently outputting a marginpar seems to influence the \IfFloat test in the past.
Feb
4
comment How do I 'stack' marginnotes that are triggered on the same line?
The problem with \marginpar has always been that it doesn’t work in floats and footnotes. How did you solve this?