summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/csquotes/csquotes.def
blob: f5588da47d4bf4ff4fc67fb6558c8a3e69b8e8d5 (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
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
% $Id: csquotes.def,v 5.1 2010/11/19 15:15:40 lehman stable $

\ProvidesFile{csquotes.def}
[\csq@rcsid $Id: csquotes.def,v 5.1 2010/11/19 15:15:40 lehman stable $
 csquotes generic definitions]

% Set defaults

\ExecuteQuoteOptions{autostyle=tryonce,autopunct,maxlevel=2,threshold=3,thresholdtype=lines}
\SetBlockEnvironment{quote}
\SetCiteCommand{\cite}

% Predefined backend styles

\DeclareQuoteStyle[quotes]{croatian}% verified
  {\quotedblbase}
  {\textquotedblright}
  [0.05em]% unsure
  {\quotesinglbase}
  {\textquoteright}
\DeclareQuoteStyle[guillemets]{croatian}% verified
  {\guillemotright}
  {\guillemotleft}
  [0.025em]
  {\quotesinglbase}
  {\textquoteright}
\DeclareQuoteStyle[guillemets*]{croatian}% verified
  {\guillemotleft}
  {\guillemotright}
  [0.025em]
  {\quotesinglbase}
  {\textquoteright}
\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}% verified
  {\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}}
  [\mkfrenchopenquote{\guillemotleft}]
  {\mkfrenchclosequote{\guillemotright}}
\DeclareQuoteStyle[guillemets*]{french}
  [\initfrenchquotes]
  {\mkfrenchopenquote{\guillemotleft}}
  [\mkfrenchopenquote{\guillemotright}]
  {\mkfrenchclosequote{\guillemotright}}
  {\mkfrenchopenquote{\guillemotleft}}
  [\mkfrenchopenquote{\guillemotright}]
  {\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{greek}% verified
  {\guillemotleft}
  {\guillemotright}
  {\textquotedblleft} 
  {\textquotedblright}
\DeclareQuoteStyle[quotes]{italian}
  {\textquotedblleft}
  {\textquotedblright}
  [0.05em]
  {\textquoteleft}
  {\textquoteright}
\DeclareQuoteStyle[guillemets]{italian}
  {\guillemotleft}
  [\textquotedblright]% unsure
  {\guillemotright}
  [0.025em]
  {\textquotedblleft}
  [\textquotedblright]% unsure
  {\textquotedblright}
\DeclareQuoteStyle[guillemets]{norwegian}
  {\guillemotleft}
  {\guillemotright}
  [0.025em]
  {\guilsinglleft}
  {\guilsinglright}
\DeclareQuoteStyle[quotes]{norwegian}
  {\quotedblbase}
  {\textquotedblright}
  [0.05em]
  {\quotesinglbase}
  {\textquoteright}
\DeclareQuoteStyle[brazilian]{portuguese}% verified
  {\textquotedblleft}
  {\textquotedblright}
  [0.05em]
  {\textquoteleft}
  {\textquoteright}
\DeclareQuoteStyle[portuguese]{portuguese}% unsure
  {\guillemotleft}
  {\guillemotright}
  [0.05em]
  {\textquotedblleft}
  {\textquotedblright}
\DeclareQuoteStyle{russian}% verified
  {\guillemotleft}
  {\guillemotright}
  {\quotedblbase}
  {\textquotedblleft}
\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}

% Plain style for PDF strings

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

% Default style

\DeclareQuoteAlias[american]{english}{default}

% Predefined aliases

\DeclareQuoteAlias[quotes]{croatian}{croatian}
\DeclareQuoteAlias[quotes]{danish}{danish}
\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[quotes]{french}{french}
\DeclareQuoteAlias[quotes]{german}{austrian}
\DeclareQuoteAlias[quotes]{german}{german}
\DeclareQuoteAlias[swiss]{german}{swiss}
\DeclareQuoteAlias[quotes]{italian}{italian}
\DeclareQuoteAlias[guillemets]{norwegian}{norwegian}
\DeclareQuoteAlias[brazilian]{portuguese}{brazilian}
\DeclareQuoteAlias[portuguese]{portuguese}{portuguese}
\DeclareQuoteAlias[mexican]{spanish}{mexican}
\DeclareQuoteAlias[spanish]{spanish}{spanish}
\DeclareQuoteAlias[quotes]{swedish}{swedish}

