# Extra space by polyglossia

The LuaLaTeX code...

\documentclass{article}
\usepackage{polyglossia}
\setmainlanguage{english}
\setotherlanguage{german}

\begin{document}
English/\textgerman{German}
\end{document}


...results in an extra space after the slash. How can I avoid it?

## 2 Answers

Your system is not really up-to-date. There is probably a spurious space in one of the gloss-files, but in newer system it is gone.

Because I currently use the version of TexLive found in cygwin, which is apparently not current enough, and don't have the tlmgr command available, I hunted down the spurious space.

It's in /usr/share/texmf-dist/tex/latex/polyglossia/gloss-german.ldf, in six different invocations of \xpg@set@language@luatex@ii, for example:

(line 225)        \xpg@set@language@luatex@ii{ngerman}


End these lines with % signs and the problem disappears.