11,556 reputation
2458
bio website
location
age
visits member for 2 years, 2 months
seen 8 hours ago
stats profile views 319

Sep
15
comment Are there any LaTeX packages to compute and render the diff between two text files?
The question title is misleading in a way that the question seems to be off topic. You might want to rephrase it so that your intent becomes more clear (somewhat in the direction of "Are there any LaTeX packages to compute/typeset the diff between two files?")
Sep
14
comment How to change appearance of a particular line when using \lstincludelisting?
@gablin: Then you should probably rephrase the title of your question ;-) No, seriously: (1) Do you need to just give a (e.g. comma-separated) list of lines (like 1,5,6,7,12) or do you also need ranges (like 1,5-7,12) (2) Do you insist on a font change to highlight the lines or would a different background color (as in my second example) be suitable.
Sep
14
comment Listings package: how to suppress highlighting/emphasis on identifiers containing keywords?
@Adrian: Your last two comments might be worth to be given as an answer: They give some more hints about the root of the problem and provide a reasonable workaround. (Note that it is perfectly acceptable to answer your own questions, other members might profit from your solution!)
Sep
14
comment How to include a picture over two pages, left part on left side, right on right (for books)?
I second the idea of turning this into a new package. There is, however, one additional option I would like to see (and you had asked about in your first comment): The possibility to typeset long captions over both sides. IMHO this gives a smoother layout; furthermore I have several large facing-pages figures with long captions that otherwise do not fit on the pages. (I have achieved this more or less manually so far)
Sep
13
comment node names and nested loops in TikZ
the_code >> tex-snippets.tex: Thanks Andrew for this useful bit of background information. The show node name style is just neat!
Jul
19
comment How can I get Roman numerals in text?
As usual, Martin was 2 minutes earlier :-)
Jul
19
comment How can I prevent page break between lines of a paragraph or bibliography entry?
@SamB: Probably a \bgroup \interlinepenality=10000 \parskip0pt plus\baselineskip \thebibliography \egroup would do it (not tested).
Jul
18
comment LyX Layout for TrueType Fonts
Well, I am an experienced LyX user and willing to help. However, to me the question is unclear as well; at least I am not aware of any way to specify a particular font in a LyX layout. I would recommend to post this question to the (very helpful and responsive) lyx-users mailing list.
Jul
15
comment Bibtex: unsrt and crossref
Thanks, that was the info I was looking for. I have updated my answer in this respect.
Jul
15
comment Bibtex: unsrt and crossref
I actually wanted to round-up my answer with a recommendation of biblatex. However, as I got it from the manual, it does not solve the issue :-(
Jul
14
comment Shortcut for “vertical space” in LyX
@Seamus: Actually, the question is about binding a shortcut to a LyX function available via the GUI (which in result inserts a \medskip in the TeX-output of LyX).
Jul
6
comment Disallowing line break before dash (en dash and em dash)
@Karl: Wrt. 1): Even in English writing, many style guides recommend to use an en-dash surrounded by spaces in places where the (American) writer would commonly use an em-dash: [...] For example, the Canadian The Elements of Typographic Style recommends the spaced en dash – like so – and argues that the length and visual magnitude of an em dash "belongs to the padded and corseted aesthetic of Victorian typography." (en.wikipedia.org/wiki/Dash).
Jul
5
comment How to define a macro with parameters inside a beamer frame
Thanks Martin, this works! As usual, I will wait a couple of days before accepting the answer. Comment: The only caveat with fragile is that it does not play together with allowframebreaks. However, a frame with local macros and frame-breaks that is used again with \againframe would be a pathological case anyway.
Jul
4
comment How to define a macro with parameters inside a beamer frame
@Martin: I had tried it with two #, but not with four, nice :-) However, fragile seems not to help wrt to \againframe; have you tested this?
Jul
1
comment Use \ref in PDF images included with \includegraphics
xfig can be configured to let LaTeX render all text inside an xfig figure (and probably is one of the reasons so many people still use this rather archaic program). With OmniGraffle, I only see a possibility if you export your figures to EPS and switch over to the dvi->ps->pdf route to be able to use pgsfrag.
Jun
30
comment Defining a TikZ style to scale the content of a node
Thanks for the answer and good explanation!
Jun
30
comment Defining a TikZ style to scale the content of a node
@Martin: Actually, I do use adjustboxin my real implementation and I like it pretty much :-) I only substituted it for this MWE, so that others do not have to download an extra package that is not yet part of standard latex installations. (PS: Thanks for the spurious spaces hint!)
Jun
27
comment How to automatically skip leading white spaces in listings
@Martin, @Bruno: I have now edited a summary of the results into the question. Thanks to both of you for the large effort you have put into this!
Jun
27
comment Listing with line numbers inside a table
@You: A tabular is not a float, so I do not completely understand your comment. However, I use tabular to achieve some complicated layout - which I intentionally have left out from the MWE, as it does not contribute to the illustration of the problem.
Jun
27
comment Listing with line numbers inside a table
@przemoc: Right, I am using this all the time. However, both do not actually contribute to a MWE.