1 % Test file for LaTeX2e/Babel bug report 1841
2 % The language switching commands should *not* produce any
3 % spurious white space.
6 \documentclass[francais,english,a4paper,12pt]{book}
8 \AUTHOR{Johannes Braams}
9 \FORMAT{LaTeX2e<1995/06/01>}
10 \CLASS[a4paper,12pt]{article}
11 \PACKAGE[francais,english]{babel}
14 \setlength{\textwidth}{160mm}
15 \def\rev{\selectlanguage{francais}\selectlanguage{english}}
20 \setbox0=\hbox{test\rev test}