% Babel aliases

\DeclareQuoteAlias{american}{USenglish}
\DeclareQuoteAlias{american}{usenglish}
\DeclareQuoteAlias{brazilian}{brazil}
\DeclareQuoteAlias{british}{UKenglish}
\DeclareQuoteAlias{british}{ukenglish}
\DeclareQuoteAlias{german}{ngerman}
\DeclareQuoteAlias{austrian}{naustrian}
\DeclareQuoteAlias{norwegian}{norsk}
\DeclareQuoteAlias{norwegian}{nynorsk}
\DeclareQuoteAlias{portuguese}{portuges}

% Language options

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

% Register quotation marks (per output encoding)

\DeclareQuoteGlyph{OT1}{34}%  = \textquotedblright
\DeclareQuoteGlyph{OT1}{39}%  = \textquoteright
\DeclareQuoteGlyph{OT1}{92}%  = \textquotedblleft
\DeclareQuoteGlyph{OT1}{96}%  = \textquoteleft

\DeclareQuoteGlyph{OT2}{34}%  = \textquotedbl
\DeclareQuoteGlyph{OT2}{39}%  = \textquoteright
\DeclareQuoteGlyph{OT2}{60}%  = \guillemotleft
\DeclareQuoteGlyph{OT2}{62}%  = \guillemotright
\DeclareQuoteGlyph{OT2}{96}%  = \textquoteleft
%\DeclareQuoteGlyph{OT2}{91}% = [[ ligature = \guillemotleft
%\DeclareQuoteGlyph{OT2}{93}% = ]] ligature = \guillemotright

\DeclareQuoteGlyph{OT4}{34}%  = \textquotedblright
\DeclareQuoteGlyph{OT4}{39}%  = \textquoteright
\DeclareQuoteGlyph{OT4}{92}%  = \textquotedblleft
\DeclareQuoteGlyph{OT4}{96}%  = \textquoteleft
\DeclareQuoteGlyph{OT4}{174}% = \guillemotleft
\DeclareQuoteGlyph{OT4}{175}% = \guillemotright
\DeclareQuoteGlyph{OT4}{255}% = \quotedblbase

\DeclareQuoteGlyph{T1}{13}%   = \quotesinglbase
\DeclareQuoteGlyph{T1}{14}%   = \guilsinglleft
\DeclareQuoteGlyph{T1}{15}%   = \guilsinglright
\DeclareQuoteGlyph{T1}{16}%   = \textquotedblleft
\DeclareQuoteGlyph{T1}{17}%   = \textquotedblright
\DeclareQuoteGlyph{T1}{18}%   = \quotedblbase
\DeclareQuoteGlyph{T1}{19}%   = \guillemotleft
\DeclareQuoteGlyph{T1}{20}%   = \guillemotright
\DeclareQuoteGlyph{T1}{34}%   = \textquotedbl
\DeclareQuoteGlyph{T1}{39}%   = \textquoteright
\DeclareQuoteGlyph{T1}{96}%   = \textquoteleft
%\DeclareQuoteGlyph{T1}{60}%  = << ligature = \guillemotleft
%\DeclareQuoteGlyph{T1}{62}%  = >> ligature = \guillemotright

\DeclareQuoteGlyph{LY1}{34}%  = \textquotedbl
\DeclareQuoteGlyph{LY1}{39}%  = \textquoteright
\DeclareQuoteGlyph{LY1}{96}%  = \textquoteleft
\DeclareQuoteGlyph{LY1}{129}% = \textquotesingle
\DeclareQuoteGlyph{LY1}{130}% = \quotesinglbase
\DeclareQuoteGlyph{LY1}{132}% = \quotedblbase
\DeclareQuoteGlyph{LY1}{139}% = \guilsinglleft
\DeclareQuoteGlyph{LY1}{147}% = \textquotedblleft
\DeclareQuoteGlyph{LY1}{148}% = \textquotedblright
\DeclareQuoteGlyph{LY1}{155}% = \guilsinglright
\DeclareQuoteGlyph{LY1}{171}% = \guillemotleft
\DeclareQuoteGlyph{LY1}{187}% = \guillemotright

