summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/csquotes/csquotes.def
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-03-03 01:11:03 +0000
committerKarl Berry <karl@freefriends.org>2008-03-03 01:11:03 +0000
commit96fe190fce65fb756cc744a603c490529dd95a04 (patch)
tree13250926a7f5b654894ca377e14b91e50933383f /Master/texmf-dist/tex/latex/csquotes/csquotes.def
parent26b5af90d7132dc6c5d514d589adfca8502d62c0 (diff)
csquotes 4.0 (2mar08)
git-svn-id: svn://tug.org/texlive/trunk@6810 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/csquotes/csquotes.def')
-rw-r--r--Master/texmf-dist/tex/latex/csquotes/csquotes.def266
1 files changed, 266 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/csquotes/csquotes.def b/Master/texmf-dist/tex/latex/csquotes/csquotes.def
new file mode 100644
index 00000000000..1e98f4cecf9
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/csquotes/csquotes.def
@@ -0,0 +1,266 @@
+% $Id: csquotes.def,v 4.0 2008/03/02 15:07:53 lehman stable $
+
+\ProvidesFile{csquotes.def}[2008/03/02 v4.0 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.