4,189 reputation
12159
bio website keypun.ch
location Bielefeld, Germany
age 32
visits member for 2 years
seen 43 mins ago

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


22h
comment Description list - How to put the definition on a new line?
I have to say, the enumitem documentation does a poor job of explaining this behaviour: "nextline: if the label does not fit in the margin, the text continues in the next line" I read this and disregarded it because I wanted a line break regardless of the label width. Well, good thing I found your answer, thanks!
1d
comment Why does \usepackage[british]{babel} change the hyphenation to wrong?
@egreg Thanks for checking! Of course this makes it even stranger that Alex experienced differences in hyphenation then :/
1d
comment Is there a way to query the page size that I have set in the memoir class?
The most significant difference between the two approaches is that in the one case you're directly checking if a specific option was used while in the other you use an indirect test. Also, I was assuming that you in essence do want to implement your own document class in which case my solution would have been conceptually nicer. It is slightly more complicated though.
Apr
13
comment Why does \usepackage[british]{babel} change the hyphenation to wrong?
One really has to wonder why they keep reinventing the wheel in Oxford. That would be the third independent English dictionary from the same publisher. Very enlightening answer though!
Apr
12
comment Why does \usepackage[british]{babel} change the hyphenation to wrong?
@egreg I honestly don't know why this communication seems to fail so horribly. I did add "alternate" to my hyphenation exceptions but I would expect babel to hyphenate normal English words correctly. Whether it uses a rule or an exception, I as a user don't really care. If they already used the OED or its one-volumed sibling, I don't really understand how there can be dictionary words that aren't covered. And if they deliberately did that to save space or something, I'd expect a list of known exceptions that aren't covered so I could just put them in a package and never have to care again.
Apr
12
comment Why does \usepackage[british]{babel} change the hyphenation to wrong?
@egreg But didn't you say there was an exception list? Would make sense to me to devise rules that cover 99% of cases and put the 1% that slip through in a list.
Apr
12
comment Why does \usepackage[british]{babel} change the hyphenation to wrong?
@egreg This still begs the question how this incorrect hyphenation got into babel in the first place, given that they used a list from Oxford University Press which probably means that it should have the exact same entry as the one I linked to above (Oxford University Press actually releases two separate English dictionaries. The better known OED is so advanced, however, that I'm too stupid to make it tell me the hyphenation of "alternate", even though I can get beyond the paywall. So there is the possibility that the OED entry differs from the one I linked to.).
Apr
12
comment Why does \usepackage[british]{babel} change the hyphenation to wrong?
@egreg I don't expect correct hyphenations for names and other weird stuff but common dictionary words should be hyphenated correctly, no matter how many rules and exceptions it takes. Especially in English IMHO because there the hyphenation rules are especially unfit for human usage. I don't know how many times I stumbled on a weird hyphenation, looked it up, only to find that it is indeed correct. This time I was actually surprised that it wasn't.
Apr
12
comment Why does \usepackage[british]{babel} change the hyphenation to wrong?
I'm really tempted to write a script that automatically checks hyphenations of an English word list with a dictionary but neither do I have the time nor am I sure if it's legal to query dictionary websites in this way.
Apr
12
comment Why does \usepackage[british]{babel} change the hyphenation to wrong?
@egreg I'm not sure I understand which file is responsible for what and why there's a difference now if the files aren't different ... but do I understand it correctly that the reorganization in 2010 introduced a bug that should be reported?
Apr
12
comment Why does \usepackage[british]{babel} change the hyphenation to wrong?
@HarishKumar AFAIK, which variant of English you get when you use \usepackage[english]{babel} isn't well defined. It's American on most systems but it doesn't have to be. So don't use it. Ever.
Apr
12
comment How can I typeset the reduced Planck constant (ℏ)?
I'm "tagging" the question so that it can be found by someone daring Unicode in a web search: the reduced Planck constant aka the Dirac constant is written ħ, pronounced as "h bar".
Apr
12
comment Why does \usepackage[british]{babel} change the hyphenation to wrong?
@Alex How odd! A hyphenation regression apparently. I'm using TeX Live 2013 and I do indeed get al-tern-ate with \showhyphens.
Apr
10
comment How to write “Java” in LaTeX
Of course when it's used as a logo, there's nothing wrong with actually including it as a vector image.
Apr
10
comment Automatically Detect Foreign Language for Hyphenation?
\foreignlanguage is usually used for up to a couple of words, maybe a sentence. For whole passages I'd use \selectlanguage. Cause you talking about language detection, this usually only makes sense for longer stretches of text in a particular language, not for the odd foreign word (I mean after all, is "die" English or German?). And no, I don't think such a package exists, nor would it vibe well with LaTeX since it's too unclear what it will actually do. Update the dictionary and suddenly the whole text is recognized as a different language? That's not something I'd be comfortable with.
Apr
8
comment How to add a forced line break inside a table cell
The \pbox solution is great. Alignment might be a bit tricky. If you run into trouble using this solution, see here tex.stackexchange.com/a/55861/13450
Apr
6
comment How to set the pagestyle on the page a particular float ends up on?
I totally missed that the package can already do that, too. Thanks for pointing it out!
Apr
2
comment How to add font commands to a pgfplotstable header cell?
Works great, even with the added code to color in the table cells! But yeah, it would be nice if there was an easier way to do this. I can imagine that setting a certain font style specifically for the header is quite a common use case in one way or another.
Apr
1
comment Plot the cusp catastrophe surface
I honestly didn't know that mathematicians were one of the few groups of people where a major catastrophe is just another day at the office ;)
Mar
30
comment What are all the font styles I can use in math mode?
@doncherry Thanks! It's still just the tables others already made but in this case I at least had to stitch them together ;)