\DeclareQuoteGlyph{LGR}{28}%  = \textquoteleft
\DeclareQuoteGlyph{LGR}{29}%  = \textquoteright
\DeclareQuoteGlyph{LGR}{123}% = \guillemotleft
\DeclareQuoteGlyph{LGR}{125}% = \guillemotright

\DeclareQuoteGlyph{T2A}{16}%  = \textquotedblleft
\DeclareQuoteGlyph{T2A}{17}%  = \textquotedblright
\DeclareQuoteGlyph{T2A}{34}%  = \textquotedbl
\DeclareQuoteGlyph{T2A}{39}%  = \textquoteright
\DeclareQuoteGlyph{T2A}{96}%  = \textquoteleft
\DeclareQuoteGlyph{T2A}{189}% = \quotedblbase
\DeclareQuoteGlyph{T2A}{190}% = \guillemotleft
\DeclareQuoteGlyph{T2A}{191}% = \guillemotright
%\DeclareQuoteGlyph{T2A}{60}% = << ligature = \guillemotleft
%\DeclareQuoteGlyph{T2A}{62}% = >> ligature = \guillemotright

\DeclareQuoteGlyph{T2B}{16}%  = \textquotedblleft
\DeclareQuoteGlyph{T2B}{17}%  = \textquotedblright
\DeclareQuoteGlyph{T2B}{34}%  = \textquotedbl
\DeclareQuoteGlyph{T2B}{39}%  = \textquoteright
\DeclareQuoteGlyph{T2B}{96}%  = \textquoteleft
\DeclareQuoteGlyph{T2B}{189}% = \quotedblbase
\DeclareQuoteGlyph{T2B}{190}% = \guillemotleft
\DeclareQuoteGlyph{T2B}{191}% = \guillemotright
%\DeclareQuoteGlyph{T2B}{60}% = << ligature = \guillemotleft
%\DeclareQuoteGlyph{T2B}{62}% = >> ligature = \guillemotright

\DeclareQuoteGlyph{T2C}{16}%  = \textquotedblleft
\DeclareQuoteGlyph{T2C}{17}%  = \textquotedblright
\DeclareQuoteGlyph{T2C}{34}%  = \textquotedbl
\DeclareQuoteGlyph{T2C}{39}%  = \textquoteright
\DeclareQuoteGlyph{T2C}{96}%  = \textquoteleft
\DeclareQuoteGlyph{T2C}{189}% = \quotedblbase
\DeclareQuoteGlyph{T2C}{190}% = \guillemotleft
\DeclareQuoteGlyph{T2C}{191}% = \guillemotright
%\DeclareQuoteGlyph{T2C}{60}% = << ligature = \guillemotleft
%\DeclareQuoteGlyph{T2C}{62}% = >> ligature = \guillemotright

\DeclareQuoteGlyph{X2}{16}%   = \textquotedblleft
\DeclareQuoteGlyph{X2}{17}%   = \textquotedblright
\DeclareQuoteGlyph{X2}{34}%   = \textquotedbl
\DeclareQuoteGlyph{X2}{39}%   = \textquoteright
\DeclareQuoteGlyph{X2}{96}%   = \textquoteleft
\DeclareQuoteGlyph{X2}{189}%  = \quotedblbase
\DeclareQuoteGlyph{X2}{190}%  = \guillemotleft
\DeclareQuoteGlyph{X2}{191}%  = \guillemotright
%\DeclareQuoteGlyph{X2}{60}%  = << ligature = \guillemotleft
%\DeclareQuoteGlyph{X2}{62}%  = >> ligature = \guillemotright

