18,114 reputation
14096
bio website
location
age
visits member for 3 years, 6 months
seen 5 hours ago

Dec
4
comment Fancy header in bibliography
@Kurt Or just group it, so that the redefinition remains local.
Nov
29
comment LaTeX - a single code listing over multiple pages
@Cv4: To my understanding, this does not solve the OP's question. The point is the breaking across page boundaries.
Nov
29
comment LaTeX - a single code listing over multiple pages
@DušanRychnovský: No, as it is still a float.
Nov
28
comment Standalone package advanced conversion options inside LaTeX source file
I just guess @MartinScharrer is kind of busy these days. I am pretty sure he will provide a definite answer, eventually.
Nov
23
comment Why does \numexpr integer division round rather than truncate?
Oh... I wasn't aware of the fact that it does round. Quite counterintuitive – and good to know.
Nov
23
comment Spotcolor bleeds into the surrounding
Cool! I always had considered it more than ridiculus that I could create professional color-print publications with LaTeX and TiKZ. You have done the community a big favor!
Nov
21
comment How to make pdfLaTeX multithreaded when `--shell-escape` is enabled?
What OS are you using? At least on UNIX-like systems it may be enough to end the command line passed to \write18 with an ampersand character (&) to have the shell spawn a new process for the external command.
Nov
20
comment one and the same command for different outputs depending on position in document
Sure, there is. However, I am not sure what exactly you are asking here. (1) Are you interested in learning how something like that could be implemented, or (2) is this a specific problem you need a solution for. In the latter case, I would suggest to use some existing package. Use, for example, the acronym package and then do a \preto{\part}{\acresetall} (\preto is from the etoolbox package) to have all acronyms reset at every part. There might be other packages that are even better suited.
Nov
20
comment one and the same command for different outputs depending on position in document
\newcommand\Einstein{Albert Einstein (1879-1955)\xdef\Einstein{Einstein}} would be such a macro that redefines itself on the first expansion. Of course a lot of sugar could be added around this mechanism to make it more accessible.
Nov
19
comment Converting an underscored string to camelcase
I have provided this now as an answer. If this answer serves your needs better as the other answer (wrt. using stringstrings and providing the CamelCase), you should move the accept mark to it, as this helps further visitors to figure what has solved your requirements. Note that at this site it is considered generally a good idea to wait for a couple of days before accepting an answer.
Nov
19
comment Converting an underscored string to camelcase
As you are dealing with "magic chars" I guess you have to provide the [e] (encoded) option instead of [q] to stringstrings functions.
Nov
16
comment Center overfull subfloats
@Nobody: I would do exactly this and also have done it a couple of times.
Nov
16
comment Center overfull subfloats
@Nobody: Well, I guess some members of this site would consider your intent (figures that overlap into the margins) as "a bit hacky" :-) However, the implementation with \makebox isn't. It's just the standard way to tell LaTeX that we want it to not care about the horizontal oversize.
Nov
14
comment Remove two words
@crixtox: I was just reading about encoded mode, which certainly should be used here. I will edit the answer.
Nov
12
comment How to access rows through naming or similar
It might help others to help you if you could provide a real MWE (already using pgfplotstable; applying your intended formatting to the hard-coded row numbers).
Nov
12
comment Writing a large portion of text in 'code font'
@ppr: Your comment about verbatim is right, but does not address the OP's question. AFAIU the OP does not want to typeset LaTeX code, but wants some piece of text (including an itemize list) to be typeset in a typewriter font.
Nov
11
comment tikz, overlay pgf pictures
@egreg: Alright, thanks for telling me. I have switched to \makebox.
Nov
11
comment tikz, overlay pgf pictures
@egreg: \makebox is certainly more flexible, but what strange surprises have to be expected by \rlap?
Nov
10
comment How to: put definition of figures together, then generate picture at different places
Note that in case the figure content or caption crosses paragraph breaks, you need to define the macros \long. LaTeX's \newcommand defines macros \long by default, which is just another reason to prefer it over \def in user macros.
Nov
9
comment Why is the file size/compilation-time of a beamer presentation increased if the `handout` option is removed?
I am still not sure if I agree with the "not more content". In handout mode you end up with 50 beamer blocks spread on one page; in beamer mode it comes to 1+2+3+...+50=1275 beamer blocks, spread over 50 pages. Even though PDF internally does a lot of content reuse (as you have pointed out for the included graphics), each of these entities is a distinct PDF object that has an entry in some directory, an identfier, and so on.