File: babel.tex

package info (click to toggle)
hevea 2.36-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,780 kB
  • sloc: ml: 19,453; sh: 503; makefile: 311; ansic: 132
file content (107 lines) | stat: -rw-r--r-- 2,088 bytes parent folder | download | duplicates (5)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
\documentclass{article}

\usepackage[english,french,austrian,german]{babel}
%\usepackage{babel}

\usepackage{makeidx}

\makeindex
\title{Babel}
\author{XYZ}

%\newcommand{\DQ}[1]{\dq#1~~"#1}

\begin{document}
The initial language is : 
\iflanguage{german}{german}{bonga}
\\
\today\\
\newcommand{\DQ}[1]{\dq#1~~\"#1}

\maketitle

\selectlanguage{french}
\'a\'e\'i\'b\'o\'u\\
\`a\`e\`i\`b\`o\`u\\
\^a\^e\^i\^b\^o\^u\\
\'A\'E\'I\'B\'O\'U\\
\`A\`E\`I\`B\`O\`U\\
\^A\^E\^I\^B\^O\^U\\
This checks current language (?) : %\current@language
\iflanguage{french}{french}{bonga}\\
\today\\
\tableofcontents

\selectlanguage{german}
This checks current language (?) : %\current@language
\iflanguage{german}{german}{bonga}\\
\today\\
\begin{abstract}
This is the abstract.
\end{abstract}

\section{Correspondences in German}
\index{Correspondances in German}
\DQ{s}\\
\DQ{S}\\
\DQ{a}\\
\DQ{A}\\
\DQ{e}\\
\iflanguage{german}{german}{bonga}~before entering ``table''
\begin{table}
\selectlanguage{french}
\caption{NOTABLE}
\iflanguage{french}{french}{bonga}~declared for the ``table''
\end{table}
The language now is (german? french?) : \iflanguage{german}{german}{bonga}
~when you get out outside the ``table''\\
\DQ{E}\\
\DQ{i}\\
\DQ{I}\\
\DQ{o}\\
\DQ{O}\\
\DQ{u}\\
\DQ{U}

\section{Quotes}
\index{Quotes}
\noindent
Trying out the quotation mark itself : \dq\\
\glqq Trying out quotes \grqq\\
\glq Trying out single quotes \grq\\
\flqq Trying out French quotes \frqq\\
\flq Trying out french single quotes \frq\\
%\"<\\
%\">\\
%\"`\\
%\"'

\selectlanguage{english}\\
\today\\
The language is : \iflanguage{english}{english}{bonga}

\section{Correspondences in French}
\index{Correspondences in French}
\selectlanguage{french}
The language is : \iflanguage{french}{french}{bonga}\\
\today\\
\newcommand{\LS}[1]{`#1~~\`#1}
\newcommand{\RS}[1]{'#1~~\'#1}
\newcommand{\HAT}[1]{$\wedge$#1~~\^#1}

\LS{a}\\
\RS{e}\\
\HAT{u}\\

\selectlanguage{austrian}\\
\today\\
The language is : \iflanguage{austrian}{austrian}{bonga}

\appendix

\section{Bonga}
ahh .. this works as well !!

\printindex

\end{document}