\DeclareQuoteGlyph{LCY}{13}%  = \textquotesingle
\DeclareQuoteGlyph{LCY}{34}%  = \textquotedbl
\DeclareQuoteGlyph{LCY}{39}%  = \textquoteright
\DeclareQuoteGlyph{LCY}{96}%  = \textquoteleft
\DeclareQuoteGlyph{LCY}{253}% = \guillemotleft
\DeclareQuoteGlyph{LCY}{254}% = \guillemotright
\DeclareQuoteGlyph{LCY}{255}% = \quotedblbase
%\DeclareQuoteGlyph{LCY}{60}% = << ligature = \guillemotleft
%\DeclareQuoteGlyph{LCY}{62}% = >> ligature = \guillemotright

% Unicode (for XeTeX)
\DeclareQuoteGlyph{EU1}{"0022}% = neutral quot. mark, double              = \textquotedbl
\DeclareQuoteGlyph{EU1}{"0027}% = neutral quot. mark, single              = \textquotesingle
\DeclareQuoteGlyph{EU1}{"00AB}% = angle quot. mark, left-pointing double  = \guillemotleft
\DeclareQuoteGlyph{EU1}{"00BB}% = angle quot. mark, right-pointing double = \guillemotright
\DeclareQuoteGlyph{EU1}{"2018}% = comma quot. mark, single turned         = \textquoteleft
\DeclareQuoteGlyph{EU1}{"2019}% = comma quot. mark, single                = \textquoteright
\DeclareQuoteGlyph{EU1}{"201A}% = comma quot. mark, low single            = \quotesinglbase
\DeclareQuoteGlyph{EU1}{"201B}% = comma quot. mark, single reversed       = n.a.
\DeclareQuoteGlyph{EU1}{"201C}% = comma quot. mark, double turned         = \textquotedblleft
\DeclareQuoteGlyph{EU1}{"201D}% = comma quot. mark, double                = \textquotedblright
\DeclareQuoteGlyph{EU1}{"201E}% = comma quot. mark, low double            = \quotedblbase
\DeclareQuoteGlyph{EU1}{"201F}% = comma quot. mark, double reversed       = n.a.
\DeclareQuoteGlyph{EU1}{"2039}% = angle quot. mark, left-pointing single  = \guilsinglleft
\DeclareQuoteGlyph{EU1}{"203A}% = angle quot. mark, right-pointing single = \guilsinglright

% Unicode (for LuaTeX)
\DeclareQuoteGlyph{EU2}{"0022}% = neutral quot. mark, double              = \textquotedbl
\DeclareQuoteGlyph{EU2}{"0027}% = neutral quot. mark, single              = \textquotesingle
\DeclareQuoteGlyph{EU2}{"00AB}% = angle quot. mark, left-pointing double  = \guillemotleft
\DeclareQuoteGlyph{EU2}{"00BB}% = angle quot. mark, right-pointing double = \guillemotright
\DeclareQuoteGlyph{EU2}{"2018}% = comma quot. mark, single turned         = \textquoteleft
\DeclareQuoteGlyph{EU2}{"2019}% = comma quot. mark, single                = \textquoteright
\DeclareQuoteGlyph{EU2}{"201A}% = comma quot. mark, low single            = \quotesinglbase
\DeclareQuoteGlyph{EU2}{"201B}% = comma quot. mark, single reversed       = n.a.
\DeclareQuoteGlyph{EU2}{"201C}% = comma quot. mark, double turned         = \textquotedblleft
\DeclareQuoteGlyph{EU2}{"201D}% = comma quot. mark, double                = \textquotedblright
\DeclareQuoteGlyph{EU2}{"201E}% = comma quot. mark, low double            = \quotedblbase
\DeclareQuoteGlyph{EU2}{"201F}% = comma quot. mark, double reversed       = n.a.
\DeclareQuoteGlyph{EU2}{"2039}% = angle quot. mark, left-pointing single  = \guilsinglleft
\DeclareQuoteGlyph{EU2}{"203A}% = angle quot. mark, right-pointing single = \guilsinglright

\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 suppress the ligatures
%
%       ?` -> \textquestiondown
% and
%       !` -> \textexclamdown
%
% in 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.