Tag Info

Hot answers tagged


replace the hyphen with a macro: \makeatletter \newcommand{\hyph}{-\penalty\z@\hskip\z@skip } \makeatother 9\hyph dimensional this "separates" the 9- from the following word, allowing the normal hyphenation procedure to be activated. edit: if using amsmath, there's another approach: forcibly suppress the break after the explicit hyphen, but enable ...


It's a bug in gloss-latin.ldf that doesn't advertise the pattern file name for LuaLaTeX. Workaround: do it yourself. \documentclass{article} \usepackage{polyglossia} \setdefaultlanguage{english} \setotherlanguage[variant=classic]{latin} \setotherlanguage{italian} \makeatletter \def\latin@language{% \language=\l@classiclatin ...


I have fixed the bug in Polyglossia with this commit and will make an upload to CTAN shortly. Many thanks to Enrico for investigating and suggesting a workaround.


I dislike the idea of having the dashes in the margin, but you could do so by increasing the protrusion factor of microtype. This will also push other stuff like periods and the little hook of the "t" into the margin, but this would just be consistent. Have a look, if this is what you want: % arara: pdflatex \documentclass{article} ...


In ConTeXt it's relatively easy with protrusion=pure: \definefontfeature[default][default][protrusion=pure] \setupalign[hanging] \starttext \input tufte \stoptext


Yet another way to create a dash is to use a strike-out through a space. It creates a slightly longer one than given in the answer by Sam Buss, which is what I needed. One could define the macro by \usepackage[normalem]{ulem} \newcommand{\mydash}{\hbox{\sout{ }}}


This works: 9-\-di\-men\-sional

Only top voted, non community-wiki answers of a minimum length are eligible