summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/csquotes/csquotes.cfg
blob: 179af4b8a969a3dbc85e1b395dec4757e9c0a515 (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
% $Id: csquotes.cfg,v 3.1 2005/08/29 18:07:39 lehman pub $

\ProvidesFile{csquotes.cfg}[2005/08/29 v3.1 csquotes configuration]

% Put your definitions here.

\endinput

% What follows are examples of what you will typically do in this
% file. Note that you need to move the examples above \endinput if
% you want to try them out.

% PRESETTING PACKAGE OPTIONS
%
% Use \ExecuteOptions to preset package options if you are not
% satisfied with the built-in defaults. Options given here will be
% processed before any options specified in the document preamble.
% You may override them anytime with \usepackage in the preamble.

\ExecuteOptions{babel=true,strict=true}

% CHANGING THE DEFAULT PARAMETERS
%
% All preset values may be changed in the document preamble as
% usual. The following values are the built-in defaults:

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

% SETTING UP A NEW QUOTE STYLE

% Defining a new style with several variants:

\DeclareQuoteStyle[quotes]{example}%     [variant]{style}
  {\textquotedblleft}%                   opening outer mark
  {\textquotedblright}%                  closing outer mark
  {\textquoteleft}%                      opening inner mark
  {\textquoteright}%                     closing inner mark
\DeclareQuoteStyle[quotes*]{example}
  {\quotedblbase}
  {\textquotedblright}
  [0.1em]%                               kern adjoining marks
  {\quotesinglbase}
  {\textquoteright}
\DeclareQuoteStyle[everypar]{example}
  {\guillemotleft}
  [\guilsinglleft]%                      middle outer mark
  {\guillemotright}
  {\textquotedblleft}
  [\textquoteleft]%                      middle inner mark
  {\textquotedblright}
\DeclareQuoteStyle[everyline]{example}
  [\seteverylineleft{\guillemotleft}]%   requires Omega
  {\guillemotleft}
  {\guillemotright}
  {\guilsinglleft}
  {\guilsinglright}
\DeclareQuoteStyle[everyline*]{example}
  [\seteverylineright{\guillemotright}]% requires Omega
  {\guillemotleft}
  {\guillemotright}
  {\guilsinglleft}
  {\guilsinglright}

% Defining the default variant of the style:

\DeclareQuoteAlias[quotes]{example}{example}

% Defining a second-level alias:

\DeclareQuoteAlias{example}{demo}

% Adding a package option for a style:

\DeclareQuoteOption{example}

% DEFINING ENVIRONMENTS FOR PARAGRAPH QUOTATIONS

% Here are some alternative environments for paragraph quotations
% (block and display), as discussed in the tutorial. The first one
% decreases the font size of the `quote' environment by one step:

\RequirePackage{relsize}

\newenvironment*{smallquote}
  {\quote\smaller}
  {\endquote}

\SetBlockEnvironment{smallquote}

% This environment forces indentation after all paragraph quotations:

\newenvironment*{paraquote}
  {\begingroup\quote}
  {\endquote\endgroup}

\SetBlockEnvironment{paraquote}

% The last environment combines the previous ones:

\RequirePackage{relsize}

\newenvironment*{smallparaquote}
  {\begingroup\quote\smaller}
  {\endquote\endgroup}

\SetBlockEnvironment{smallparaquote}