generated from quarto-journals/article-format-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.tex
567 lines (499 loc) · 21.2 KB
/
template.tex
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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
% Options for packages loaded elsewhere
\PassOptionsToPackage{unicode}{hyperref}
\PassOptionsToPackage{hyphens}{url}
\PassOptionsToPackage{dvipsnames,svgnames,x11names}{xcolor}
%
\documentclass[
a4paper,
twoside,
final
]{article}
\usepackage{amsmath,amssymb}
\usepackage{iftex}
\ifPDFTeX
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{textcomp} % provide euro and other symbols
\else % if luatex or xetex
\usepackage{unicode-math}
\defaultfontfeatures{Scale=MatchLowercase}
\defaultfontfeatures[\rmfamily]{Ligatures=TeX,Scale=1}
\fi
\usepackage{lmodern}
\ifPDFTeX\else
% xetex/luatex font selection
\fi
% Use upquote if available, for straight quotes in verbatim environments
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
\IfFileExists{microtype.sty}{% use microtype if available
\usepackage[]{microtype}
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
}{}
\makeatletter
\@ifundefined{KOMAClassName}{% if non-KOMA class
\IfFileExists{parskip.sty}{%
\usepackage{parskip}
}{% else
\setlength{\parindent}{0pt}
\setlength{\parskip}{6pt plus 2pt minus 1pt}}
}{% if KOMA class
\KOMAoptions{parskip=half}}
\makeatother
\usepackage{xcolor}
\setlength{\emergencystretch}{3em} % prevent overfull lines
\setcounter{secnumdepth}{5}
% Make \paragraph and \subparagraph free-standing
\ifx\paragraph\undefined\else
\let\oldparagraph\paragraph
\renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}}
\fi
\ifx\subparagraph\undefined\else
\let\oldsubparagraph\subparagraph
\renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
\fi
\usepackage{color}
\usepackage{fancyvrb}
\newcommand{\VerbBar}{|}
\newcommand{\VERB}{\Verb[commandchars=\\\{\}]}
\DefineVerbatimEnvironment{Highlighting}{Verbatim}{commandchars=\\\{\}}
% Add ',fontsize=\small' for more characters per line
\usepackage{framed}
\definecolor{shadecolor}{RGB}{241,243,245}
\newenvironment{Shaded}{\begin{snugshade}}{\end{snugshade}}
\newcommand{\AlertTok}[1]{\textcolor[rgb]{0.68,0.00,0.00}{#1}}
\newcommand{\AnnotationTok}[1]{\textcolor[rgb]{0.37,0.37,0.37}{#1}}
\newcommand{\AttributeTok}[1]{\textcolor[rgb]{0.40,0.45,0.13}{#1}}
\newcommand{\BaseNTok}[1]{\textcolor[rgb]{0.68,0.00,0.00}{#1}}
\newcommand{\BuiltInTok}[1]{\textcolor[rgb]{0.00,0.23,0.31}{#1}}
\newcommand{\CharTok}[1]{\textcolor[rgb]{0.13,0.47,0.30}{#1}}
\newcommand{\CommentTok}[1]{\textcolor[rgb]{0.37,0.37,0.37}{#1}}
\newcommand{\CommentVarTok}[1]{\textcolor[rgb]{0.37,0.37,0.37}{\textit{#1}}}
\newcommand{\ConstantTok}[1]{\textcolor[rgb]{0.56,0.35,0.01}{#1}}
\newcommand{\ControlFlowTok}[1]{\textcolor[rgb]{0.00,0.23,0.31}{#1}}
\newcommand{\DataTypeTok}[1]{\textcolor[rgb]{0.68,0.00,0.00}{#1}}
\newcommand{\DecValTok}[1]{\textcolor[rgb]{0.68,0.00,0.00}{#1}}
\newcommand{\DocumentationTok}[1]{\textcolor[rgb]{0.37,0.37,0.37}{\textit{#1}}}
\newcommand{\ErrorTok}[1]{\textcolor[rgb]{0.68,0.00,0.00}{#1}}
\newcommand{\ExtensionTok}[1]{\textcolor[rgb]{0.00,0.23,0.31}{#1}}
\newcommand{\FloatTok}[1]{\textcolor[rgb]{0.68,0.00,0.00}{#1}}
\newcommand{\FunctionTok}[1]{\textcolor[rgb]{0.28,0.35,0.67}{#1}}
\newcommand{\ImportTok}[1]{\textcolor[rgb]{0.00,0.46,0.62}{#1}}
\newcommand{\InformationTok}[1]{\textcolor[rgb]{0.37,0.37,0.37}{#1}}
\newcommand{\KeywordTok}[1]{\textcolor[rgb]{0.00,0.23,0.31}{#1}}
\newcommand{\NormalTok}[1]{\textcolor[rgb]{0.00,0.23,0.31}{#1}}
\newcommand{\OperatorTok}[1]{\textcolor[rgb]{0.37,0.37,0.37}{#1}}
\newcommand{\OtherTok}[1]{\textcolor[rgb]{0.00,0.23,0.31}{#1}}
\newcommand{\PreprocessorTok}[1]{\textcolor[rgb]{0.68,0.00,0.00}{#1}}
\newcommand{\RegionMarkerTok}[1]{\textcolor[rgb]{0.00,0.23,0.31}{#1}}
\newcommand{\SpecialCharTok}[1]{\textcolor[rgb]{0.37,0.37,0.37}{#1}}
\newcommand{\SpecialStringTok}[1]{\textcolor[rgb]{0.13,0.47,0.30}{#1}}
\newcommand{\StringTok}[1]{\textcolor[rgb]{0.13,0.47,0.30}{#1}}
\newcommand{\VariableTok}[1]{\textcolor[rgb]{0.07,0.07,0.07}{#1}}
\newcommand{\VerbatimStringTok}[1]{\textcolor[rgb]{0.13,0.47,0.30}{#1}}
\newcommand{\WarningTok}[1]{\textcolor[rgb]{0.37,0.37,0.37}{\textit{#1}}}
\providecommand{\tightlist}{%
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}\usepackage{longtable,booktabs,array}
\usepackage{calc} % for calculating minipage widths
% Correct order of tables after \paragraph or \subparagraph
\usepackage{etoolbox}
\makeatletter
\patchcmd\longtable{\par}{\if@noskipsec\mbox{}\fi\par}{}{}
\makeatother
% Allow footnotes in longtable head/foot
\IfFileExists{footnotehyper.sty}{\usepackage{footnotehyper}}{\usepackage{footnote}}
\makesavenoteenv{longtable}
\usepackage{graphicx}
\makeatletter
\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}
\def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi}
\makeatother
% Scale images if necessary, so that they will not overflow the page
% margins by default, and it is still possible to overwrite the defaults
% using explicit options in \includegraphics[width, height, ...]{}
\setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
% Set default figure placement to htbp
\makeatletter
\def\fps@figure{htbp}
\makeatother
\usepackage{region,hyperref,multirow}
\definecolor{mypink}{RGB}{219, 48, 122}
\makeatletter
\makeatother
\makeatletter
\makeatother
\makeatletter
\@ifpackageloaded{caption}{}{\usepackage{caption}}
\AtBeginDocument{%
\ifdefined\contentsname
\renewcommand*\contentsname{Table of contents}
\else
\newcommand\contentsname{Table of contents}
\fi
\ifdefined\listfigurename
\renewcommand*\listfigurename{List of Figures}
\else
\newcommand\listfigurename{List of Figures}
\fi
\ifdefined\listtablename
\renewcommand*\listtablename{List of Tables}
\else
\newcommand\listtablename{List of Tables}
\fi
\ifdefined\figurename
\renewcommand*\figurename{Figure}
\else
\newcommand\figurename{Figure}
\fi
\ifdefined\tablename
\renewcommand*\tablename{Table}
\else
\newcommand\tablename{Table}
\fi
}
\@ifpackageloaded{float}{}{\usepackage{float}}
\floatstyle{ruled}
\@ifundefined{c@chapter}{\newfloat{codelisting}{h}{lop}}{\newfloat{codelisting}{h}{lop}[chapter]}
\floatname{codelisting}{Listing}
\newcommand*\listoflistings{\listof{codelisting}{List of Listings}}
\makeatother
\makeatletter
\@ifpackageloaded{caption}{}{\usepackage{caption}}
\@ifpackageloaded{subcaption}{}{\usepackage{subcaption}}
\makeatother
\makeatletter
\@ifpackageloaded{tcolorbox}{}{\usepackage[skins,breakable]{tcolorbox}}
\makeatother
\makeatletter
\@ifundefined{shadecolor}{\definecolor{shadecolor}{rgb}{.97, .97, .97}}
\makeatother
\makeatletter
\makeatother
\makeatletter
\makeatother
\ifLuaTeX
\usepackage{selnolig} % disable illegal ligatures
\fi
\usepackage[]{natbib}
\bibliographystyle{region}
\IfFileExists{bookmark.sty}{\usepackage{bookmark}}{\usepackage{hyperref}}
\IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available
\urlstyle{same} % disable monospaced font for URLs
\hypersetup{
pdftitle={Demo REGION format to use as template},
pdfauthor={Gunther Maier; Francisco Rowe},
pdfkeywords={template, demo, region},
colorlinks=true,
linkcolor={blue},
filecolor={Maroon},
citecolor={Blue},
urlcolor={blue},
pdfcreator={LaTeX via pandoc}}
\title{Demo REGION format to use as template}
\author{%
Gunther Maier\parnote{Modul University, Vienna, Austria},
Francisco Rowe\parnote{University of Liverpool, Liverpool, United
Kingdom}}
\date{}
\setcounter{page}{999}
\renewcommand{\thepage}{\arabic{page}} % L for Letters, R for Resources, E for Editorial
\jvol{11}
\jnum{1}
\jyear{2024}
\jpages{999--999}
\jauthor{MISSING}
\received{}
\accepted{}
\jdoi{10.18335/region.v??i??.???}
\setlength{\parskip}{0pt plus1pt}
\setlength{\parindent}{15pt}
% %\bibliographystyle{plainnat}
\bibpunct{(}{)}{,}{a}{}{,} % % changes formatting in natbib, see http://merkel.zoneo.net/Latex/natbib.php
% % It can be moved into the package call!
\begin{document}
\maketitle
\begin{abstract}
This document is only a demo explaining how to use the template.
\end{abstract}
\ifdefined\Shaded\renewenvironment{Shaded}{\begin{tcolorbox}[sharp corners, frame hidden, interior hidden, borderline west={3pt}{0pt}{shadecolor}, boxrule=0pt, enhanced, breakable]}{\end{tcolorbox}}\fi
\hypertarget{sec-intro}{%
\section{Introduction}\label{sec-intro}}
This is a dummy example only for the purpose to use this repo as a
template starter for creating new formats. For this
\texttt{article-format-template} we call our dummy article \texttt{aft}.
This quarto extension format supports PDF and HTML outputs.
\texttt{quarto-journals} is aiming at porting existing {\LaTeX} template
from journals to be used with quarto. PDF format is what require the
most work to fit the journals guideline, but Quarto offer a nice
rendering for HTML output too. This demo format template only use basic
HTML format without any customization for now.
\hypertarget{about-quarto-extensions-formats-and-quarto-journals-article}{%
\section{About Quarto Extensions formats And Quarto Journals
Article}\label{about-quarto-extensions-formats-and-quarto-journals-article}}
First, please get familiar with the following resources:
\begin{itemize}
\tightlist
\item
\href{https://quarto.org/docs/extensions/formats.html}{Creating
Formats} in Quarto as part of the
\href{https://quarto.org/docs/extensions/}{Extensions} mechanism.
\item
\href{https://quarto.org/docs/journals/}{Journals Articles} for
Quarto.
\end{itemize}
\hypertarget{structure-of-this-repository}{%
\section{Structure of this
repository}\label{structure-of-this-repository}}
Everything for the extensions is in \texttt{\_extensions}. See Quarto
doc for details.
\begin{itemize}
\item
In \texttt{partials}, you'll find the \texttt{.tex} partials that can
be used and should be removed or tweaked,s
\item
Your extension can make shortcodes and lua filters available. This
document shows the effect of the one provided in the \texttt{aft}
format.
\item
\texttt{aft} format sets some defaults which are different from
\texttt{pdf} or \texttt{html}, link setting links to URL in read
inside PDF output.
\end{itemize}
Source repository for this template format can found on
\href{https://github.com/quarto-journals/article-format-template}{Github}
\hypertarget{extensionsaft}{%
\subsection{\texorpdfstring{\texttt{\_extensions\textbackslash{}aft}}{\_extensions\textbackslash aft}}\label{extensionsaft}}
In this folder you'll find everything that defines the extensions which
could be installed using \texttt{quarto\ install\ extension} or be part
of the template when using \texttt{quarto\ use\ template}
\begin{description}
\item[Format Metadata]
This is in \texttt{\_extension.yml} is where all the metadata about the
format are defined so that Quarto knows what to use. Adapt this file for
you own template.
\item[Partials]
In \texttt{partials}, there are the \texttt{.tex} files that will be
used as Pandoc's template. We provide here all the partials supported by
Quarto and custom one for this format. Quarto allows to provide partials
to ease the process of tweaking the default latex Pandoc's template and
keeping it up to date.\\
This template repo contains all the relevant partials that you can use
with Quarto \emph{as example}. We only tweaked \texttt{title.tex} to
show the usage of a custom partials called \texttt{\_custom.tex}.\\
\textbf{Only keep the partials that you need to tweak for the format you
are creating}
If you need to completely change the default template (i.g customizing
partials is not enough), then you need to provide your own template to
Pandoc based on
\href{https://github.com/quarto-dev/quarto-cli/blob/main/src/resources/formats/pdf/pandoc/template.tex}{\texttt{template.tex}}
and also using partials or not. This can be provided using the
\texttt{template} YAML key in \texttt{\_extension.yml} for Quarto to use
it.
This is considered advanced configuration as it will be harder to
maintain than only using partials but could be required for some
specific format. Be aware that this may lead to loose some Pandoc or
Quarto features tied to default \texttt{template.tex} content if you
remove some specific parts.
\item[Lua Filters]
Most of the time, custom formats will need Lua filters to provide
specific features like cross format supports or provides custom
shortcodes through the Quarto extension mechanism. Those filters will be
available to the user and could be used in the custom formats (according
to \texttt{\_extensions} metadata). We have provided two examples:
\begin{itemize}
\tightlist
\item
\texttt{color-text.lua}, a Lua filter used to add color to inline text
for PDF and HTML outputs using the same Markdown syntax
\item
\texttt{shorcodes.lua}, a Lua filter which follow
\href{https://quarto.org/docs/authoring/shortcodes.html\#custom-shortcodes}{Quarto
custom shortcodes} guidelines to provide a
\texttt{\{\{\textless{}\ LaTeX\ \textgreater{}\}\}} shortcode to
nicely print LaTeX in PDF and HTML.
\end{itemize}
\textbf{Remove or replace with your own Lua filters}
\item[Format resources]
Resources required by the format needs to be available. We have provided
two examples:
\begin{itemize}
\tightlist
\item
\texttt{te.bst} is a biblio style file for demo. It has been
downloaded from
https://www.economics.utoronto.ca/osborne/latex/TEBST.HTM
(http://econtheory.org/technical/te.bst) - Licence
\href{https://www.latex-project.org/lppl/}{LPPL}
\item
\texttt{aft.cls} is a dummy class file for this example format. It is
a copy of official \texttt{article.cls}, the one provided in LaTeX
installation (i.e at \texttt{kpsewhich\ article.cls}) and renamed as
example (Licence LaTeX Project Public License)
\item
\texttt{custom.scss} is a style file to have a custom theme for our
HTML format so that our Lua filter feature \texttt{color-tex.lua}
works.
\end{itemize}
Those files are referenced within the \texttt{\_extension.yml} to be
used with our example format.
\textbf{Remove and replace with your own resources}
\item[\texttt{.quartoignore}]
Sometimes it is useful to have some files only needed for reference or
for development. They should be available in the source repository but
not downloaded to the user when \texttt{quarto\ use\ template} is used.
\textbf{Use \texttt{.quartoignore} to register such file and folder (one
file or folder per line)}
\item[\texttt{style-guide} folder]
For \texttt{quarto-journals} format, use \texttt{style-guide} folder to
include any documentation and resourced used for format creation, like a
journal style guide or original \texttt{.tex} template. This folder is
already added in \texttt{.quartoignore} in this example repo.
\textbf{Remove, rename or add to this folder}
\item[\texttt{template.qmd}]
This file is the template document that shows how to use the custom
format. It will be downloaded with other resource by
\texttt{quarto\ use\ template}, and even offered to be renamed if the
name \texttt{template.qmd} is used.
This file will usually use the custom format (here \texttt{aft-pdf} and
\texttt{aft-html}) and show how to use the template. When you'll copy
this template, you should be able to render this document to the demo
format.
\textbf{Adapt this file to provide a suitable template for your custom
format}
\item[Other files]
Other files are needed by the template and are usually user provided -
they are not part of the custom format.
Here \texttt{bibliography.bib} is here to demo the usage of the bst file
from the custom format.
\textbf{Remove this file and provide a suitable one for your template}
\end{description}
\newpage{}
\hypertarget{checklist-creating-a-custom-format}{%
\section{Checklist: Creating a custom
format}\label{checklist-creating-a-custom-format}}
Here is the checklist to help you know what to modify:
\begin{itemize}
\tightlist
\item
Read the resources mentioned at the top,
\item
Use this template repo to create a new repository for your format
(Click on ``Use this template'' to create new github repo)
\item
Once you are acquainted with the content, remove the resources that
are there only as example (see above)
\item
Update README by replacing \texttt{aft} and
\texttt{Article\ Format\ Template} mentions for your journal format
\item
Keep only the template partials that you need to tweak, and add custom
ones if needed
\item
Add any Lua filters for shortcodes and other that would be useful to
create the expected output format
\item
Add any external resource your format will need, and that should be
part of the extension format that will be downloaded,
\item
Check \texttt{\_extension.yml} is updated correctly
\item
Modify the skeleton \texttt{template.qmd} to your format and add any
required resources to be downloaded to user.
\item
Check \texttt{.quartoignore} is updated which everything that should
not be downloaded.
\item
Publish a demo of you format to github pages of the repo by using
\texttt{quarto\ publish} command
\end{itemize}
\hypertarget{demo-of-some-features-found-in-this-demo-journal-template}{%
\section{Demo of some features found in this demo journal
template}\label{demo-of-some-features-found-in-this-demo-journal-template}}
\hypertarget{sec-shortcode}{%
\subsection{Shortcode demo}\label{sec-shortcode}}
PDF are rendered using {\LaTeX} but it is best if one can use a Markdown
syntax for cross format support.
\texttt{} used in source is a shortcode syntax where the shortcode is
included in the extension folder \texttt{\_extensions}
\hypertarget{sec-chunks}{%
\subsection{Code chunk}\label{sec-chunks}}
This format hide chunks by default as option has been set in
\texttt{\_extension.yml} file.
But you can set \texttt{echo} option to \texttt{true} locally in the
chunk
\begin{Shaded}
\begin{Highlighting}[]
\NormalTok{m\_pois }\OtherTok{\textless{}{-}} \FunctionTok{glm}\NormalTok{(Days }\SpecialCharTok{\textasciitilde{}}\NormalTok{ (Eth }\SpecialCharTok{+}\NormalTok{ Sex }\SpecialCharTok{+}\NormalTok{ Age }\SpecialCharTok{+}\NormalTok{ Lrn)}\SpecialCharTok{\^{}}\DecValTok{2}\NormalTok{, }\AttributeTok{data =}\NormalTok{ quine, }\AttributeTok{family =}\NormalTok{ poisson)}
\FunctionTok{summary}\NormalTok{(m\_pois)}
\end{Highlighting}
\end{Shaded}
\begin{verbatim}
Call:
glm(formula = Days ~ (Eth + Sex + Age + Lrn)^2, family = poisson,
data = quine)
Coefficients: (1 not defined because of singularities)
Estimate Std. Error z value Pr(>|z|)
(Intercept) 2.93246 0.09826 29.843 < 2e-16 ***
EthN -0.17399 0.12134 -1.434 0.1516
SexM -0.71452 0.12229 -5.843 5.14e-09 ***
AgeF1 -0.04270 0.12691 -0.336 0.7365
AgeF2 -0.08632 0.16164 -0.534 0.5933
AgeF3 -0.15290 0.11898 -1.285 0.1987
LrnSL 0.21608 0.14558 1.484 0.1377
EthN:SexM 0.43902 0.09208 4.768 1.86e-06 ***
EthN:AgeF1 -0.92889 0.14657 -6.337 2.34e-10 ***
EthN:AgeF2 -1.33398 0.13504 -9.879 < 2e-16 ***
EthN:AgeF3 -0.11242 0.13478 -0.834 0.4042
EthN:LrnSL 0.26415 0.11378 2.322 0.0203 *
SexM:AgeF1 -0.05565 0.16303 -0.341 0.7328
SexM:AgeF2 1.09942 0.15281 7.195 6.26e-13 ***
SexM:AgeF3 1.15949 0.13859 8.366 < 2e-16 ***
SexM:LrnSL 0.04143 0.13718 0.302 0.7627
AgeF1:LrnSL -0.13019 0.15688 -0.830 0.4066
AgeF2:LrnSL 0.37340 0.14563 2.564 0.0103 *
AgeF3:LrnSL NA NA NA NA
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
(Dispersion parameter for poisson family taken to be 1)
Null deviance: 2073.5 on 145 degrees of freedom
Residual deviance: 1368.7 on 128 degrees of freedom
AIC: 1993.1
Number of Fisher Scoring iterations: 5
\end{verbatim}
\hypertarget{sec-summary}{%
\subsection{Text color}\label{sec-summary}}
Our format makes applying color on inline text possible using the
\texttt{{[}content{]}\{color=\textless{}name\textgreater{}\}} syntax.
Let's see an example.
Here we are using a special feature of our format which is the coloring
because \textcolor{mypink}{pink is a \textbf{nice} color}.
This is possible thanks to the Lua Filter included in the custom
extension format.
\hypertarget{using-references}{%
\subsection*{Using references}\label{using-references}}
\addcontentsline{toc}{subsection}{Using references}
I did not read this book \citep{CameronTrivedi2013} but it must be
interesting.
Differences between \texttt{aft-html} and \texttt{aft-pdf}:
\begin{itemize}
\tightlist
\item
For the HTML format, we are using Pandoc citeproc to include the
bibliography. Here \texttt{reference-section-title} controls the title
for the chapter that will be used.
\item
For the PDF format, \texttt{natbib} is used by default and the
bibliography is included with a title by the LaTeX template.
\end{itemize}
\bibliography{bibliography.bib}
% This is the COPYRIGHT statement for the article.
\vspace*{\fill}
\tabcolsep0mm
\noindent
\begin{tabular*}{\textwidth}{ll}
\toprule
\multirow{2}{19mm}{\includegraphics[width=18mm,height=10mm]{_extensions/region-ersa/REGION/CC-BY-88x31}} & {\small \multirow{2}{328pt}{\textcopyright\ 2024 by the authors. Licensee: REGION -- The Journal of ERSA, European Regional Science Association, Louvain-la-Neuve, Belgium. This article is distri-}} \\
& \\[-1pt]
\multicolumn{2}{l}{\small \multirow{2}{\textwidth}{buted under the terms and conditions of the Creative Commons Attri\-bution (CC BY) license (\href{http://creativecommons.org/licenses/by/4.0/}{http://creativecommons.org/licenses/by/4.0/}).}}\\
& \\
\bottomrule
\end{tabular*}\end{document}