Reputation
20,358
Top tag
Next privilege 25,000 Rep.
Access to site analytics
Badges
9 68 123
Impact
~2.1m people reached

Feb
7
awarded  Notable Question
Feb
2
awarded  Good Question
Jan
27
awarded  Good Question
Jan
27
comment Can LaTeX be used to create flexible ebook typesize and pagesize, like html?
You can do it but I’m not sure if it makes a lot of sense: much of LaTeX’ strength is as a typesetting engine and you lose all that when producing an ebook: engines such as pdfLaTeX are comparable to the ebook reader and produce the display rather than the epub/mobi: they interpret the (ebook) input and render it. And they make fundamentally different trade-offs: an ebook reader engine needs to render text very quickly with limited resources, but produces sub-optimal (let’s not mince words here: terrible) layout. pdfLaTeX produces great layout but uses time-consuming algorithms for this.
Jan
13
comment Rules of thumb for size of binding correction (BCOR)
Thanks, this is indeed a great clarification, and it solved my problem.
Jan
12
comment Rules of thumb for size of binding correction (BCOR)
Can you expand on the two techniques? I don’t really understand the second one (neither in English nor in the German original) and I cannot apply the first because I lack a sufficiently large piece of paper; in fact, when using the method you’ve described in the question, I get a binding correction of 11.5 mm (but the book didn’t lie flat since I didn’t want to fold the paper). This is about as much as the complete thickness of the bound book, contrary to Markus’ rule of thumb that it shouldn’t exceed half the thickness. What gives?
Jan
9
comment Mac OS Yosemite made TeXShop previews unreadably blurred
Just to clarify: this bug is not related to either TeXWorks or TeX fonts. It’s a bug in the PDF renderer in OS X Yosemite on non-Retina displays. There does not appear to be a real solution for the problem, and as of 01·2016 there’s no bug fix provided by Apple. Something that’s touted as a workaround is to disable font smoothing but this obviously doesn’t actually fix the bug, and in fact makes font display worse (font smoothing is designed to improve text display, and should be enabled). Likewise, reducing transparency is unrelated to the display of PDFs.
Jan
5
comment minted: how to highlight java method at class
Java ≠ Javadoc. If you want to highlight Javadoc notation strings you need to build a custom Pygments lexer for that.
Dec
31
comment Difficulties with Minted and UTF-8
The minted version you’re using explicitly only supports XeLaTeX and LuaTeX, not pdfLaTeX, with UTF-8. Upgrade your minted installation to change this, or switch to XeLaTeX or LuaTeX for proper Unicode support.
Dec
29
comment Shared first authors in bibliography
“Moreover, saying that multiple authors 'should be given for equal credit' is not really what citations are for” — Maybe not in your field. In my field, however, shared first authorship is becoming increasingly important, and lack of annotation of this in text is frowned upon. Case in point: in my PhD thesis manuscript I had to manually insert citations into the main text rather than relying on an automatic bibliography because my examiners (and others) insisted on it. Incidentally, I agree that this is mixing up the purpose of author–year citations. But that’s out of my control. :-(
Nov
24
comment Bitwise operator in pseudo-code
@NickT See tex.stackexchange.com/q/77646/42.
Nov
23
answered Prevent italics after “.csv” in Latex
Nov
9
comment How do I use an OpenType font with my LaTeX document?
@PetaspeedBeaver Current versions of “microtype” offer partial XeTeX support and it’s good enough for me.
Nov
4
comment Package glossaries - single spaced \printglossaries?
As of now (v4.12, 2014-11-22), this command isn’t documented at all. I’m assuming that it’s no longer supported. But page 167 of the manual describes a specific solution for this case: either use \newglossarystyle or make the modifications after \setglossarystyle.
Nov
1
comment \flushbottom vs \raggedbottom
@David I clearly don’t know the necessary internals but I feel that this should be fairly easy to do in an automated fashion — if using a “badness” threshold doesn’t work, then a threshold for total added glue should (or how much space there is between paragraphs).
Nov
1
comment \flushbottom vs \raggedbottom
@DavidCarlisle Hmm, I’d have preferred a solution which does that automatically without me having to manually insert non-semantic control code into my document.
Nov
1
awarded  Nice Answer
Nov
1
comment \flushbottom vs \raggedbottom
Is there a trick of enabling \raggedbottom only on pages with extremely bad underfull vboxes (with a given threshold for badness)? I generally want flush bottoms but I’d prefer having a ragged bottom on pages where I’d otherwise have three short paragraphs with huge, ugly spaces between them.
Nov
1
comment Wrong (hyper-)references after resetting chapter counter
@ffledgling Look at Ulrike’s answer: by default, hyperref derives internal link identifiers based on chapter numbers. However, when using different sections, there are two chapters with number 1. So by making hyperref dumber, we force it to adopt internal consecutive identifiers, rather than identifiers that map to actual chapter numbering.
Oct
25
comment Converting latex highlighted code listing to image
@Jubobs “It's usually possible, with marginal effort” — It really isn’t, which is why I originally started work on minted to begin with.