summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/csquotes/csquotes.cfg
blob: 3b03468422ba004e520c22dd7f9fe45393aa3a91 (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
% $Id: csquotes.cfg,v 3.7 2007/03/25 20:23:41 lehman stable $

\ProvidesFile{csquotes.cfg}[2007/03/25 v3.7 Quotation 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 \ExecuteQuoteOptions 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.

\ExecuteQuoteOptions{strict=true,babel=tryonce}

% 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}