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
|
\documentclass[a4paper]{article}
\usepackage[lat=2,lang=ca,abbr=italic,last=true,eitem=4]{copyedit}
%
% all the options can be changed in the middle of the document or
% anywhere in the document with the command:
%
% \cesetup{c<comma separated list of options>}
%
\usepackage[sc,osf]{mathpazo}
\usepackage{lipsum}
\begin{document}
\parindent 0pt
\parskip 12pt
\advance\baselineskip by 3pt
\newacro{H2O}[$\mathrm{H_2O}$]{Dihygrogen Monoxide}
\newacro{WHO}[W.H.O.]{World Health Organization}
\subsubsection*{Language Variants}
\lipsum[1]
\definevariant{colour}{color}{COLOR}{Color}
\cesetup{lang=uk}
\vara{colour}
\vara{color}
\vara{COLOR}
\vara{Color}
\cesetup{lang=us}
\vara{colour}
\vara{color}
\vara{COLOR}
\vara{Color}
\cesetup{lang=ca}
\vara{colour}
\vara{color}
\vara{COLOR}
\vara{Color}
\cesetup{lang=au}
\vara{colour}
\vara{color}
\vara{COLOR}
\vara{Color}
\subsubsection*{Hyphenate, etc}
\closeup{anti}{body} and for that matter \hyp{anti}{body}.
\sword{Civil}{War}.
\subsubsection*{Latin abbreviation}
\definelat{e.g.}{eg}{for example}
First option keeps the abbreviation as such:
\cesetup{lat=0} \lat{e.g.}.
The second option remove all dots:
\cesetup{lat=1,abbr=rm} \lat{e.g.}.
The third one switches to English equivalent:
\cesetup{lat=2} \lat{e.g.}.
\subsubsection*{Acronym}
\ac{H2O}
\ac{WHO}
\lipsum[2]
\ac{H2O}
\ac{WHO}
\medskip
\subsubsection*{Parenthetical Comma}
\cesetup{pc=0}
The enthusiastic young ducks flying in front of the group
\pc{led by the sugecious older ones at the back, make a lot of noise
and turbulence} which are used by older ones at the back to warm
their heart and the wing.
\cesetup{pc=1}
The enthusiastic young ducks flying in front of the group
\pc{led by the sugecious older ones at the back, make a lot of noise
and turbulence} which are used by older ones at the back to warm
their heart and the wing.
\cesetup{pc=2}
The enthusiastic young ducks flying in front of the group
\pc{led by the sugecious older ones at the back, make a lot of noise
and turbulence} which are used by older ones at the back to warm
their heart and the wing.
\cesetup{pc=3}
The enthusiastic young ducks flying in front of the group
\pc{led by the sugecious older ones at the back, make a lot of noise
and turbulence} which are used by older ones at the back to warm
their heart and the wing.
\cesetup{pc=4}
The enthusiastic young ducks flying in front of the group
\pc{led by the sugecious older ones at the back, make a lot of noise
and turbulence} which are used by older ones at the back to warm
their heart and the wing.
\elist{warblers,tits,wrens,hummingbirds}
No problems even if the space is not cared for in the list:
\elist{warblers , tits, wrens,hummingbirds }
\definetoken{mango}{His Holyness, the Prince of Mangoistan}{The Prince of
Mangoistan}{He}
Full: \Token{mango}
Part: \Token{mango}
Short: \Token{mango}
Short: \Token{mango}
\subsubsection*{Eitem}
% \cesetup{eitem=0,last}
% \cesetup{eitem=1,last}
% \cesetup{eitem=2,last}
% \cesetup{eitem=3,last}
% \cesetup{eitem=4,last}
\cesetup{eitem=5,last}
\begin{eitem}
\item one
\item two
\item three
\item four
\item five
\item six
\item seven
%\item eight
%\item nine
%\item ten
\end{eitem}
\end{document}
|