summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/csquotes/csquotes.def
blob: 9f997626da73f9ec6a18af375a76c5a76278c3b5 (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
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
% $Id: csquotes.def,v 4.2 2008/06/24 17:09:34 lehman stable $

\ProvidesFile{csquotes.def}[2008/06/24 v4.2 csquotes generic definitions]

% Set defaults

\SetBlockEnvironment{quote}
\SetBlockThreshold{3}
\SetCiteCommand{\cite}

% Predefined backend styles

\DeclareQuoteStyle[quotes]{danish}
  {\quotedblbase}
  {\textquotedblleft}
  [0.05em]
  {\textquoteright}% unsure
  {\textquoteright}% unsure
\DeclareQuoteStyle[guillemets]{danish}
  {\guillemotright}
  {\guillemotleft}
  {\textquoteright}% unsure
  {\textquoteright}% unsure
\DeclareQuoteStyle{dutch}
  {\quotedblbase}
  {\textquotedblright}
  [0.05em]
  {\quotesinglbase}% unsure
  {\textquoteright}% unsure
\DeclareQuoteStyle[american]{english}% verified
  {\textquotedblleft}
  {\textquotedblright}
  [0.05em]
  {\textquoteleft}
  {\textquoteright}
\DeclareQuoteStyle[british]{english}% verified
  {\textquoteleft}
  {\textquoteright}
  [0.05em]
  {\textquotedblleft}
  {\textquotedblright}
\DeclareQuoteStyle{finnish}
  {\textquotedblright}
  {\textquotedblright}
  [0.05em]
  {\textquoteright}
  {\textquoteright}
\DeclareQuoteStyle[quotes]{french}
  {\mkfrenchopenquote{\guillemotleft}}
  {\mkfrenchclosequote{\guillemotright}}
  {\textquotedblleft}
  {\textquotedblright}
\DeclareQuoteStyle[quotes*]{french}
  {\mkfrenchopenquote{\guillemotleft}}
  {\mkfrenchclosequote{\guillemotright}}
  {\mkfrenchopenquote{\textquotedblleft}}
  {\mkfrenchclosequote{\textquotedblright}}
\DeclareQuoteStyle[guillemets]{french}
  [\initfrenchquotes]
  {\mkfrenchopenquote{\guillemotleft}}
  [\mkfrenchopenquote{\guillemotleft}]
  {\mkfrenchclosequote{\guillemotright}}
  {\mkfrenchopenquote{\guillemotleft}}
  {\mkfrenchclosequote{\guillemotright}}
\DeclareQuoteStyle[guillemets*]{french}
  [\initfrenchquotes]
  {\mkfrenchopenquote{\guillemotleft}}
  [\mkfrenchopenquote{\guillemotright}]
  {\mkfrenchclosequote{\guillemotright}}
  {\mkfrenchopenquote{\guillemotleft}}
  {\mkfrenchclosequote{\guillemotright}}
\DeclareQuoteStyle[quotes]{german}% verified
  {\quotedblbase}
  {\textquotedblleft}
  [0.05em]
  {\quotesinglbase}
  {\fixligatures\textquoteleft}
\DeclareQuoteStyle[guillemets]{german}% verified
  {\guillemotright}
  {\guillemotleft}
  [0.025em]
  {\guilsinglright}
  {\guilsinglleft}
\DeclareQuoteStyle[swiss]{german}% verified
  {\guillemotleft}
  {\guillemotright}
  [0.025em]
  {\guilsinglleft}
  {\guilsinglright}
\DeclareQuoteStyle[quotes]{italian}
  {\textquotedblleft}
  {\textquotedblright}
  [0.05em]
  {\textquoteleft}
  {\textquoteright}
\DeclareQuoteStyle[guillemets]{italian}
  {\guillemotleft}
  [\textquotedblright]% unsure
  {\guillemotright}
  [0.025em]
  {\textquotedblleft}
  {\textquotedblright}
\DeclareQuoteStyle[guillemets]{norwegian}
  {\guillemotleft}
  {\guillemotright}
  [0.025em]
  {\guilsinglleft}
  {\guilsinglright}
\DeclareQuoteStyle[quotes]{norwegian}
  {\quotedblbase}
  {\textquotedblright}
  [0.05em]
  {\quotesinglbase}
  {\textquoteright}
\DeclareQuoteStyle[mexican]{spanish}
  {\textquotedblleft}
  {\textquotedblright}
  [0.05em]
  {\textquoteleft}
  {\textquoteright}
\DeclareQuoteStyle[spanish]{spanish}% verified
  {\guillemotleft}
  [\guillemotright]
  {\guillemotright}
  [0.025em]
  {\textquotedblleft}
  [\textquotedblright]
  {\textquotedblright}
\DeclareQuoteStyle[quotes]{swedish}% verified
  {\textquotedblright}
  {\textquotedblright}
  [0.05em]
  {\textquoteright}
  {\textquoteright}
\DeclareQuoteStyle[guillemets]{swedish}% verified
  {\guillemotright}
  {\guillemotright}
  [0.025em]
  {\guilsinglright}
  {\guilsinglright}
\DeclareQuoteStyle[guillemets*]{swedish}% verified
  {\guillemotright}
  {\guillemotleft}
  [0.025em]
  {\guilsinglright}
  {\guilsinglleft}

% Fallback style

\DeclareQuoteStyle{fallback}
  {\dummyquotemark}
  {\dummyquotemark}
  {\dummyquotemark}
  {\dummyquotemark}

% Plain style for PDF strings

\DeclarePlainStyle{"}{"}{'}{'}

% Default style

\DeclareQuoteAlias[american]{english}{default}

% Predefined aliases

\DeclareQuoteAlias[american]{english}{american}
\DeclareQuoteAlias[american]{english}{canadian}
\DeclareQuoteAlias[american]{english}{english}
\DeclareQuoteAlias[british]{english}{british}
\DeclareQuoteAlias[british]{english}{australian}% unsure
\DeclareQuoteAlias[british]{english}{newzealand}% unsure
\DeclareQuoteAlias[guillemets]{norwegian}{norwegian}
\DeclareQuoteAlias[quotes]{danish}{danish}
\DeclareQuoteAlias[quotes]{french}{french}
\DeclareQuoteAlias[quotes]{german}{austrian}
\DeclareQuoteAlias[quotes]{german}{german}
\DeclareQuoteAlias[quotes]{italian}{italian}
\DeclareQuoteAlias[mexican]{spanish}{mexican}
\DeclareQuoteAlias[spanish]{spanish}{spanish}
\DeclareQuoteAlias[quotes]{swedish}{swedish}
\DeclareQuoteAlias[swiss]{german}{swiss}

% Babel aliases

\DeclareQuoteAlias{american}{USenglish}
\DeclareQuoteAlias{american}{usenglish}
\DeclareQuoteAlias{british}{UKenglish}
\DeclareQuoteAlias{british}{ukenglish}
\DeclareQuoteAlias{french}{frenchb}
\DeclareQuoteAlias{german}{ngerman}
\DeclareQuoteAlias{austrian}{naustrian}
\DeclareQuoteAlias{norwegian}{norsk}
\DeclareQuoteAlias{norwegian}{nynorsk}

% Language options

\DeclareQuoteOption{danish}
\DeclareQuoteOption{english}
\DeclareQuoteOption{french}
\DeclareQuoteOption{german}
\DeclareQuoteOption{italian}
\DeclareQuoteOption{norwegian}
\DeclareQuoteOption{spanish}
\DeclareQuoteOption{swedish}

\endinput

% Auxiliary commands for some styles

% The \fixligatures command used in the above styles is provided
% by csquotes.sty. It is used as follows:
%
%	\fixligatures\textquoteleft
%
% and will prevent the undesirable ligatures ?` and !` with
% T1 encoding.

% \initfrenchquotes is also provided by csquotes.sty. This command
% is intended for use in the 'outer initialization' argument of
% \DeclareQuoteStyle. It will enable a feature which replaces two
% adjoining marks at the end of a quotation by a single one. This is
% required by some styles which use the same quotation marks on both
% the outer and the inner level. If enabled, you get:
%
%	 <<outer quote <<inner quote>>
%
% instead of
%
%	 <<outer quote <<inner quote>> >>
%
% That is, if two nested quotations end simultaneously, the second
% closing mark is omitted.

% The commands \mkfrenchopenquote and \mkfrenchclosequote are
% intended for spaced-out quotation marks as used in French. They
% are employed as follows:
%
%	\mkfrenchopenquote{\guillemotleft}
%	\mkfrenchclosequote{\guillemotright}
%
% and will use a command called \@frenchquotespace to space out the
% quotation marks. The spacing is:
%
%	\hskip 0.8\fontdimen2\font
%	 plus  0.3\fontdimen3\font
%	 minus 0.3\fontdimen4\font
%
% This is similar to what the \og and \fg commands of babel's
% french.ldf use. It yields a stretchable space whose natural size
% is the interword space of the current font multiplied by 0.8. The
% stretch component is the interword stretch of the current font
% multiplied by 0.3, and the shrink component is the interword
% shrink of the current font multiplied by 0.3.
%
% If you prefer a full interword space, redefine \@frenchquotespace
% as follows:
%
%	\renewcommand*{\@frenchquotespace}{%
%	  \hskip\fontdimen2\font\relax}
%
% or:
%
%	\renewcommand*{\@frenchquotespace}{\space}
%
% In either case, the difference to the default values is so subtle,
% you will hardly notice it in most cases.