4,184 reputation
12158
bio website keypun.ch
location Bielefeld, Germany
age 32
visits member for 2 years
seen 14 hours ago

Just can’t get used to em dashes in English typography …


Jan
18
comment What measure in the text is it that is the font size?
@StrawberryFieldsForever Yeah, 20% difference ... I guess that barely fits the definition of "roughly". If you ever need the real width of an M or any other letter for that matter, you should use the \settowidth command I was talking about and not rely on ems or any other built-in font-based measure. AFAIK the em-width of a font is more or less arbitrarily set by the font designer and only used as a guideline for further character dimensions. Cf. fontforge.org/editexample.html
Jan
18
comment What measure in the text is it that is the font size?
@StrawberryFieldsForever My ems are always horizontal, that's why I wrote "width" ;) The value of your unit in cm is what I meant. You measured the M but you didn't say how large your em actually is so I don't know what you're comparing it to. Either do M\rule{1em}{1em} and use your ruler again or you measure things in terms of points using a length variable and \settowidth. Output is done with \the\mylength.
Jan
18
comment How to diagnose a permanent “Label(s) may have changed” warning?
cleveref shouldn't be an issue since it doesn't change the reference text depending on the relative position of the reference and the referenced object as varioref does (and which can therefore cause such problems).
Jan
18
comment What measure in the text is it that is the font size?
@StrawberryFieldsForever Did you measure how wide 1em was?
Jan
18
comment What measure in the text is it that is the font size?
@cfr Yes, postscript points, called desktop publishing points here, are called big points in TeX.
Jan
17
comment How to diagnose a permanent “Label(s) may have changed” warning?
Check if the varioref package is used. It's a common culprit for this kind of behaviour. The only fix would be to use a normal \ref at the point that's responsible or change the text slightly so the \vref isn't at a page boundary anymore. en.wikibooks.org/wiki/LaTeX/…
Jan
17
answered What measure in the text is it that is the font size?
Jan
15
comment Is the filename of an image preserved in the final PDF?
@ChrisH Sure they are great for these things. I'm just usually too lazy to get them right in more complicated cases like this one (with excluding a second { before } and stuff) because all the escaping and subtle differences from tool to tool are such a pain.
Jan
15
comment Is the filename of an image preserved in the final PDF?
@ChrisH Hey, watch your language, young man! ... oh sorry I misread. Thanks for the regexp in that case ;) Would probably have to randomize the escape level depending on shell, shell version and phase of the moon but other than that, this looks very airtight, great :) (Oh and sorry for the androcentrism in the beginning.)
Jan
15
awarded  Popular Question
Jan
15
comment Is the filename of an image preserved in the final PDF?
Ah, turning off compression as much as possible is a good idea to check for these things.
Jan
15
revised How to diagonally divide a table cell … properly?
how did that horrible grammar stay there for so long?
Jan
15
comment Is the filename of an image preserved in the final PDF?
+1 for bringing up a very good point. I'm far too lazy to actually do so, though. I mean copying the files is one thing but seding through my tex files, making absolutely sure I don't accidentally replace anything that's not actually an image filename ... I think I'd rather take the small risk of the filenames ending up in the document over trusting me not to mess up my scripting :)
Jan
14
awarded  Good Question
Jan
14
comment Is the filename of an image preserved in the final PDF?
Thanks for the clarifying edit, Heiko, and general kudos for this great answer that actually answered more than I had even asked for :)
Jan
14
accepted Is the filename of an image preserved in the final PDF?
Jan
14
comment Is the filename of an image preserved in the final PDF?
@ArTourter Yeah, good point.
Jan
14
revised Is the filename of an image preserved in the final PDF?
added thought about wider relevance
Jan
14
comment Is the filename of an image preserved in the final PDF?
@ArTourter Good point with the metadata. I'm not so subtle (and stupid) as to hide "funny" stuff in the metadata but it's certainly something worth keeping in mind in this context.
Jan
14
comment Is the filename of an image preserved in the final PDF?
Ok, so for the direct route .tex.pdf the answer is "yes" if and only if the source image file was a .pdf itself but "no" if it was say a .png or a .jpg. Did I get that right?