New answers tagged

2

I'm not sure what the \parbox is for. You can exploit tabularx instead. \documentclass{article} \usepackage{tabularx} \pagestyle{empty} \newenvironment{entrylist}{% \noindent \tabularx{\textwidth}[t]{@{}l@{\quad}X@{}} }{% \endtabularx } \newcommand{\entry}[4]{% #1&#2\hfill \mbox{\footnotesize #3}% \if\relax\detokenize{#4}\relax\else\\#4\fi ...


4

In a comment I suggested adding a \strut at the beginning of the \parbox, so that the "top" of the parbox would occupy the full vertical extent of a text-line. Normally, I might also advocate a \strut at the end of the \parbox (for cases where line wrapping occurs). However, in this case, because the parbox has, near the end, {...\par}#4\vspace{\...


2

Another workaround would be to use a font which has real superscripts, like Libertinus, EBGaramond, Erewhon, etc., together with the realscript package. Then your example would work out of the box. \documentclass{scrbook} \usepackage[USenglish]{babel} \usepackage{realscripts} % loads fontspec \setmainfont{erewhon} \begin{document} \parbox{0.1cm}{% ...


8

\textsuperscript is implemented using TeX's math mode, so however\textsuperscript{1} behaves similar to however$abc$. Since the inline math formula is not separated from the word and hyphenation of "words" partially consisting of mathematical expressions is not really well-defined, TeX does not try to hyphenate such constructs. You can tell LuaTeX ...


Top 50 recent answers are included