├── .gitignore
├── thumbnail.png
├── example
├── example.pdf
├── example.bib
├── example.typ
└── fig1.svg
├── src
├── definitions.typ
├── assets
│ └── orcid.svg
├── utils.typ
└── apa7ish.typ
├── typst.toml
├── LICENSE
├── template
└── main.typ
└── README.md
/.gitignore:
--------------------------------------------------------------------------------
1 | template.pdf
2 | template/main.pdf
--------------------------------------------------------------------------------
/thumbnail.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mrwunderbar666/typst-apa7ish/HEAD/thumbnail.png
--------------------------------------------------------------------------------
/example/example.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mrwunderbar666/typst-apa7ish/HEAD/example/example.pdf
--------------------------------------------------------------------------------
/src/definitions.typ:
--------------------------------------------------------------------------------
1 | #let script-size = 8pt
2 | #let footnote-size = 8.5pt
3 | #let small-size = 9.25pt
4 | #let normal-size = 11pt
5 | #let large-size = 1.33 * normal-size
6 |
7 | // Utilities for tables
8 | // thicknesses stolen from latex's booktabs package
9 | #let heavyrulewidth = 0.08em
10 | #let lightrulewidth = 0.05em
11 | #let toprule = table.hline(stroke: heavyrulewidth)
12 | #let midrule = table.hline(stroke: lightrulewidth)
13 | #let bottomrule = table.hline(stroke: heavyrulewidth)
14 | #let tablenote(body) = { align(left, [_Note_. #body]) }
15 |
--------------------------------------------------------------------------------
/typst.toml:
--------------------------------------------------------------------------------
1 | [package]
2 | name = "apa7-ish"
3 | version = "0.3.0"
4 | entrypoint = "src/apa7ish.typ"
5 | authors = ["MrWunderbar"]
6 | license = "MIT"
7 | description = "Manuscript template that (mostly) complies with APA7 Style (Work in Progress)."
8 | repository = "https://github.com/mrwunderbar666/typst-apa7ish"
9 | keywords = ["apa", "american psychological association", "manuscript", "article"]
10 | categories = ["paper"]
11 | compiler = "0.14.0"
12 | exclude = ["example/*"]
13 |
14 | [template]
15 | path = "template"
16 | entrypoint = "main.typ"
17 | thumbnail = "thumbnail.png"
18 |
--------------------------------------------------------------------------------
/src/assets/orcid.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2023 mrwunderbar666
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/template/main.typ:
--------------------------------------------------------------------------------
1 |
2 | // #import "@preview/apa7-ish:0.2.2": *
3 | #import "../src/apa7ish.typ": *
4 |
5 | #show: conf.with(
6 | title: "An Intriguing Title",
7 | subtitle: "Subtitle",
8 | documenttype: "Research Article",
9 | anonymous: false,
10 | authors: (
11 | (
12 | name: "First Last",
13 | email: "email@example.com",
14 | affiliation: "University of Instances",
15 | postal: "Address String",
16 | orcid: "0000-1111-1111-1111",
17 | corresponding: true,
18 | ),
19 | (
20 | name: "First Last",
21 | affiliation: ("University of Instances", "University of Examples"),
22 | orcid: "0000-1111-1111-1111",
23 | ),
24 | ),
25 | abstract: [Abstract goes here],
26 | date: "May 20, 2025",
27 | keywords: [informative, keywords],
28 | funding: [Funding Statement],
29 | )
30 |
31 | = Introduction
32 |
33 | Start writing here.
34 |
35 | #pagebreak()
36 |
37 | = Declaration of Interest Statement
38 | #label("declaration-of-interest-statement")
39 | The authors report there are no competing interests to declare.
40 |
41 | #pagebreak()
42 |
43 | // add your .bib file here
44 | // #bibliography("references.bib")
45 |
--------------------------------------------------------------------------------
/src/utils.typ:
--------------------------------------------------------------------------------
1 |
2 | // utility function: go through all authors and check their affiliations
3 | // purpose is to group authors with the same affiliations
4 | // returns a dict with two keys:
5 | // "authors" (modified author array)
6 | // "affiliations": array with unique affiliations
7 | #let parse-authors(authors) = {
8 | let affiliations = ()
9 | let parsed-authors = ()
10 | let corresponding = ()
11 | let pos = 0
12 | for author in authors {
13 | author.insert("affiliation-parsed", ())
14 | if "affiliation" in author {
15 | if type(author.affiliation) == str {
16 | author.at("affiliation") = (author.affiliation,)
17 | }
18 | for affiliation in author.affiliation {
19 | if affiliation not in affiliations {
20 | affiliations.push(affiliation)
21 | }
22 | pos = affiliations.position(a => a == affiliation)
23 | author.affiliation-parsed.push(pos)
24 | }
25 | } else {
26 | // if author has no affiliation, just use the same as the previous author
27 | author.affiliations-parsed.push(pos)
28 | }
29 | parsed-authors.push(author)
30 | if "corresponding" in author {
31 | if author.corresponding {
32 | corresponding = author
33 | }
34 | }
35 | }
36 | (
37 | authors: parsed-authors,
38 | affiliations: affiliations,
39 | corresponding: corresponding,
40 | )
41 | }
42 |
43 | // utility function to turn a number into a letter
44 | // simulates footnotes
45 | #let number2letter(num) = {
46 | "abcdefghijklmnopqrstuvwxyz".at(num)
47 | }
48 |
49 | #let orcid(height: 10pt, o-id) = [
50 | #box(height: height, baseline: 10%, image("assets/orcid.svg")) #link("https://orcid.org/" + o-id)
51 | ]
52 |
--------------------------------------------------------------------------------
/example/example.bib:
--------------------------------------------------------------------------------
1 | @article{teixeira2015importance,
2 | title={The importance of article titles},
3 | author={Teixeira da Silva, JA},
4 | journal={Biochemia Medica},
5 | volume={25},
6 | number={3},
7 | pages={342--346},
8 | year={2015},
9 | doi={10.11613/BM.2015.036}
10 | }
11 |
12 | @book{hartley2019academic,
13 | title={Academic writing and publishing: a practical handbook},
14 | author={Hartley, James},
15 | year={2019},
16 | publisher={Routledge},
17 | doi={10.4324/9781351130847}
18 | }
19 |
20 | @article{li2019correlation,
21 | title={Correlation analysis of paper title quality and citation frequency},
22 | author={Li, Ying and Liu, Xiaojun and Li, Yongheng and Li, Yu and Zhang, Lixia},
23 | journal={Scientometrics},
24 | volume={121},
25 | number={1},
26 | pages={287--296},
27 | year={2019},
28 | doi={10.1007/s11192-019-03169-z}
29 | }
30 |
31 | @article{moustafa2016importance,
32 | title={The importance of the title in research},
33 | author={Moustafa, Khaled},
34 | journal={Journal of educational and social research},
35 | volume={6},
36 | number={2},
37 | pages={121--126},
38 | year={2016},
39 | doi={10.5901/jesr.2016.v6n2p121}
40 | }
41 |
42 | @book{roig2019avoiding,
43 | title={Avoiding plagiarism, self-plagiarism, and other questionable writing practices: A guide to ethical writing},
44 | author={Roig, Miguel},
45 | year={2019},
46 | publisher={St. John's University},
47 | doi={10.13140/RG.2.2.27024.10245}
48 | }
49 |
50 | @article{wang2015effects,
51 | title={The effects of article title and abstract length on bibliometric indices: A case study of engineering articles in Scopus},
52 | author={Wang, Xianwen and Liu, Chunjie and Mao, Wei and Fang, Zhichao},
53 | journal={Journal of Informetrics},
54 | volume={9},
55 | number={2},
56 | pages={337--345},
57 | year={2015},
58 | doi={10.1016/j.joi.2015.02.007}
59 | }
60 |
61 | @article{west2013role,
62 | title={The role of gender in scholarly authorship},
63 | author={West, Jevin D and Jacquet, Jennifer and King, Molly M and Correll, Shelley J and Bergstrom, Carl T},
64 | journal={PLoS One},
65 | volume={8},
66 | number={7},
67 | pages={66--212},
68 | year={2013},
69 | doi={10.1371/journal.pone.0066212}
70 | }
71 |
72 | @article{jacso2005may,
73 | title={As we may search—comparison of major features of the Web of Science, Scopus, and Google Scholar citation-based and citation-enhanced databases},
74 | author={Jacso, Peter},
75 | journal={Current Science},
76 | volume={89},
77 | number={9},
78 | pages={1537--1547},
79 | year={2005},
80 | doi={10.2307/24114598}
81 | }
82 |
83 | @Manual{palmerpenguins,
84 | title = {palmerpenguins: Palmer Archipelago (Antarctica) penguin data},
85 | author = {Allison Marie Horst and Alison Presmanes Hill and Kristen B Gorman},
86 | year = {2020},
87 | note = {R package version 0.1.0},
88 | doi = {10.5281/zenodo.3960218},
89 | url = {https://allisonhorst.github.io/palmerpenguins/},
90 | }
91 |
92 | @misc{tajima2020projectiletrajectorypenguinsfaeces,
93 | title={Projectile Trajectory of Penguin's Faeces and Rectal Pressure Revisited},
94 | author={Hiroyuki Tajima and Fumiya Fujisawa},
95 | year={2020},
96 | eprint={2007.00926},
97 | archivePrefix={arXiv},
98 | primaryClass={physics.bio-ph},
99 | url={https://arxiv.org/abs/2007.00926},
100 | }
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # APA7 (-ish) Template for Typst
2 |
3 | [Typst](https://typst.app/) template for manuscripts that (mostly) complies with APA7 Style (Work in Progress).
4 |
5 | The template does not follow all recommendations by the APA Manual, especially when the suggestions break with typographic conventions (such as double line spacing :vomiting_face:). Instead, the goal of this template is that it generates you a high-quality manuscript that has all the important components of the APA7 format, but is aesthetically pleasing.
6 |
7 | # Work in Progress
8 |
9 | The following works already quite well:
10 |
11 | - consistent and simple typesetting
12 | - correct display of author information / author note
13 | - citations and references
14 | - Page headers and footers (show short title in header)
15 | - Option to anonymize the paper
16 | - Tables: consisting of 3 parts (caption, content, and table notes)
17 | - figures
18 |
19 | This is still not finished:
20 |
21 | - complete pandoc integration (template for pandoc to replace Latex-based workflows)
22 | - automatic calculation of page margins (currently margins are fixed and optimized for A4 paper)
23 |
24 | # Basic Usage
25 |
26 | The easiest way to get started is to edit the example file, which has sensible default values. Most fields in the configuration are optional and will safely be ignored (not rendered) when you set them to `none`. For a full example with a figure and a table go to the [github repository](https://github.com/mrwunderbar666/typst-apa7ish) and have a look at `example/example.typ`.
27 |
28 | ## Authors
29 |
30 | The `authors` setting expects an array of dictionaries with the following fields:
31 |
32 | ```typst
33 | (
34 | name: "First Name Last Name", // Name of author as it should appear on the paper title page
35 | affiliation: "University, Department", // affiliation(s) of author as it should appear on the title page
36 | orcid: "0000-0000-0000-0000", // optional for author note
37 | corresponding: true, // optional to mark an author as corresponding author
38 | email: "email@upenn.edu", // optional email address, required if author is corresponding
39 | postal: "Longer string", // optional postal address for corresponding author
40 | )
41 | ```
42 |
43 | Note that the `affiliation` field also accepts an array, in case an author has several affiliations:
44 |
45 |
46 | ```typst
47 | (
48 | name: "First Name Last Name",
49 | affiliation: ("University A", "University B")
50 | ...
51 | )
52 | ```
53 |
54 | ## Anonymization
55 |
56 | Sometimes you need to submit a paper without any author information. In such cases you can set `anonymous` to `true`.
57 |
58 | ## Tables
59 |
60 | The template has basic support for tables with a handful of utilities. Analogous to the [Latex booktabs package](https://ctan.org/pkg/booktabs), there are pre-defined horizontal lines ("rules"):
61 |
62 | - `#toprule`: used at the top of the table, before the first row
63 | - `#midrule`: used to separate the header row, or to separate a totals row at the bottom
64 | - `#bottomrule`: used after the last row (technically the same as toprule, but may be useful later to define custom behaviour)
65 |
66 | Additionally, there is a `#tablenote` function to be used to place a table note below the table.
67 |
68 | A minimal usage example (taken from the typst documentation):
69 |
70 | ```typst
71 | // wrap everything in a #figure
72 | #figure(
73 | [
74 | #table(
75 | columns: 2,
76 | align: left,
77 | toprule, // separate table from other content
78 | table.header([Amount], [Ingredient]),
79 | midrule, // separation between table header and body
80 | [360g], [Baking flour],
81 | [250g], [Butter (room temp.)],
82 | [150g], [Brown sugar],
83 | [100g], [Cane sugar],
84 | [100g], [70% cocoa chocolate],
85 | [100g], [35-40% cocoa chocolate],
86 | [2], [Eggs],
87 | [Pinch], [Salt],
88 | [Drizzle], [Vanilla extract],
89 | bottomrule // separation after the last row
90 | )
91 | // tablenote goes after the #table
92 | #tablenote([Here are some additional notes.])
93 | ],
94 | // caption is part of the #figure
95 | caption: [Here is the table caption]
96 | )
97 | ```
98 |
99 | # Figure Credit
100 |
101 | Example figure `template/fig1.svg` taken from this study: Tajima, H., & Fujisawa, F. (2020). *Projectile Trajectory of Penguin's Faeces and Rectal Pressure Revisited*. [arxiv: 2007.00926](https://arxiv.org/abs/2007.00926)
102 |
103 | # Contributing
104 |
105 | - Feel free to raise an issue in the github repository (e.g., tweaks, feature requests, bugs, etc)
106 | - Pull requests are always welcome!
--------------------------------------------------------------------------------
/src/apa7ish.typ:
--------------------------------------------------------------------------------
1 | #import "utils.typ": *
2 | #import "definitions.typ": *
3 |
4 | #let conf(
5 | title: "An Intriguing Title",
6 | subtitle: none,
7 | abstract: none,
8 | authors: (),
9 | date: none,
10 | documenttype: none,
11 | keywords: none,
12 | disclosure: none,
13 | funding: none,
14 | anonymous: false,
15 | language: "en",
16 | papersize: "a4",
17 | fontfamily: "Libertinus Serif",
18 | text-number-type: "old-style",
19 | text-number-width: "proportional",
20 | body,
21 | ) = {
22 | // Set the document's basic properties.
23 | set document(author: authors.map(a => a.name), title: title)
24 | set page(
25 | numbering: "1",
26 | paper: papersize,
27 | number-align: top + right,
28 | margin: 33mm,
29 | header: {
30 | context if counter(page).get().at(0) > 1 [
31 | #smallcaps(lower(title))
32 | #h(1fr)
33 | #here().page()
34 | ]
35 | },
36 | )
37 |
38 | set text(
39 | font: fontfamily,
40 | lang: language,
41 | size: normal-size,
42 | number-type: text-number-type,
43 | number-width: text-number-width,
44 | )
45 |
46 | // Set paragraph spacing and leading.
47 | // Using Bringhurst's definition of "leading" which is from baseline to baseline
48 | // In his terms, the default setting is equivalent to 11/13
49 | // Caveat of changing Typst's "leading" definition is that all default settings
50 | // have to be set again (that's why there are so many definitions necessary below)
51 | set text(top-edge: 1em, bottom-edge: "baseline")
52 | set par(spacing: 2pt, leading: 2pt)
53 |
54 | /////////////////////
55 | // Style Definitions
56 | /////////////////////
57 |
58 | // Set Heading styles
59 | show heading: it => {
60 | if it.level == 1 {
61 | v(1em)
62 | align(center, text(it, size: normal-size))
63 | } else {
64 | let wght = "bold"
65 | if it.level > 2 {
66 | wght = "regular"
67 | }
68 | v(0.5em)
69 | align(emph(text(it, size: normal-size, weight: wght)))
70 | }
71 | v(1em, weak: true)
72 | }
73 |
74 | // Lists
75 | set list(indent: 1em)
76 | show list: self => {
77 | v(0.5em)
78 | self
79 | v(0.5em)
80 | }
81 |
82 | // Bibliography
83 | set bibliography(title: "References", style: "american-psychological-association")
84 |
85 | // Tables
86 | set table(stroke: 0pt)
87 | show table: tbl => {
88 | set block(spacing: 0.5em)
89 | set text(number-type: "lining", number-width: "tabular")
90 | tbl
91 | }
92 |
93 | // Figures
94 | show figure: set block(above: 2em, below: 2em)
95 | set figure.caption(position: top)
96 | show figure.caption: self => [
97 | #align(left)[
98 | *#self.supplement*
99 | #context [*#self.counter.display(self.numbering)*] \ #emph(self.body)
100 | ]
101 | #v(0.5em, weak: true)
102 | ]
103 |
104 | // Footnotes
105 | set footnote.entry(gap: 2pt)
106 | show footnote.entry: it => {
107 | set par(leading: 1pt)
108 | set text(size: footnote-size)
109 | it
110 | }
111 |
112 | // Links
113 | show link: set text(number-type: "lining", number-width: "tabular")
114 |
115 |
116 | /////////////////
117 | // Make Title Page
118 | /////////////////
119 |
120 | align(center)[
121 | #if documenttype != none [
122 | #smallcaps(lower(documenttype)) \ #v(0.2em)
123 | ]
124 | #text(1.5em, title) #v(0.4em, weak: true) \
125 | #if subtitle != none [
126 | #text(1.2em, subtitle) \
127 | ]
128 | #v(3em, weak: true)
129 | ]
130 |
131 | let authors-parsed = parse-authors(authors)
132 |
133 | // List Authors
134 | if not anonymous {
135 | let chunked = authors-parsed.authors.chunks(3)
136 | pad(
137 | top: 0.3em,
138 | bottom: 0.3em,
139 | x: 2em,
140 | {
141 | for chunk in chunked {
142 | stack(dir: ltr,
143 | spacing: 3em,
144 | ..chunk.map(author => align(center)[#author.name#super[#h(1pt)#author.affiliation-parsed.map(pos => number2letter(pos)).sorted().join(", ")]]))
145 | v(1.5em)
146 | }
147 | },
148 | )
149 |
150 | v(1em)
151 |
152 | align(center)[
153 | #for (idx, affiliation) in authors-parsed.affiliations.enumerate() [
154 | #context super(number2letter(idx))#h(1pt)#emph(affiliation) \
155 | ]
156 | #v(1em)
157 | #date
158 | #v(2em, weak: true)
159 | ]
160 | } else {
161 | align(center)[
162 | #date
163 | ]
164 | }
165 |
166 | // Abstract & Keywords
167 | set par(justify: true)
168 | if abstract != none {
169 | heading(outlined: false, numbering: none, text(normal-size, weight: "regular", [Abstract]))
170 | align(center)[
171 | #block(
172 | width: 90%,
173 | [
174 | #align(left)[
175 | #abstract \
176 | #v(0.5em)
177 | #if keywords != none [
178 | #emph("Keywords: ") #keywords
179 | ]
180 | ]
181 | ],
182 | )
183 | ]
184 | }
185 |
186 | // Author Note
187 | if not anonymous {
188 | heading(outlined: false, numbering: none, text(normal-size, weight: "bold", [Author Note]))
189 |
190 | // ORCID IDs
191 | for author in authors-parsed.authors {
192 | set par(spacing: 0.4em)
193 | if "orcid" in author [
194 | #author.name #orcid(author.orcid) \
195 | ]
196 | }
197 |
198 | // Disclosures and Acknowledgements
199 | v(0.5em)
200 | if disclosure != none [
201 | #disclosure \
202 | ] else [
203 | We have no conflicts of interest to disclose. \
204 | ]
205 |
206 | if funding != none [
207 | #funding \
208 | ]
209 |
210 | // Contact Information
211 | [Correspondence concerning this article should be addressed to
212 | #authors-parsed.corresponding.name, ]
213 | if "postal" in authors-parsed.corresponding [ #authors-parsed.corresponding.postal, ]
214 | if (
215 | "email" in authors-parsed.corresponding
216 | ) [Email: #link("mailto:" + authors-parsed.corresponding.email, authors-parsed.corresponding.email)]
217 | }
218 |
219 | pagebreak()
220 |
221 | // Main body.
222 | set par(first-line-indent: 2em)
223 |
224 | body
225 | }
226 |
--------------------------------------------------------------------------------
/example/example.typ:
--------------------------------------------------------------------------------
1 |
2 | // #import "@preview/apa7-ish:0.2.2": *
3 | #import "../src/apa7ish.typ": *
4 |
5 | #show: conf.with(
6 | title: "A Title is all you need",
7 | subtitle: "The impact of a good title on a paper's citations count",
8 | documenttype: "Research Article",
9 | anonymous: false,
10 | authors: (
11 | (
12 | name: "Klaus Krippendorff",
13 | email: "email@upenn.edu",
14 | affiliation: "University of Pennsylvania",
15 | postal: "Department of Communication, University of Pennsylvania, Philadelphia, PA 19104",
16 | orcid: "0000-1111-1111-1111",
17 | corresponding: true,
18 | ),
19 | (
20 | name: "Ashish Vaswani",
21 | affiliation: ("Google Brain", "University of Pennsylvania"),
22 | orcid: "0000-1111-1111-1111",
23 | ),
24 | (
25 | name: "Niklas Luhmann",
26 | affiliation: "University of Pennsylvania",
27 | orcid: "0000-1111-1111-1111",
28 | ),
29 | ),
30 | abstract: [Title of a scientific paper is an important element that conveys the main message of the study to the readers.
31 | In this study, we investigate the impact of paper titles on citation count, and propose that the title alone has the highest impact on citation count.
32 | Using a dataset of 1000 scientific papers from various disciplines, we analyzed the correlation between the characteristics of paper titles, such as length, clarity, novelty, and citation count. Our results show that papers with clear,
33 | concise, and novel titles tend to receive more citations than those with longer or less informative titles.
34 | Moreover, we found that papers with creative and attention-grabbing titles tend to attract more readers and
35 | citations, which supports our hypothesis that the title alone has the highest impact on citation count.
36 | Our findings suggest that researchers should pay more attention to crafting effective titles that accurately
37 | and creatively summarize the main message of their research, as it can have a significant impact on the success
38 | and visibility of their work.
39 | ],
40 | date: "May 16, 2024",
41 | keywords: [content analysis, citation, bibliometrics],
42 | funding: [This research received funding by the Ministry of Silly Walks (Grant ID: 123456).],
43 | )
44 |
45 | = Introduction
46 |
47 | Title of a scientific paper is an important element @teixeira2015importance that conveys the main message of the study to the readers @hartley2019academic.
48 | In this study, we investigate the impact of paper titles on citation count, and propose that the title alone has the highest impact on citation count (#ref()).
49 |
50 | #figure(
51 | image("fig1.svg", width: 50%),
52 | caption: [Configuration for a penguin trying to defecate towards his/her rear side.
53 | A penguin stands on the rock with the height $h$ from the ground.
54 | We parameterize the ejection angle $#sym.theta$ with the initial velocity $\bm{v}=(v_{0x},v_{0y})$ We estimate a flying distance $d$ of the faeces from the origin $O$. Source: #cite(, form: "full")
55 | ],
56 | )
57 |
58 | Using a dataset of 1000 scientific papers from various disciplines, we analyzed the correlation between the characteristics of paper titles, such as length, clarity, novelty, and citation count @li2019correlation. Our results show that papers with clear,
59 | concise, and novel titles tend to receive more citations than those with longer or less informative titles @west2013role.
60 | Moreover, we found that papers with creative and attention-grabbing titles tend to attract more readers and
61 | citations, which supports our hypothesis that the title alone has the highest impact on citation count (see this link: #link("https://example.com/")).
62 | Our findings suggest that researchers should pay more attention to crafting effective titles that accurately
63 | and creatively summarize the main message of their research, as it can have a significant impact on the success
64 | and visibility of their work.
65 |
66 | #figure(
67 | [
68 | #table(
69 | columns: 9,
70 | align: (x, y) => if x == 0 { left } else if y < 2 { center } else { right },
71 | toprule,
72 | table.header(
73 | [],
74 | table.cell(colspan: 2, [Adelie]),
75 | table.cell(colspan: 2, [Chinstrap]),
76 | table.cell(colspan: 2, [Gentoo]),
77 | [$ F(2, 339) $],
78 | [$ eta^2 $],
79 | ),
80 |
81 | [Measure], [M], [SD], [M], [SD], [M], [SD], [], [],
82 | midrule, [Body mass (kg)], [3.7], [0.46], [3.73], [0.38], [5.08], [0.5], [343.63\*\*\*],
83 | [0.67], [Flipper length (mm)], [189.95], [6.54], [195.82], [7.13], [217.19], [6.48], [594.8\*\*\*],
84 | [0.78], [Bill length (mm)], [38.79], [2.66], [48.83], [3.34], [47.5], [3.08], [410.6\*\*\*],
85 | [0.71], bottomrule,
86 | )
87 | #tablenote([N = 344. \*\*\*p < .001. Data source: #cite(, form: "prose"). For details see: https://allisonhorst.github.io/palmerpenguins/])
88 | ],
89 | caption: [Means, Standard Deviations, and One-Way Analyses of Variance of Penguin species observed at Palmer Station in Antarctica],
90 | )
91 |
92 | = Literature Review
93 |
94 | == Penguins in Academia
95 | #lorem(120)
96 |
97 | #lorem(50)
98 |
99 | #lorem(80)#footnote[Here is a footnote.]
100 |
101 | #lorem(100)#footnote[Here is another footnote.]
102 |
103 | == Citations of catchy titles
104 | #lorem(50)
105 |
106 | #quote([#lorem(30)], attribution: [#cite(, form: "prose")], block: true)
107 |
108 | #lorem(50)
109 |
110 | = Data & Methods
111 | #lorem(20)
112 |
113 | - Quod idem licet transferre in voluptatem, ut postea variari voluptas distinguique possit, augeri amplificarique non possit.
114 | - At etiam Athenis, ut e patre audiebam facete et urbane Stoicos irridente, statua est in quo a nobis philosophia defensa et collaudata est, cum id, quod maxime placeat, facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet, ut et voluptates repudiandae sint et molestiae non recusandae.
115 | - Itaque earum rerum defuturum, quas natura non depravata desiderat. Et quem
116 |
117 | #lorem(18)
118 |
119 | - Quod idem licet transferre in voluptatem, ut postea variari voluptas distinguique possit, augeri amplificarique non possit.
120 | - At etiam Athenis, ut e patre audiebam facete et urbane Stoicos irridente, statua est in quo a nobis philosophia defensa et collaudata est, cum id, quod maxime placeat, facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet, ut et voluptates repudiandae sint et molestiae non recusandae.
121 | - Itaque earum rerum defuturum, quas natura non depravata desiderat. Et quem
122 |
123 |
124 | = Results
125 | #lorem(320)#footnote[Here is a long footnote. #lorem(30)]
126 |
127 | #pagebreak()
128 |
129 | = Declaration of Interest Statement
130 | #label("declaration-of-interest-statement")
131 | The authors report there are no competing interests to declare.
132 |
133 | #pagebreak()
134 |
135 | #bibliography("example.bib")
136 |
--------------------------------------------------------------------------------
/example/fig1.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
414 |
--------------------------------------------------------------------------------