%% %% Der LaTeX-Begleiter, zweite Auflage (September 2005) %% %% Beispiel A-3-11 von Seite 910. %% %% Copyright (C) 2005 Frank Mittelbach, Michel Goossens, %% Johannes Braams, David Carlisle, and Chris Rowley %% %% Uebersetzung: Copyright (C) 2005 Claudia Krysztofiak, %% Rebecca Stiels und Frank Mittelbach %% %% It may be distributed and/or modified under the conditions %% of the LaTeX Project Public License, either version 1.3 %% of this license or (at your option) any later version. %% %% See http://www.latex-project.org/lppl.txt for details. %% \documentclass{lb2exa} \pagestyle{empty} \setcounter{page}{6} \setlength\textwidth{137.4372pt} \StartShownPreambleCommands \usepackage{ifthen} \usepackage[ngerman]{babel} \mdqon \newcommand{\QU}[2]{% \ifthenelse{\(\equal{#1}{GER}\and \equal{#2}{ja}\)\or \(\equal{#1}{FRE}\and \equal{#2}{oui}\)}% {"`OK"'}{"`nicht OK"'}} \mdqoff \StopShownPreambleCommands \begin{document} Einverstanden \QU{GER}{ja} oder nicht \QU{GER}{nein}. D'accord \QU{FRE}{oui} ou pas \QU{FRE}{non}? \end{document}