[texhax] Hyphenation questions

Karl Berry karl at freefriends.org
Sun Feb 5 01:03:27 CET 2012


    And if the word you want to test isn't english?  

I know you've already been answered, but FWIW ... I have sometimes
wanted to test hyphenation in LaTeX specifically (e.g., to see if all
the babel linkage was working properly).  Here's what I came up with:

\documentclass{article}
\usepackage[german,english]{babel}
\begin{document}
\hbadness=10000
\def\word{Auszeichnungen}
\selectlanguage{german}\showhyphens{\word}
\selectlanguage{english}\showhyphens{\word}
\end{document}

(Showing it also in English is just for curiousity, and to make sure
that hyphenations which should be different really are. :)

Oh, and I've also sometimes been curious about the hyphenmin settings:
\selectlanguage{german}\showthe\lefthyphenmin\showthe\righthyphenmin

Best,
Karl


More information about the texhax mailing list