Reputation
19,190
Top tag
Next privilege 20,000 Rep.
Access 'trusted user' tools
Badges
9 64 121
Newest
 Yearling
Impact
~1.8m people reached

Jul
26
awarded  Yearling
Jul
18
awarded  Nice Question
Jul
14
awarded  Enlightened
Jul
14
awarded  Nice Answer
Jun
19
answered How to use the latest minted package in overleaf?
Jun
14
awarded  Popular Question
May
7
comment Correct highlighting of code listings using minted
On an unrelated note, these identifiers are not keywords. It may make sense to highlight them but there are also arguments against that, for example the fact that nothing prevents the user from adding their own identifiers starting with Q that would not fit into the scheme of Qt classes.
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