The \foreignlanguage babel command introduces weird horizontal space at the beginning of the foreign text when used inside a document using the LLNCS (https://ctan.tetaneutral.net/macros/latex/contrib/llncs/llncsdoc.pdf) class. The problem doesn't appear with the default article class.
Minimal reproducible example:
\documentclass{llncs} \usepackage[main=french,english]{babel} \begin{document} Ceci est \foreignlanguage{english}{a test}. \end{document} How it renders with the regular article class:
\documentclass{article} \usepackage[main=french,english]{babel} \begin{document} Ceci est \foreignlanguage{english}{a test}. \end{document} Is there something I can do to remove that space other than negative vspaces?


\switcht@albioncommand to the language switch which contains lots of spurious spaces.%to ends of lines in llncs.cls