I am writing in Portuguese with some English words thrown in. The issue is that when a line with English text breaks, the English text gets preceded by extra spacing:

\documentclass {scrbook}

\usepackage {polyglossia}

\setmainlanguage {portuguese}
\setotherlanguage {english}

\begin {document}
no \textenglish {Hillsdale college}, na primavera de 2006, e sou grato
ao professor \textenglish {Donald Westblade} pela oportunidade de
palestrar em minha

\end {document}

Results in something like ‘no__Hillsdale college’, where __ denotes extra spacing.

  • 1
    The spacing looks right to me: i.stack.imgur.com/ihi58.png What version of polyglossia are you using? – Phelype Oleinik Feb 9 at 3:54
  • 3
    I get no extra spacing with version v1.47 of polyglossia (which was released not that long ago). There was an issue with version 1.46 (github.com/reutenauer/polyglossia/issues/356 and linked issues) that could cause unwanted white space with some language switching commands. Consider updating your system to get polyglossia v1.47. – moewe Feb 9 at 6:59

So the issue is a Polyglossia 1.46 bug. Installing a user local 1.47 with tlmgr solved the issue, even if it caused another one.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.