Download src/papers/guide.md from zal-analytics-core/znote-data: direct link, hf CLI and curl.
- Browser
- Download file 5.86 kB
-
https://huggingface.co/datasets/zal-analytics-core/znote-data/resolve/main/src/papers/guide.md
- Command line
-
hf download hf://datasets/zal-analytics-core/znote-data/src/papers/guide.md
-
curl -L -o guide.md https://huggingface.co/datasets/zal-analytics-core/znote-data/resolve/main/src/papers/guide.md
Research papers templates
Three templates for scholarly papers: an IEEE conference paper (charged-ieee), an AMS mathematics
article (unequivocal-ams) and an arXiv-style preprint (arkheion). A page uses one of them; check
its header to see which, and use only that template's section below.
Templates
IEEE paper
charged-ieee 0.1.4. Two-column IEEE layout. Parameters of ieee:
title([Paper Title]),abstract(none),index-terms((), shown after the abstract).authors(()): dictionaries withnameand optionaldepartment,organization,location,email.paper-size("us-letter"),bibliography(none),figure-supplement([Fig.], the word used when referring to image figures).
AMS article
unequivocal-ams 0.1.2. One-column American Mathematical Society style. Parameters of
ams-article:
title([Paper title]),abstract(none),paper-size("us-letter"),bibliography(none).authors(()): dictionaries withnameand optionaldepartment,organization,location,email,url. Affiliations and emails are printed at the end of the article.
Preprint
arkheion 0.1.2. One-column arXiv-style preprint. Parameters of arkheion:
title(""),abstract(none),keywords(()),date(none).authors(()): dictionaries withname,email,affiliationand optionalorcid.custom-authors(none): content that replaces the author block.
These values live in the header. Write the page body below it.
Writing a page
All three print the title, authors and abstract from the header. Do not repeat them in the body.
Label things with <name> and refer to them with @name.
IEEE paper
=is a section: centred small caps, numberedI.,II.. A section titledAcknowledgment(orAcknowledgement(s)) is not numbered.==is a subsection: italic, numberedA..===is a run-in italic heading numbereda).- Text is two columns, 10pt, justified. Numbered lists use
1),a),i). - Block equations are numbered
(1);@eqprints just(1). - Image figures are captioned
Fig. 1.; table figuresTABLE Iwith the caption above. - A figure can float with
placement: toporbottom; addscope: "parent"to span both columns. - References use the IEEE style with the title "References". The bibliography appears only if a
.bibfile is set in the header or written as#bibliography("file.bib")at the end of the body.
AMS article
=is a section: centred small caps, numbered1..==is a bold run-in heading (1.1. Title.),===an italic run-in heading.- Block equations are not numbered.
- Figure captions read
Figure 1. Caption, tablesTable 1. Caption, with small-caps labels. - Use
theoremandproof(see Helpers) for results. Theorem numbering restarts at every=. - References use the
springer-mathphysstyle with the title "References".
Preprint
- Headings are numbered
1,1.1,1.1.1.====and deeper become bold run-in paragraph headings without a number. - Block equations are numbered
(1). For one unnumbered equation use#math.equation(block: true, numbering: none, $ ... $). - Page numbers are centred at the bottom.
- Use plain
#figure(table(...), caption: [...])and#figure(image(...), caption: [...]). - Appendices go at the very end with
arkheion-appendices(see Helpers).
Helpers
IEEE paper
The header imports only ieee. There are no helpers; use plain markup.
= Introduction
Typesetting slows researchers down.
== Overview
We measure the effect in @tab:times and derive @eq:speed.
$ v = d / t $ <eq:speed>
#figure(
table(
columns: 2,
table.header[System][Time (s)],
[A], [12],
[B], [7],
),
caption: [Compile times],
) <tab:times>
= Acknowledgment
We thank our colleagues.
AMS article
The header imports ams-article, theorem and proof.
theorem(body, numbered: true): a numbered theorem with a bold "Theorem" label and italic text.
Pass numbered: false for no number. Label it to refer to it.
= Results
#theorem[
The square of any real number is non-negative.
] <thm:square>
#theorem(numbered: false)[Every bounded monotone sequence converges.]
proof(body): an italic "Proof." label and the body, ending with a square at the right margin.
#proof[
If $x >= 0$ then $x^2 = x x >= 0$. If $x < 0$ then $x^2 = (-x)^2 > 0$.
]
There are no lemma or definition helpers. Write those as a normal paragraph, e.g.
*Definition.* A set is ....
Preprint
The header imports arkheion and arkheion-appendices.
arkheion-appendices: apply as a show rule after the main text. It starts a new page and renumbers
headings: = becomes APPENDIX A, B, ... and == becomes A.1. Everything after it is appendix,
so put it last.
= Conclusion
The method works.
#show: arkheion-appendices
= Proofs
== Proof of the main lemma
The argument follows.
Do not
- Do not add
#set page,#set text,#set par,#set headingor font changes; the template sets them. - Do not pick your own colours (
fill:,rgb(...),text(fill: ...)). - Do not draw your own boxes or blocks for theorems, proofs, abstracts or keywords: the header prints
the abstract, and AMS has
theoremandproof. - Do not remove or edit the template header between
// znote:templateand// znote:end. - Do not write the title, author names or abstract again in the body.
- Do not number headings by hand (
= 1. Introduction); numbering is automatic. - Do not use helpers from another template:
theoremandproofexist only in AMS article,arkheion-appendicesonly in Preprint. - Do not add
#bibliography(...)or@citationsunless the user has a.bibfile. - Preprint: use
#show: arkheion-appendicesat most once.