| 1 |
\ProvidesPackage{ElstobManual} |
| 2 |
|
| 3 |
\usepackage{microtype} |
| 4 |
\usepackage{fancyhdr} |
| 5 |
|
| 6 |
\usepackage[quiet]{fontspec} |
| 7 |
|
| 8 |
\setmainfont{Elstob.ttf}[ |
| 9 |
ItalicFont = Elstob-Italic.ttf, |
| 10 |
BoldFont = Elstob.ttf, |
| 11 |
BoldItalicFont = Elstob-Italic.ttf, |
| 12 |
Contextuals=Alternate, |
| 13 |
Numbers={Lowercase,Proportional}, |
| 14 |
StylisticSet=3, |
| 15 |
RawFeature={mode=harf}, |
| 16 |
UprightFeatures={ |
| 17 |
SizeFeatures={ |
| 18 |
{Size={-8.5}, RawFeature={axis={wght=400,opsz=8,GRAD=0,SPAC=0}}}, |
| 19 |
{Size={8.5-10.5}, RawFeature={axis={wght=400,opsz=10,GRAD=0,SPAC=0}}}, |
| 20 |
{Size={10.5-13.5}, RawFeature={axis={wght=400,opsz=12,GRAD=0,SPAC=0}}}, |
| 21 |
{Size={13.5-15.5}, RawFeature={axis={wght=400,opsz=14,GRAD=0,SPAC=0}}}, |
| 22 |
{Size={15.5-}, RawFeature={axis={wght=400,opsz=18,GRAD=0,SPAC=0}}} |
| 23 |
}, |
| 24 |
}, |
| 25 |
ItalicFeatures={ |
| 26 |
SizeFeatures={ |
| 27 |
{Size={-8.5}, RawFeature={axis={wght=400,opsz=8,slnt=8,GRAD=0,SPAC=0}}}, |
| 28 |
{Size={8.5-10.5}, RawFeature={axis={wght=400,opsz=10,slnt=8,GRAD=0,SPAC=0}}}, |
| 29 |
{Size={10.5-13.5}, RawFeature={axis={wght=400,opsz=12,slnt=8,GRAD=0,SPAC=0}}}, |
| 30 |
{Size={13.5-15.5}, RawFeature={axis={wght=400,opsz=14,slnt=8,GRAD=0,SPAC=0}}}, |
| 31 |
{Size={15.5-}, RawFeature={axis={wght=400,opsz=18,slnt=8,GRAD=0,SPAC=0}}} |
| 32 |
}, |
| 33 |
}, |
| 34 |
BoldFeatures={ |
| 35 |
SizeFeatures={ |
| 36 |
{Size={-8.5}, RawFeature={axis={wght=700,opsz=8,GRAD=0,SPAC=0}}}, |
| 37 |
{Size={8.5-10.5}, RawFeature={axis={wght=700,opsz=10,GRAD=0,SPAC=0}}}, |
| 38 |
{Size={10.5-13.5}, RawFeature={axis={wght=700,opsz=12,GRAD=0,SPAC=0}}}, |
| 39 |
{Size={13.5-15.5}, RawFeature={axis={wght=700,opsz=14,GRAD=0,SPAC=0}}}, |
| 40 |
{Size={15.5-}, RawFeature={axis={wght=700,opsz=18,GRAD=0,SPAC=0}}} |
| 41 |
}, |
| 42 |
}, |
| 43 |
BoldItalicFeatures={ |
| 44 |
SizeFeatures={ |
| 45 |
{Size={-8.5}, RawFeature={axis={wght=700,opsz=8,slnt=8,GRAD=0,SPAC=0}}}, |
| 46 |
{Size={8.5-10.5}, RawFeature={axis={wght=700,opsz=10,slnt=8,GRAD=0,SPAC=0}}}, |
| 47 |
{Size={10.5-13.5}, RawFeature={axis={wght=700,opsz=12,slnt=8,GRAD=0,SPAC=0}}}, |
| 48 |
{Size={13.5-15.5}, RawFeature={axis={wght=700,opsz=14,slnt=8,GRAD=0,SPAC=0}}}, |
| 49 |
{Size={15.5-}, RawFeature={axis={wght=700,opsz=18,slnt=8,GRAD=0,SPAC=0}}} |
| 50 |
}, |
| 51 |
}, |
| 52 |
] |
| 53 |
\newfontface\extralight{Elstob.ttf}[ |
| 54 |
Contextuals=Alternate, |
| 55 |
Numbers={Lowercase,Proportional}, |
| 56 |
StylisticSet=3, |
| 57 |
RawFeature={mode=harf}, |
| 58 |
SizeFeatures={ |
| 59 |
{Size={-8.5}, RawFeature={axis={wght=200,opsz=8,GRAD=0,SPAC=0}}}, |
| 60 |
{Size={8.5-10.5}, RawFeature={axis={wght=200,opsz=10,GRAD=0,SPAC=0}}}, |
| 61 |
{Size={10.5-13.5}, RawFeature={axis={wght=200,opsz=12,GRAD=0,SPAC=0}}}, |
| 62 |
{Size={13.5-15.5}, RawFeature={axis={wght=200,opsz=14,GRAD=0,SPAC=0}}}, |
| 63 |
{Size={15.5-}, RawFeature={axis={wght=200,opsz=18,GRAD=0,SPAC=0}}} |
| 64 |
}, |
| 65 |
] |
| 66 |
\newfontface\light{Elstob.ttf}[ |
| 67 |
Contextuals=Alternate, |
| 68 |
Numbers={Lowercase,Proportional}, |
| 69 |
StylisticSet=3, |
| 70 |
RawFeature={mode=harf}, |
| 71 |
SizeFeatures={ |
| 72 |
{Size={-8.5}, RawFeature={axis={wght=300,opsz=8,GRAD=0,SPAC=0}}}, |
| 73 |
{Size={8.5-10.5}, RawFeature={axis={wght=300,opsz=10,GRAD=0,SPAC=0}}}, |
| 74 |
{Size={10.5-13.5}, RawFeature={axis={wght=300,opsz=12,GRAD=0,SPAC=0}}}, |
| 75 |
{Size={13.5-15.5}, RawFeature={axis={wght=300,opsz=14,GRAD=0,SPAC=0}}}, |
| 76 |
{Size={15.5-}, RawFeature={axis={wght=300,opsz=18,GRAD=0,SPAC=0}}} |
| 77 |
}, |
| 78 |
] |
| 79 |
\newfontface\medium{Elstob.ttf}[ |
| 80 |
Contextuals=Alternate, |
| 81 |
Numbers={Lowercase,Proportional}, |
| 82 |
StylisticSet=3, |
| 83 |
RawFeature={mode=harf}, |
| 84 |
SizeFeatures={ |
| 85 |
{Size={-8.5}, RawFeature={axis={wght=500,opsz=8,GRAD=0,SPAC=0}}}, |
| 86 |
{Size={8.5-10.5}, RawFeature={axis={wght=500,opsz=10,GRAD=0,SPAC=0}}}, |
| 87 |
{Size={10.5-13.5}, RawFeature={axis={wght=500,opsz=12,GRAD=0,SPAC=0}}}, |
| 88 |
{Size={13.5-15.5}, RawFeature={axis={wght=500,opsz=14,GRAD=0,SPAC=0}}}, |
| 89 |
{Size={15.5-}, RawFeature={axis={wght=500,opsz=18,GRAD=0,SPAC=0}}} |
| 90 |
}, |
| 91 |
] |
| 92 |
\newfontface\semibold{Elstob.ttf}[ |
| 93 |
Contextuals=Alternate, |
| 94 |
Numbers={Lowercase,Proportional}, |
| 95 |
StylisticSet=3, |
| 96 |
RawFeature={mode=harf}, |
| 97 |
SizeFeatures={ |
| 98 |
{Size={-8.5}, RawFeature={axis={wght=600,opsz=8,GRAD=0,SPAC=0}}}, |
| 99 |
{Size={8.5-10.5}, RawFeature={axis={wght=600,opsz=10,GRAD=0,SPAC=0}}}, |
| 100 |
{Size={10.5-13.5}, RawFeature={axis={wght=600,opsz=12,GRAD=0,SPAC=0}}}, |
| 101 |
{Size={13.5-15.5}, RawFeature={axis={wght=600,opsz=14,GRAD=0,SPAC=0}}}, |
| 102 |
{Size={15.5-}, RawFeature={axis={wght=600,opsz=18,GRAD=0,SPAC=0}}} |
| 103 |
}, |
| 104 |
] |
| 105 |
\newfontface\extrabold{Elstob.ttf}[ |
| 106 |
Contextuals=Alternate, |
| 107 |
Numbers={Lowercase,Proportional}, |
| 108 |
StylisticSet=3, |
| 109 |
RawFeature={mode=harf}, |
| 110 |
SizeFeatures={ |
| 111 |
{Size={-8.5}, RawFeature={axis={wght=800,opsz=8,GRAD=0,SPAC=0}}}, |
| 112 |
{Size={8.5-10.5}, RawFeature={axis={wght=800,opsz=10,GRAD=0,SPAC=0}}}, |
| 113 |
{Size={10.5-13.5}, RawFeature={axis={wght=800,opsz=12,GRAD=0,SPAC=0}}}, |
| 114 |
{Size={13.5-15.5}, RawFeature={axis={wght=800,opsz=14,GRAD=0,SPAC=0}}}, |
| 115 |
{Size={15.5-}, RawFeature={axis={wght=800,opsz=18,GRAD=0,SPAC=0}}} |
| 116 |
}, |
| 117 |
] |
| 118 |
\newfontface\superbold{Elstob.ttf}[ |
| 119 |
Contextuals=Alternate, |
| 120 |
Numbers={Lowercase,Proportional}, |
| 121 |
StylisticSet=3, |
| 122 |
RawFeature={mode=harf}, |
| 123 |
SizeFeatures={ |
| 124 |
{Size={-8.5}, RawFeature={axis={wght=800,opsz=8,GRAD=0.2,SPAC=0}}}, |
| 125 |
{Size={8.5-10.5}, RawFeature={axis={wght=800,opsz=10,GRAD=0.2,SPAC=0}}}, |
| 126 |
{Size={10.5-13.5}, RawFeature={axis={wght=800,opsz=12,GRAD=0.2,SPAC=0}}}, |
| 127 |
{Size={13.5-15.5}, RawFeature={axis={wght=800,opsz=14,GRAD=0.2,SPAC=0}}}, |
| 128 |
{Size={15.5-}, RawFeature={axis={wght=800,opsz=18,GRAD=0.2,SPAC=0}}} |
| 129 |
}, |
| 130 |
] |
| 131 |
\newfontface\waytoobold{Elstob.ttf}[ |
| 132 |
Contextuals=Alternate, |
| 133 |
Numbers={Lowercase,Proportional}, |
| 134 |
StylisticSet=3, |
| 135 |
RawFeature={mode=harf}, |
| 136 |
SizeFeatures={ |
| 137 |
{Size={-8.5}, RawFeature={axis={wght=800,opsz=8,GRAD=1,SPAC=0}}}, |
| 138 |
{Size={8.5-10.5}, RawFeature={axis={wght=800,opsz=10,GRAD=1,SPAC=0}}}, |
| 139 |
{Size={10.5-13.5}, RawFeature={axis={wght=800,opsz=12,GRAD=1,SPAC=0}}}, |
| 140 |
{Size={13.5-15.5}, RawFeature={axis={wght=800,opsz=14,GRAD=1,SPAC=0}}}, |
| 141 |
{Size={15.5-}, RawFeature={axis={wght=800,opsz=18,GRAD=1,SPAC=0}}} |
| 142 |
}, |
| 143 |
] |
| 144 |
\newfontface\oddball{Elstob.ttf}[ |
| 145 |
Contextuals=Alternate, |
| 146 |
Numbers={Lowercase,Proportional}, |
| 147 |
StylisticSet=3, |
| 148 |
RawFeature={mode=harf}, |
| 149 |
SizeFeatures={ |
| 150 |
{Size={-8.5}, RawFeature={axis={wght=523.45,opsz=8,GRAD=0,SPAC=0}}}, |
| 151 |
{Size={8.5-10.5}, RawFeature={axis={wght=523.45,opsz=10,GRAD=0,SPAC=0}}}, |
| 152 |
{Size={10.5-13.5}, RawFeature={axis={wght=523.45,opsz=12,GRAD=0,SPAC=0}}}, |
| 153 |
{Size={13.5-15.5}, RawFeature={axis={wght=523.45,opsz=14,GRAD=0,SPAC=0}}}, |
| 154 |
{Size={15.5-}, RawFeature={axis={wght=523.45,opsz=18,GRAD=0,SPAC=0}}} |
| 155 |
}, |
| 156 |
] |
| 157 |
\newfontface\spaced{Elstob.ttf}[ |
| 158 |
Contextuals=Alternate, |
| 159 |
Numbers={Lowercase,Proportional}, |
| 160 |
StylisticSet=3, |
| 161 |
RawFeature={mode=harf}, |
| 162 |
SizeFeatures={ |
| 163 |
{Size={-8.5}, RawFeature={axis={wght=400,opsz=8,GRAD=0,SPAC=1}}}, |
| 164 |
{Size={8.5-10.5}, RawFeature={axis={wght=400,opsz=10,GRAD=0,SPAC=1}}}, |
| 165 |
{Size={10.5-13.5}, RawFeature={axis={wght=400,opsz=12,GRAD=0,SPAC=1}}}, |
| 166 |
{Size={13.5-15.5}, RawFeature={axis={wght=400,opsz=14,GRAD=0,SPAC=1}}}, |
| 167 |
{Size={15.5-}, RawFeature={axis={wght=400,opsz=18,GRAD=0,SPAC=1}}} |
| 168 |
}, |
| 169 |
] |
| 170 |
\newfontface\mediumspaced{Elstob.ttf}[ |
| 171 |
Contextuals=Alternate, |
| 172 |
StylisticSet={3,8,18}, |
| 173 |
Numbers={Lowercase,Proportional}, |
| 174 |
RawFeature={mode=harf}, |
| 175 |
SizeFeatures={ |
| 176 |
{Size={-8.5}, RawFeature={axis={wght=500,opsz=8,GRAD=0,SPAC=1}}}, |
| 177 |
{Size={8.5-10.5}, RawFeature={axis={wght=500,opsz=10,GRAD=0,SPAC=1}}}, |
| 178 |
{Size={10.5-13.5}, RawFeature={axis={wght=500,opsz=12,GRAD=0,SPAC=1}}}, |
| 179 |
{Size={13.5-15.5}, RawFeature={axis={wght=500,opsz=14,GRAD=0,SPAC=1}}}, |
| 180 |
{Size={15.5-}, RawFeature={axis={wght=500,opsz=18,GRAD=0,SPAC=1}}} |
| 181 |
}, |
| 182 |
] |
| 183 |
\newfontface\itallight{Elstob-Italic.ttf}[ |
| 184 |
Contextuals=Alternate, |
| 185 |
Numbers={Lowercase,Proportional}, |
| 186 |
StylisticSet=3, |
| 187 |
RawFeature={mode=harf}, |
| 188 |
SizeFeatures={ |
| 189 |
{Size={-8.5}, RawFeature={axis={wght=300,opsz=8,slnt=8,GRAD=0,SPAC=0}}}, |
| 190 |
{Size={8.5-10.5}, RawFeature={axis={wght=300,opsz=10,slnt=8,GRAD=0,SPAC=0}}}, |
| 191 |
{Size={10.5-13.5}, RawFeature={axis={wght=300,opsz=12,slnt=8,GRAD=0,SPAC=0}}}, |
| 192 |
{Size={13.5-15.5}, RawFeature={axis={wght=300,opsz=14,slnt=8,GRAD=0,SPAC=0}}}, |
| 193 |
{Size={15.5-}, RawFeature={axis={wght=300,opsz=18,slnt=8,GRAD=0,SPAC=0}}} |
| 194 |
}, |
| 195 |
] |
| 196 |
\newfontface\italmedium{Elstob-Italic.ttf}[ |
| 197 |
Contextuals=Alternate, |
| 198 |
Numbers={Lowercase,Proportional}, |
| 199 |
StylisticSet=3, |
| 200 |
RawFeature={mode=harf}, |
| 201 |
SizeFeatures={ |
| 202 |
{Size={-8.5}, RawFeature={axis={wght=500,opsz=8,slnt=8,GRAD=0,SPAC=0}}}, |
| 203 |
{Size={8.5-10.5}, RawFeature={axis={wght=500,opsz=10,slnt=8,GRAD=0,SPAC=0}}}, |
| 204 |
{Size={10.5-13.5}, RawFeature={axis={wght=500,opsz=12,slnt=8,GRAD=0,SPAC=0}}}, |
| 205 |
{Size={13.5-15.5}, RawFeature={axis={wght=500,opsz=14,slnt=8,GRAD=0,SPAC=0}}}, |
| 206 |
{Size={15.5-}, RawFeature={axis={wght=500,opsz=18,slnt=8,GRAD=0,SPAC=0}}} |
| 207 |
}, |
| 208 |
] |
| 209 |
\newfontface\italslanted{Elstob-Italic.ttf}[ |
| 210 |
Contextuals=Alternate, |
| 211 |
Numbers={Lowercase,Proportional}, |
| 212 |
StylisticSet=3, |
| 213 |
RawFeature={mode=harf}, |
| 214 |
SizeFeatures={ |
| 215 |
{Size={-8.5}, RawFeature={axis={wght=400,opsz=8,slnt=0,GRAD=0,SPAC=0}}}, |
| 216 |
{Size={8.5-10.5}, RawFeature={axis={wght=400,opsz=10,slnt=0,GRAD=0,SPAC=0}}}, |
| 217 |
{Size={10.5-13.5}, RawFeature={axis={wght=400,opsz=12,slnt=0,GRAD=0,SPAC=0}}}, |
| 218 |
{Size={13.5-15.5}, RawFeature={axis={wght=400,opsz=14,slnt=0,GRAD=0,SPAC=0}}}, |
| 219 |
{Size={15.5-}, RawFeature={axis={wght=400,opsz=18,slnt=0,GRAD=0,SPAC=0}}} |
| 220 |
}, |
| 221 |
] |
| 222 |
\newfontface\italslantedmedium{Elstob-Italic.ttf}[ |
| 223 |
Contextuals=Alternate, |
| 224 |
Numbers={Lowercase,Proportional}, |
| 225 |
StylisticSet=3, |
| 226 |
RawFeature={mode=harf}, |
| 227 |
SizeFeatures={ |
| 228 |
{Size={-8.5}, RawFeature={axis={wght=500,opsz=8,slnt=0,GRAD=0,SPAC=0}}}, |
| 229 |
{Size={8.5-10.5}, RawFeature={axis={wght=500,opsz=10,slnt=0,GRAD=0,SPAC=0}}}, |
| 230 |
{Size={10.5-13.5}, RawFeature={axis={wght=500,opsz=12,slnt=0,GRAD=0,SPAC=0}}}, |
| 231 |
{Size={13.5-15.5}, RawFeature={axis={wght=500,opsz=14,slnt=0,GRAD=0,SPAC=0}}}, |
| 232 |
{Size={15.5-}, RawFeature={axis={wght=500,opsz=18,slnt=0,GRAD=0,SPAC=0}}} |
| 233 |
}, |
| 234 |
] |
| 235 |
\newfontface\italupright{Elstob-Italic.ttf}[ |
| 236 |
Contextuals=Alternate, |
| 237 |
Numbers={Lowercase,Proportional}, |
| 238 |
StylisticSet=3, |
| 239 |
RawFeature={mode=harf}, |
| 240 |
SizeFeatures={ |
| 241 |
{Size={-8.5}, RawFeature={axis={wght=400,opsz=8,slnt=15,GRAD=0,SPAC=0}}}, |
| 242 |
{Size={8.5-10.5}, RawFeature={axis={wght=400,opsz=10,slnt=15,GRAD=0,SPAC=0}}}, |
| 243 |
{Size={10.5-13.5}, RawFeature={axis={wght=400,opsz=12,slnt=15,GRAD=0,SPAC=0}}}, |
| 244 |
{Size={13.5-15.5}, RawFeature={axis={wght=400,opsz=14,slnt=15,GRAD=0,SPAC=0}}}, |
| 245 |
{Size={15.5-}, RawFeature={axis={wght=400,opsz=18,slnt=15,GRAD=0,SPAC=0}}} |
| 246 |
}, |
| 247 |
] |
| 248 |
\usepackage{microtype} |
| 249 |
\usepackage{graphicx} |
| 250 |
\usepackage[table,dvipsnames]{xcolor} |
| 251 |
\definecolor{BrickRed}{RGB}{146,18,6} |
| 252 |
\definecolor{SlateGray}{RGB}{112,128,144} |
| 253 |
\definecolor{GGOrange}{RGB}{240,74,6} |
| 254 |
\definecolor{RViolet}{RGB}{70,18,87} |
| 255 |
\definecolor{myRed}{rgb}{0.5,0,0} |
| 256 |
\definecolor{myBlue}{rgb}{0,0,0.5} |
| 257 |
\definecolor{myLightRed}{RGB}{255,232,244} |
| 258 |
\definecolor{myLightYellow}{RGB}{239,249,218} |
| 259 |
\definecolor{myLightBlue}{RGB}{203,228,249} |
| 260 |
\definecolor{myLightGreen}{RGB}{234,255,244} |
| 261 |
\definecolor{myLightPurple}{RGB}{214,205,234} |
| 262 |
\usepackage{multicol} |
| 263 |
\usepackage{array} |
| 264 |
\usepackage{tabto} |
| 265 |
\usepackage{supertabular} |
| 266 |
\usepackage{hhline} |
| 267 |
\usepackage{metalogo} |
| 268 |
\usepackage{hyperref} |
| 269 |
\hypersetup{pdftex, colorlinks=true, linkcolor=blue, citecolor=blue, filecolor=blue,% |
| 270 |
urlcolor=blue, pdftitle=, pdfauthor=, pdfsubject=, pdfkeywords=} |
| 271 |
% Footnotes configuration |
| 272 |
\makeatletter |
| 273 |
\renewcommand\thefootnote{\arabic{footnote}} |
| 274 |
\makeatother |
| 275 |
% Text styles |
| 276 |
\linespread{1.1} |
| 277 |
\newopentypefeature{MyStyle}{insular}{+ss02} |
| 278 |
\newopentypefeature{MyStyle}{contextualr}{+ss16} |
| 279 |
\newopentypefeature{MyStyle}{contextuals}{+ss08} |
| 280 |
\newopentypefeature{MyStyle}{IPA}{+ss03} |
| 281 |
\newopentypefeature{MyStyle}{thornswap}{+ss01} |
| 282 |
\newopentypefeature{MyStyle}{liningnum}{+lnum} |
| 283 |
\newopentypefeature{MyStyle}{propnum}{+pnum} |
| 284 |
%\newopentypefeature{Ligatures}{histon}{+hlig} |
| 285 |
\newopentypefeature{Ligatures}{histoff}{-hlig} |
| 286 |
\newcommand\textex[1]{\textrm{\textbf{\color{BrickRed}#1}}} |
| 287 |
\newcommand\textUName[1]{\textsc{#1}} |
| 288 |
\newcommand\textSourceText[1]{{\color{GGOrange}\texttt{#1}}} |
| 289 |
\newcommand\cvc[1]{{\color{magenta}#1}} |
| 290 |
\newcommand\textstyleEmphasis[1]{\textit{#1}} |
| 291 |
\newcommand\textstyleEntityRef[1]{\textrm{#1}} |
| 292 |
\newcommand{\cvd}[3][0]{{\addfontfeature{CharacterVariant=#2:#1}#3}} |
| 293 |
\newcommand{\hlig}[1]{{\addfontfeature{Ligatures=Historic}#1}} |
| 294 |
\newcommand{\sups}[1]{{\addfontfeature{VerticalPosition = Superior}#1}} |
| 295 |
\newcommand{\subs}[1]{{\addfontfeature{VerticalPosition = Inferior}#1}} |
| 296 |
\newcommand{\oprop}[1]{{\addfontfeature{Numbers={Lowercase,Proportional}}#1}} |
| 297 |
\newcommand{\lprop}[1]{{\addfontfeature{Numbers={Uppercase,Proportional}}#1}} |
| 298 |
\newcommand{\otab}[1]{{\addfontfeature{Numbers={Lowercase,Monospaced}}#1}} |
| 299 |
\newcommand{\ltab}[1]{{\addfontfeature{Numbers={Uppercase,Monospaced}}#1}} |
| 300 |
\newcommand{\revthorn}[1]{{\addfontfeature{StylisticSet=1}#1}} |
| 301 |
\newcommand{\fstr}[1]{{\addfontfeature{FakeStretch=0.85}#1}} |
| 302 |
\newcommand{\ffstr}[1]{{\addfontfeature{FakeStretch=0.75}#1}} |
| 303 |
\newcommand{\eng}{\addfontfeature{Language=English}} |
| 304 |
\newcommand{\icel}{\addfontfeature{Language=Icelandic}} |
| 305 |
\newcommand{\unic}[1]{{\color{BrickRed}\addfontfeature{Numbers={Uppercase,Monospaced}}#1}} |
| 306 |
\newcommand{\colongs}{\addfontfeature{Language=English,StylisticSet=8}} |
| 307 |
\newcommand{\ltech}{Lua\kern-1.5pt\TeX} |
| 308 |
\newcommand{\ctosc}[1]{{\addfontfeature{Letters=UppercaseSmallCaps}#1}} |
| 309 |
\newcommand{\charvar}{\textSourceText{cvNN}} |
| 310 |
\newcommand{\secletter}[1]{\textbf{#1}} |
| 311 |
% Outline numbering |
| 312 |
%\setcounter{secnumdepth}{0} |
| 313 |
\makeatletter |
| 314 |
\newcommand\arraybslash{\let\\\@arraycr} |
| 315 |
\makeatother |
| 316 |
% Page layout (geometry) |
| 317 |
%\setlength\voffset{-1in} |
| 318 |
%\setlength\hoffset{-0.75in} |
| 319 |
%\setlength\topmargin{1in} |
| 320 |
%\setlength\oddsidemargin{1in} |
| 321 |
%\setlength\textheight{8.000001in} |
| 322 |
%\setlength\textwidth{6in} |
| 323 |
%\setlength\footskip{0.0cm} |
| 324 |
\setlength\headheight{15pt} |
| 325 |
%\setlength\headsep{0.2in} |
| 326 |
% Footnote rule |
| 327 |
%\setlength{\skip\footins}{14pt} |
| 328 |
%\renewcommand\footnoterule{\vspace*{-0.0071in}\setlength\leftskip{0pt}\setlength\rightskip{0pt plus 1fil}\noindent\textcolor{black}{\rule{0.25\columnwidth}{0.0071in}}\vspace*{0.0398in}} |
| 329 |
% Pages styles |
| 330 |
\pagestyle{fancy} |
| 331 |
\footskip = 30pt |
| 332 |
\headsep = 30pt |
| 333 |
\renewcommand{\headrule}{} |
| 334 |
\fancyhead[L]{} |
| 335 |
\fancyhead[C]{} |
| 336 |
\fancyhead[R]{} |
| 337 |
\fancyfoot[L]{} |
| 338 |
\fancyfoot[C]{} |
| 339 |
\fancyfoot[R]{} |
| 340 |
\setlength\tabcolsep{1mm} |
| 341 |
\renewcommand\arraystretch{1.3} |
| 342 |
% Headers |
| 343 |
%\usepackage{sectsty} |
| 344 |
%\subsectionfont{\color{BrickRed}} |
| 345 |
%\sectionfont{\color{SlateGray}} |
| 346 |
\usepackage{titlesec} |
| 347 |
\titleformat{\chapter}[hang]{\huge\color{RViolet}}{\thechapter.}{1em}{} |
| 348 |
\titleformat{\section}[hang]{\Large\color{SlateGray}}{\thesection.}{1em}{} |
| 349 |
\titleformat{\subsection}[hang]{\large\color{BrickRed}}{\thesubsection.}{1em}{} |
| 350 |
% List styles |
| 351 |
\newcommand\liststyleLi{% |
| 352 |
\renewcommand\labelitemi{{\textbullet}} |
| 353 |
\renewcommand\labelitemii{{\textbullet}} |
| 354 |
\renewcommand\labelitemiii{{\textbullet}} |
| 355 |
\renewcommand\labelitemiv{{\textbullet}} |
| 356 |
} |
| 357 |
\newcommand\liststyleLii{% |
| 358 |
\renewcommand\labelitemi{{\textbullet}} |
| 359 |
\renewcommand\labelitemii{{\textbullet}} |
| 360 |
\renewcommand\labelitemiii{{\textbullet}} |
| 361 |
\renewcommand\labelitemiv{{\textbullet}} |
| 362 |
} |
| 363 |
\newcounter{Feature} |
| 364 |
\renewcommand\theFeature{\arabic{Feature}} |
| 365 |
\renewcommand{\chaptermark}[1]{\markboth{\MakeUppercase{#1}}{}} |
| 366 |
\usepackage{unicodefonttable} |
| 367 |
\tolerance=1500 |
| 368 |
\widowpenalty=500 |
| 369 |
\clubpenalty=500 |
| 370 |
\frenchspacing |
| 371 |
\raggedbottom |