Hot answers tagged

4

It hyphenates as you have it in luatex, but xetex, like classic tex, doesn't hyphenate the first word of a paragraph, so you need a 0pt width space. Also because of some polyglossia timing? I needed to do the hyphenation exception after begin document. \documentclass[12pt]{memoir} \usepackage{polyglossia} \setdefaultlanguage{danish} % set language for ...


3

There was discussion of this problem on the Ling-TeX mailing list in 2014. John Frampton (the author of ExPex) posted a way to do this, but I don't think it has been incorporated into ExPex as a permanent solution. Here's a (subscribers only) link to Frampton's message. The other footnote code that you had in your example document that is described in ...


3

With setmainfont you're essential building case-sensitive font paths. Path=working directory for fonts BoldFont=filename segment of path ItalicFont=filename segment of path Extension=file extension of path You're code does not work because you are telling fontspec to look in all paths like this (example shows paths for bold font): /usr/local/texlive/...


2

What about a solution like this? (Ispired by David Carlisle's answer to this question: Combine column types defined in dcolumn with tabularx). Even if a column header is needed... \documentclass[a4paper,12pt]{article} \usepackage{array} \usepackage{siunitx} \usepackage{tabularx} \usepackage{booktabs} \begin{document} \newcolumntype W{S[round-mode=places,...


2

Tell fontspec to select the bold variant by appending /B. Just for reference, there is also /I for italic and /BI for bold-italic. \documentclass{article} \usepackage{fontspec} \setmainfont[BoldFont={Latin Modern Roman/B}]{CMU Concrete} \begin{document} Hello \textbf{World!} \end{document}


1

The usual classes take a draft option whereby any overlong line (or other typeset material) is marked by a black box in the margin. \documentclass[...,draft,...]% % {memoir} % or % {book} % or {report} % or % {article} % or others The classes can also take a final option which does not mark overfull lines (this is a default option so there is no need ...



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