summaryrefslogtreecommitdiff
path: root/info/examples/lb2/A-3-11.ltx
blob: 7d713318d32a1cd325f8f0747aa8855c79938648 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
%%
%% 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}