summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/univie-ling/tex/univie-ling-paper.cls
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-10-22 03:01:21 +0000
committerNorbert Preining <norbert@preining.info>2022-10-22 03:01:21 +0000
commit3183c46c6fe93c96cf342a65ba2ac2b74a14dcbd (patch)
tree256d81eebebf8e4aee8d2885c462164404e854ff /macros/latex/contrib/univie-ling/tex/univie-ling-paper.cls
parentb3bdf86b91849c38a256c86082770bf854db7610 (diff)
CTAN sync 202210220301
Diffstat (limited to 'macros/latex/contrib/univie-ling/tex/univie-ling-paper.cls')
-rw-r--r--macros/latex/contrib/univie-ling/tex/univie-ling-paper.cls226
1 files changed, 114 insertions, 112 deletions
diff --git a/macros/latex/contrib/univie-ling/tex/univie-ling-paper.cls b/macros/latex/contrib/univie-ling/tex/univie-ling-paper.cls
index 34f029b9ed..639c8d0423 100644
--- a/macros/latex/contrib/univie-ling/tex/univie-ling-paper.cls
+++ b/macros/latex/contrib/univie-ling/tex/univie-ling-paper.cls
@@ -32,7 +32,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{univie-ling-paper}[2022/10/02 v.2.0 Univie Linguistic Papers (JSp)]
+\ProvidesPackage{univie-ling-paper}[2022/10/21 v.2.1 Univie Linguistic Papers (JSp)]
%% ============================================================
@@ -59,106 +59,108 @@
\ExplSyntaxOn
\keys_define:nn { uvp }
{
- % all=<true|false>
- % Load all (most) packages
- all.code:n =
- { \bool_if:nTF {#1} {
- \@uvp@biblatextrue
- \@uvp@captionptrue
- \@uvp@refsptrue
- \@uvp@covingtontrue
- \@uvp@microtypetrue
- }{
- \@uvp@biblatexfalse
- \@uvp@captionpfalse
- \@uvp@refspfalse
- \@uvp@covingtonfalse
- \@uvp@microtypefalse
- }
- },
- all.usage:n = preamble,
- % apa=<true|false>
- % Load APA style
- apa.legacy_if_set:n = @uvp@apa,
- apa.usage:n = preamble,
- % biblatex=<true|false>
- % Load biblatex
- biblatex.legacy_if_set:n = @uvp@biblatex,
- biblatex.usage:n = preamble,
- % caption=<true|false>
- % Load caption
- caption.legacy_if_set:n = @uvp@captionp,
- caption.usage:n = preamble,
- % covington=<true|false>
- % Load covington
- covington.legacy_if_set:n = @uvp@covington,
- covington.usage:n = preamble,
- % fontenc=<value|none>
- % customize font encoding
- fontenc.code:n =
- { \str_if_eq:NNTF { #1 } { none } {
- \@uvp@usefontencfalse
- }{
- \def\uvp@fontenc{#1}
- }
- },
- fontenc.usage:n = preamble,
- % microtype=<true|false>
- % Load microtype
- microtype.legacy_if_set:n = @uvp@microtype,
- microtype.usage:n = preamble,
- % polyglossia=<true|false>
- % Load polyglossia
- polyglossia.legacy_if_set:n = @uvp@polyglossia,
- polyglossia.code:n =
- { \bool_if:nT {#1} {
- \@uvp@psfontsfalse
- \@uvp@otffontstrue
- }
- },
- polyglossia.usage:n = preamble,
- % ref=<true|false>
- % Load varioref and prettyref
- ref.legacy_if_set:n = @uvp@refsp,
- ref.usage:n = preamble,
- % draftmark=<true|false|firstpage>
- % Print draftmark
- draftmark .choice:,
- % true
- draftmark / true .code:n =
- { \@uvp@draftmarktrue
- \@uvp@draftmarkfpfalse
- },
- % false
- draftmark / false .code:n =
- { \@uvp@draftmarkfalse
- \@uvp@draftmarkfpfalse
- },
- % firstpage
- draftmark / firstpage .code:n =
- { \@uvp@draftmarktrue
- \@uvp@draftmarkfptrue
- },
- % no val equals to true
- draftmark .default:n = {true},
- % fonts=<ps|otf|none>
- % Select font scheme
- fonts .choice:,
- % ps: use PostScript fonts (classic LaTeX)
- fonts / ps .code:n =
- { \@uvp@psfontstrue
- \@uvp@otffontsfalse
- },
- % otf: use OpenType fonts (fontspec)
- fonts / otf .code:n =
- { \@uvp@psfontsfalse
- \@uvp@otffontstrue
- },
- % none: Use no font package
- fonts / none .code:n =
- { \@uvp@psfontsfalse
- \@uvp@otffontsfalse
- },
+ % all=<true|false>
+ % Load all (most) packages
+ all.code:n =
+ { \bool_if:nTF {#1} {
+ \@uvp@biblatextrue
+ \@uvp@captionptrue
+ \@uvp@refsptrue
+ \@uvp@covingtontrue
+ \@uvp@microtypetrue
+ }{
+ \@uvp@biblatexfalse
+ \@uvp@captionpfalse
+ \@uvp@refspfalse
+ \@uvp@covingtonfalse
+ \@uvp@microtypefalse
+ }
+ },
+ all.usage:n = preamble,
+ % apa=<true|false>
+ % Load APA style
+ apa.legacy_if_set:n = @uvp@apa,
+ apa.usage:n = preamble,
+ % biblatex=<true|false>
+ % Load biblatex
+ biblatex.legacy_if_set:n = @uvp@biblatex,
+ biblatex.usage:n = preamble,
+ % caption=<true|false>
+ % Load caption
+ caption.legacy_if_set:n = @uvp@captionp,
+ caption.usage:n = preamble,
+ % covington=<true|false>
+ % Load covington
+ covington.legacy_if_set:n = @uvp@covington,
+ covington.usage:n = preamble,
+ % fontenc=<value|none>
+ % customize font encoding
+ fontenc.code:n =
+ { \str_if_eq:NNTF { #1 } { none } {
+ \@uvp@usefontencfalse
+ }{
+ \def\uvp@fontenc{#1}
+ }
+ },
+ fontenc.usage:n = preamble,
+ % microtype=<true|false>
+ % Load microtype
+ microtype.legacy_if_set:n = @uvp@microtype,
+ microtype.usage:n = preamble,
+ % polyglossia=<true|false>
+ % Load polyglossia
+ polyglossia.code:n =
+ { \bool_if:nTF {#1} {
+ \@uvp@psfontsfalse
+ \@uvp@otffontstrue
+ \@uvp@polyglossiatrue
+ }{
+ \@uvp@polyglossiafalse
+ }
+ },
+ polyglossia.usage:n = preamble,
+ % ref=<true|false>
+ % Load varioref and prettyref
+ ref.legacy_if_set:n = @uvp@refsp,
+ ref.usage:n = preamble,
+ % draftmark=<true|false|firstpage>
+ % Print draftmark
+ draftmark .choice:,
+ % true
+ draftmark / true .code:n =
+ { \@uvp@draftmarktrue
+ \@uvp@draftmarkfpfalse
+ },
+ % false
+ draftmark / false .code:n =
+ { \@uvp@draftmarkfalse
+ \@uvp@draftmarkfpfalse
+ },
+ % firstpage
+ draftmark / firstpage .code:n =
+ { \@uvp@draftmarktrue
+ \@uvp@draftmarkfptrue
+ },
+ % no val equals to true
+ draftmark .default:n = {true},
+ % fonts=<ps|otf|none>
+ % Select font scheme
+ fonts .choice:,
+ % ps: use PostScript fonts (classic LaTeX)
+ fonts / ps .code:n =
+ { \@uvp@psfontstrue
+ \@uvp@otffontsfalse
+ },
+ % otf: use OpenType fonts (fontspec)
+ fonts / otf .code:n =
+ { \@uvp@psfontsfalse
+ \@uvp@otffontstrue
+ },
+ % none: Use no font package
+ fonts / none .code:n =
+ { \@uvp@psfontsfalse
+ \@uvp@otffontsfalse
+ },
}
\ExplSyntaxOff
@@ -178,14 +180,14 @@
%% ============================================================
\LoadClass[%
- a4paper,
- fontsize=12pt,
- BCOR=0mm,
- captions=tableheading,
- listof=totoc,
- numbers=noenddot,
- titlepage=true,
- sectionentrydots=true
+ a4paper,
+ fontsize=12pt,
+ BCOR=0mm,
+ captions=tableheading,
+ listof=totoc,
+ numbers=noenddot,
+ titlepage=true,
+ sectionentrydots=true
]{scrartcl}[2003/04/22]
@@ -690,9 +692,9 @@ This includes all drawings, sketches, graphics and internet sources.}
\if@uvp@captionp
\RequirePackage[format=plain,
- justification=RaggedRight,
- singlelinecheck=false
- ]{caption}
+ justification=RaggedRight,
+ singlelinecheck=false
+ ]{caption}
\fi
%% =============================================================