├── .gitignore ├── LICENSE ├── README.md ├── adonis.cls ├── docs.pdf ├── docs.tex ├── quickstart.tex └── screenshots ├── close-up-dark.png ├── close-up-light.png ├── close-up-mix.png ├── close-up-mix.xcf ├── close-up.png ├── one-column.png └── two-column.png /.gitignore: -------------------------------------------------------------------------------- 1 | *.aux 2 | *.log 3 | *.out 4 | *.synctex.gz 5 | *.txss2 6 | quickstart.pdf 7 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2023 Nicholas Mamo 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 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Adonis: a LaTeX template 2 | 3 | A simple, elegant LaTeX template with dark mode support. 4 | 5 | ![](screenshots/close-up-mix.png) 6 | 7 | ## Description 8 | 9 | Adonis is a LaTeX template designed to prioritize both form and function. 10 | The template extends the base _article_ template with a new layout, new typography and other miscellaneous changes. 11 | The goal: to make writing, revising and reading journal articles and conference proceeding papers a more artistic endeavor. 12 | At its core, Adonis has three principles: simplicity, readability and aesthetic. 13 | 14 | ## Getting Started 15 | 16 | If you are only interested in writing, you can copy `quickstart.tex`. 17 | The preamble consists of optional commands to make full use of the template. 18 | If you want to learn more about the `adonis` theme, you can read the `docs.pdf` file. 19 | 20 | ![](screenshots/one-column.png) 21 | 22 | By default, the template uses a one-column layout. 23 | However, you can change how it looks using the following options in the preamble: 24 | 25 | - `dark`: use a dark background and light foreground 26 | - `legacy`: add backwards compatibility for missing fonts in old versions of TeX Live 27 | - `twocolumn`: use a two-column layout 28 | - `wide`: give the text wider space by using narrower margins 29 | 30 | ### Dependencies 31 | 32 | * LaTeX 33 | 34 | ### Installing 35 | 36 | The easiest way to get started is by cloning this repository and editing `quickstart.tex`. 37 | Alternatively, you can download the `adonis.cls` class and place it in the same directory as your `.tex` file. 38 | Set the _Adonis_ document class in the preamble: `\documentclass{adonis}`. 39 | 40 | ## Help 41 | 42 | To learn more about what motivated Adonis, the choices that informed its design, and how you can use the template, read `docs.pdf`. 43 | If you find any issues, or if you have suggestions to make Adonis better, you can open an issue on this repository. 44 | 45 | ## Authors 46 | 47 | - [Nicholas Mamo](https://github.com/NicholasMamo/) 48 | 49 | ## License 50 | 51 | This project is licensed under the MIT License. 52 | See the LICENSE.md file for details. 53 | 54 | ## Acknowledgments 55 | 56 | * [DomPizzie](https://gist.github.com/DomPizzie) for the [README.md template](https://gist.github.com/DomPizzie/7a5ff55ffa9081f2de27c315f5018afc) 57 | * [inuzm](https://github.com/inuzm) for suggesting the Noto font for math text 58 | -------------------------------------------------------------------------------- /adonis.cls: -------------------------------------------------------------------------------- 1 | \NeedsTeXFormat{LaTeX2e} 2 | \ProvidesClass{adonis}[2023/11/05 Adonis LaTeX article class] 3 | 4 | % OPTIONS 5 | 6 | \RequirePackage{etoolbox} 7 | \newbool{dark} \boolfalse{dark} 8 | \newbool{legacy} \boolfalse{legacy} 9 | \newbool{twocolumn} \boolfalse{twocolumn} 10 | \newbool{wide} \boolfalse{wide} 11 | 12 | \DeclareOption{dark}{\booltrue{dark}} 13 | \DeclareOption{legacy}{\booltrue{legacy}} 14 | \DeclareOption{twocolumn}{ 15 | \PassOptionsToClass{\CurrentOption}{article} 16 | \booltrue{twocolumn} 17 | } 18 | \DeclareOption{wide}{\booltrue{wide}} 19 | \DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} 20 | \ProcessOptions\relax 21 | \LoadClass{article} 22 | 23 | % LAYOUT 24 | 25 | % enable frame using the `showframe` option 26 | % page size and margins: https://www.overleaf.com/learn/latex/Page_size_and_margins 27 | \ifboolexpr{bool {twocolumn} or bool {wide}}{\def\margin{25mm}}{\def\margin{40mm}} 28 | \RequirePackage[a4paper, bindingoffset=0.2in, 29 | left=\margin, right=\margin, top=57mm, bottom=57mm, 30 | footskip=15mm]{geometry} 31 | 32 | % dark mode: set the page color to a dark grey and text color to white 33 | \ifbool{dark}{ 34 | \RequirePackage{pagecolor} 35 | \RequirePackage{xcolor} 36 | 37 | \definecolor{DarkGrey}{HTML}{121212} 38 | 39 | \pagecolor{DarkGrey} 40 | \color{white} 41 | }{} 42 | 43 | % add space between columns 44 | \setlength{\columnsep}{10mm} 45 | 46 | % header and footer 47 | \newcommand\runningauthor[1]{\gdef\@runningauthor{#1}} 48 | \newcommand\runningtitle[1]{\gdef\@runningtitle{#1}} 49 | \RequirePackage{fancyhdr} 50 | \pagestyle{fancy} 51 | \thispagestyle{empty} % not on first page 52 | \lhead{\footnotesize \ifdefined\@runningauthor \@runningauthor \else \@author \fi} 53 | \rhead{\footnotesize \ifdefined\@runningtitle \@runningtitle \else \@title \fi} 54 | \cfoot{\footnotesize \thepage} 55 | 56 | % title 57 | \newcommand\subtitle[1]{\gdef\@subtitle{#1}} 58 | \newcommand\affiliation[1]{\gdef\@affiliation{#1}} 59 | \newcommand\correspondence[1]{\gdef\@correspondence{#1}} 60 | \newcommand\version[1]{\gdef\@version{#1}} 61 | \renewcommand\abstract[1]{\gdef\@abstract{#1}} 62 | 63 | % show the rest of the frontmatter as a footer 64 | \RequirePackage{newfloat} 65 | \DeclareFloatingEnvironment[placement={!b}]{frontmatter} 66 | \newenvironment{frontmattercontainer}[1][]{ 67 | \begin{frontmatter} 68 | \rule{\linewidth}{0.5pt} 69 | \footnotesize 70 | }{ 71 | \end{frontmatter} 72 | } 73 | 74 | \renewcommand{\maketitle}{ 75 | \noindent 76 | \ifdef{\@title}{ 77 | \begin{flushleft} 78 | {\ifbool{twocolumn}{\Large}{\huge} \selectfont \noindent 79 | \@title 80 | \ifdef{\@subtitle}{\vspace{-0.2cm}}{\vspace{0.2cm} \par} 81 | } 82 | \end{flushleft}}{} 83 | \ifdef{\@subtitle}{ 84 | \begin{flushleft} 85 | {\large \selectfont \noindent 86 | \textit{\@subtitle} \par 87 | } 88 | \end{flushleft}}{} 89 | \ifdef{\@author}{{\small \selectfont \noindent \@author \vspace{0.25cm} \par}}{} 90 | \ifdef{\@abstract}{{\small \fontshape{it} \selectfont \noindent \@abstract \par}}{} 91 | {\noindent\rule{\linewidth}{0.5pt} } 92 | \ifbool{twocolumn}{\vspace{\fill}}{} 93 | 94 | \ifboolexpr{test {\ifdef{\@affiliation}} or test {\ifdef{\@correspondence}} or test {\ifdef{\@version}}}{ 95 | \begin{frontmattercontainer} 96 | \ifdef{\@affiliation}{{\sffamily\fontseries{sb}\selectfont\scshape Affiliation} \@affiliation \par}{} 97 | 98 | \ifdef{\@correspondence}{{\sffamily\fontseries{sb}\selectfont\scshape Correspondence} \@correspondence \par}{} 99 | 100 | \ifdef{\@version}{{\sffamily\fontseries{sb}\selectfont\scshape Version} \@version \par}{} 101 | \end{frontmattercontainer} 102 | }{} 103 | } 104 | 105 | % TYPOGRAPHY 106 | 107 | % load the Noto font first so that it only affects mathematical notation 108 | % the font requires TeXlive 2021 or later 109 | \ifbool{legacy}{}{\RequirePackage[scale=0.95]{notomath}} 110 | 111 | % the class requires 'Source Serif' to be installed 112 | % you may need to download and install the package, and then clear font cache using `fc-cache` 113 | % other fonts: https://tug.org/FontCatalogue/ 114 | % 115 | % to use a font temporarily, see their packages 116 | % for example, the quattrocento font uses macros \quattrocento and \quattrocentosans: https://www.ctan.org/tex-archive/fonts/quattrocento/ 117 | % bookman uses \fontfamily{pbk}, which are the first three letters of the font: https://www.ctan.org/tex-archive/fonts/psfonts/psnfss-source/bookman 118 | % 119 | % debug in-use fonts with: `\meaning\sfdefault` and `\meaning\rmdefault` 120 | \RequirePackage[rmdefault]{sourceserifpro} 121 | \RequirePackage[sfdefault]{sourcesanspro} 122 | \RequirePackage[T1]{fontenc} 123 | 124 | % set the default fonts 125 | \renewcommand\familydefault{\rmdefault} 126 | \renewcommand{\ttdefault}{txtt} 127 | 128 | % add protrusion (punctuation can bleed into margins) and text expansion (to vary font width for more even spacing) 129 | % docs: https://ctan.math.illinois.edu/macros/latex/contrib/microtype/microtype.pdf 130 | \RequirePackage[protrusion=true,factor=500,expansion=true]{microtype} 131 | \DisableLigatures{encoding=T1,shape=sc} 132 | 133 | % font size: https://www.overleaf.com/learn/latex/Writing_your_own_class 134 | \ifbool{twocolumn}{\def\lineheight{13}}{\def\lineheight{14}} 135 | \renewcommand{\tiny}{\fontsize{7}{10}\selectfont} 136 | \renewcommand{\footnotesize}{\fontsize{8}{11}\selectfont} 137 | \renewcommand{\small}{\fontsize{9.5}{12.5}\selectfont} 138 | \renewcommand{\normalsize}{\fontsize{10}{\lineheight}\selectfont} 139 | \renewcommand{\large}{\fontsize{13}{15}\selectfont} 140 | \renewcommand{\Large}{\fontsize{16}{19}\selectfont} 141 | \renewcommand{\LARGE}{\fontsize{18}{21}\selectfont} 142 | \renewcommand{\huge}{\fontsize{20}{24}\selectfont} 143 | 144 | % font weights: https://ctan.mirror.garr.it/mirrors/ctan/macros/latex/base/fntguide.pdf 145 | \renewcommand\textbf[1]{{\fontseries{sb}\selectfont#1}} 146 | 147 | % More on plus and minus: https://latexref.xyz/Lengths.html 148 | \RequirePackage{titlesec} 149 | \titleformat{\section} % command 150 | {\sffamily\fontseries{sb}\scshape\fontsize{10}{10}\selectfont} % format 151 | {\thesection} % label 152 | {0pt} % skip 153 | {\hspace*{1ex}} % space between number and heading 154 | \titlespacing{\section}{0pt} 155 | {4ex plus 0.5ex minus .5ex} % beforeskip 156 | {1ex plus 0.2ex minus .2ex} % afterskip 157 | \titleformat{name=\section,numberless} % command 158 | {\sffamily\fontseries{sb}\scshape\fontsize{10}{10}\selectfont} % format 159 | {} % no label 160 | {0pt} % skip 161 | {} % no space between number and heading 162 | 163 | \titleformat{\subsection} % command 164 | {\sffamily\fontseries{sb}\scshape\fontsize{10}{10}\selectfont} % format 165 | {\thesubsection} % label 166 | {0pt} % skip 167 | {\hspace*{1ex}} % space between number and heading 168 | \titlespacing{\subsection}{0pt} 169 | {2ex plus 0.5ex minus .5ex} % beforeskip 170 | {1.5ex plus 0.2ex minus .2ex} % afterskip 171 | 172 | \titleformat{\subsubsection} % command 173 | [runin] 174 | {\sffamily\fontseries{sb}\scshape\fontsize{10}{10}\selectfont} % format 175 | {\thesubsubsection} % label 176 | {0pt} % skip 177 | {\hspace*{1ex}} % space between number and heading 178 | \titlespacing{\subsubsection}{0pt} 179 | {1ex plus 0.5ex minus .5ex} % beforeskip 180 | {1ex plus 0.2ex minus .2ex} % afterskip 181 | 182 | % OTHER ELEMENTS 183 | 184 | % tables 185 | \setlength{\tabcolsep}{10pt} % cell padding 186 | \renewcommand{\arraystretch}{1.5} % row spacing 187 | 188 | % margin notes 189 | \makeatletter 190 | \renewcommand{\@marginparreset}{\reset@font\footnotesize\@setminipage} 191 | \makeatother 192 | 193 | % horizontal separator 194 | \newcommand{\separator}{ 195 | \begin{center} 196 | \rule{0.618\linewidth}{0.5pt} 197 | \end{center} 198 | } -------------------------------------------------------------------------------- /docs.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NicholasMamo/adonis-template/133d2fd9ec5a82526818b46b9641d13924bcdcac/docs.pdf -------------------------------------------------------------------------------- /docs.tex: -------------------------------------------------------------------------------- 1 | \documentclass{adonis} 2 | \usepackage{hyperref} 3 | \usepackage{tabularx} 4 | \usepackage{xurl} 5 | 6 | % main details 7 | \title{Adonis} 8 | \subtitle{A LaTeX template} 9 | \author{Nicholas Mamo \textsuperscript{1}} 10 | 11 | % secondary details 12 | \affiliation{\textsuperscript{1} Independent} 13 | \correspondence{nicholasmamo@gmail.com} 14 | \version{\today} 15 | 16 | % headers 17 | \runningauthor{Nicholas Mamo} 18 | \runningtitle{Adonis: a LaTeX template} 19 | \abstract{Academic writing does not have to be drab, and neither does the academic writing template. 20 | Not in academia, however. 21 | In academia, form normally follows function. 22 | The { \upshape Adonis } template is my attempt to rectify that shortcoming. 23 | I designed it as a no-frills but elegant template, built on the basic article template. 24 | At its core, three principles: simplicity, readability and aesthetic. 25 | This guide also plays three roles: to serve as an illustrative example, to guide you in using this template, and to document my changes. 26 | } 27 | 28 | \begin{document} 29 | \maketitle 30 | 31 | \section{Introduction} 32 | 33 | The best way to appreciate a good template is to force yourself to write with a bad template. 34 | This is the \textit{Adonis} template. 35 | Its design stems from a personal experience. 36 | I was writing a manuscript that I had been planning for months, about a project that I had been developing for years, and on a subject I adored. 37 | And I dreaded every minute I spent drafting the manuscript. 38 | It took a while until I realized why: the template felt entirely off-putting. 39 | 40 | The template should elevate the writing, not diminish it. 41 | In academia, however, form normally follows function. 42 | Sometimes it feels like publishers deliberately diminish the form in a vain attempt to elevate the function: the words, the science, and nothing else. 43 | Having a good writing environment matters. 44 | To design the \textit{Adonis} template, I followed three principles: 45 | 46 | \begin{itemize} 47 | \item Simplicity, by which I mean several things. 48 | I mean that I wanted the template to be simple for me to develop, lest it turn into an exercise in procrastination. 49 | I also mean that it should be easy for you, the writer, to use and adapt. 50 | Above all, I mean that it should be easy for your reader to consume. 51 | 52 | \item Readability, by which I mean readability throughout the writing process. 53 | The template should to make it easy to draft manuscripts, revise and read. 54 | 55 | \item Aesthetic, by which I mean elegant. 56 | Simple and readable \LaTeX{} templates abound, but when I looked, I found most to favour function over form. 57 | \end{itemize} 58 | 59 | The rest of this guide documents design considerations for the layout, typography and other elements. 60 | 61 | \section{Layout} 62 | 63 | The \textit{Adonis} template is based on the base \textit{article} template. 64 | To use the template, you need to copy the \verb+adonis.cls+ class file to the same directory as your manuscript. 65 | Then, specify the document class in the preamble: 66 | 67 | \begin{verbatim} 68 | \documentclass[twocolumn]{adonis} 69 | \end{verbatim} 70 | 71 | The paper dimensions are those of an A4 paper. 72 | Many changes concern its layout, and most add white space. 73 | The margins are wider, notably on the sides, but also at the top and bottom. 74 | The extra space serves a dual purpose: an obvious aesthetic one, and a more functional one. 75 | The wider margins afford margin notes more space, and thus gives them more prominence. 76 | 77 | Unlike the \textit{article} template, \textit{Adonis} includes a header and a footer, albeit in small print. 78 | The header shows the running author on the left and the running title on the right, while the footer shows the page number in the centre. 79 | You can specify the running author and title as follows: 80 | 81 | \begin{verbatim} 82 | \runningauthor{Yours truly et al.} 83 | \runningtitle{Short title} 84 | \end{verbatim} 85 | 86 | If you do not define them, the template uses the author and title fields instead. 87 | \textit{Adonis} does not show the header and footer on the first page, which is already busy. 88 | 89 | \subsection{Options} 90 | 91 | The \textit{Adonis} template comes with optional directives to change how the manuscript looks. 92 | By default, the template has one column and wide margins, but you can change both. 93 | Remember that you can use multiple options, or none at all. 94 | 95 | \subsubsection{Dark mode} 96 | 97 | The dark mode sets a the page colour to a dark grey and the text to white to reduce eye strain during writing sessions. 98 | To enable dark mode, pass the \texttt{dark} option to the \textit{Adonis} template: 99 | 100 | \begin{verbatim} 101 | \documentclass[dark]{adonis} 102 | \end{verbatim} 103 | 104 | \subsubsection{Legacy} 105 | 106 | The legacy layout adds backwards compatibility for old packages. 107 | Specifically, the legacy layout does not load the \texttt{notomath} package, which the template uses to render mathematical text. 108 | Use the legacy layout on versions of TeX Live from before 2021, which do not include the package. 109 | To enable the legacy layout, pass the \texttt{legacy} option to the \textit{Adonis} template: 110 | 111 | \begin{verbatim} 112 | \documentclass[legacy]{adonis} 113 | \end{verbatim} 114 | 115 | \subsubsection{Two columns} 116 | 117 | The two-column layout gives the manuscript a conference paper-like look. 118 | Since a two-column layout takes up more space, \textit{Adonis} reduces the margin sizes. 119 | Part of the reclaimed margin size goes to the column separation to give the document a clean look and improve readability. 120 | To enable the two-column layout, pass the \texttt{twocolumn} option to the \textit{Adonis} template: 121 | 122 | \begin{verbatim} 123 | \documentclass[twocolumn]{adonis} 124 | \end{verbatim} 125 | 126 | \subsubsection{Wide} 127 | 128 | The default layout has wide margins, both to give the document a clean look and to reserve more space for margin notes. 129 | If you require neither, you can reduce margin space and widen the text area by using the wide option: 130 | 131 | \begin{verbatim} 132 | \documentclass[wide]{adonis} 133 | \end{verbatim} 134 | 135 | \subsection{Front-matter} 136 | 137 | \textit{Adonis} changes the \textit{article}'s front page to make a better first-impression. 138 | The title is no longer centred nor justified, and in the two-column layout, it occupies only one column. 139 | Moreover, to give the title more prominence, the template shrinks secondary information and moves some of it to the bottom of the page. 140 | The template thus splits the front-matter into two parts, the main and secondary details. 141 | 142 | \subsubsection{Main details} 143 | 144 | The main details include three parts: the title, the author and the abstract. 145 | To make the difference evident, the template gives the title a large font size and the author a smaller size, and italicizes the abstract. 146 | A horizontal rule separates the abstract from the main content. 147 | 148 | In the two-column layout, \textit{Adonis} also starts a new column after the abstract. 149 | The white-space gives the template character and increases the separation between the abstract and the main text. 150 | The title also appears slightly smaller in two-column layout, again due to the decreased space. 151 | You can specify the title, subtitle, author and abstract using dedicated commands: 152 | 153 | \begin{verbatim} 154 | \title{Your title} 155 | \subtitle{Your subtitle} 156 | \author{Yours truly} 157 | \abstract{\lipsum[0]} 158 | \end{verbatim} 159 | 160 | \subsubsection{Secondary details} 161 | 162 | The rest of the front-matter details, including the affiliations, the date of publication and the correspondence, appear at the bottom of the page in small type.\footnote{ 163 | To keep the template as simple as possible, \textit{Adonis} does not match the author with the affiliations. 164 | In other words, you need to link the author with the affiliations manually, such as by adding superscript numbers next to your authors and next to their affiliations. 165 | } 166 | The secondary details are separated from the abstract and main text by a horizontal rule. 167 | The template only renders the secondary details if you fill them in explicitly, so if you need a quick-start, you can leave them out altogether. 168 | You can specify the secondary details using dedicated commands: 169 | 170 | \begin{verbatim} 171 | \affiliation{Affiliation} 172 | \correspondence{youremail@tld.com} 173 | \version{\today} 174 | \end{verbatim} 175 | 176 | \section{Typography} 177 | 178 | The second major change concerns the typography. 179 | \textit{Adonis} uses the Source font family to improve readability: Source Serif Pro for the main text, and Source Sans Pro for headings. 180 | All paragraphs are justified to give the document a clean look. 181 | 182 | \textit{Adonis} uses the same font size as in the base \textit{article} template: 10pt. 183 | Differently from it, however, \textit{Adonis} uses a larger line-height: 1.4. 184 | Apart from the normal size, the template also defines the \texttt{tiny}, \texttt{footnotesize}, \texttt{small}, \texttt{large} and \texttt{huge} sizes. 185 | Font sizes larger than normal use a smaller line-height: about 1.2. 186 | 187 | Moreover, \textit{Adonis} makes some subtler changes. 188 | For example, the template uses the semi-bold font-weight in place of the actual bold-weight when using \texttt{\textbackslash{}textbf}, which looks more subtle next to the regular font-weight. 189 | The template also uses the \texttt{microtype} package to enable protrusion and expansion; the former lets punctuation bleed slightly into the margins, and the latter uses varying font widths to make the word-spacing more even. 190 | 191 | \subsection{Math} 192 | 193 | The Source Pro family does not have support for mathematical text. 194 | Instead, \textit{Adonis} uses the Noto Serif font to render mathematical text. 195 | For example, the following equation represents the golden ratio $\phi$, on which I based the page margins. 196 | The font has a thickness much closer to Source Serif's than the default font. 197 | 198 | \begin{equation} 199 | \phi = \frac{1 + \sqrt{5}}{2} 200 | \end{equation} 201 | 202 | Note that the \texttt{notomath} package is only available from TeX Live 2021 onward. 203 | To use the template on earlier versions, pass the \texttt{legacy} option to the document class: 204 | 205 | \begin{verbatim} 206 | \documentclass[legacy]{adonis} 207 | \end{verbatim} 208 | 209 | \subsection{Headings} 210 | 211 | Unlike the rest of the text, headings use the Source Sans Pro family. 212 | All headings have the same size as the text, but they have a semi-bold font-weight and a small-caps shape. 213 | The different font serves to draw attention to headings, and thus make the manuscript easier to navigate. 214 | \textit{Adonis} supports three heading levels. 215 | 216 | \subsubsection{Section} 217 | 218 | The section is the highest level in manuscripts. 219 | Therefore \textit{Adonis} adds a hefty margin before them, such that sections leap out when scrolling. 220 | 221 | \subsubsection{Subsection} 222 | 223 | The subsection is the second-highest level in manuscripts. 224 | Subsections have a smaller margin than sections so that they are not easily-mistaken for sections. 225 | 226 | \subsubsection{Subsubsection} 227 | 228 | The subsubsection is the third-highest level in manuscripts. 229 | Differently from all other headings, the subsubsection has a run-in header, which means that the text starts on the same line as the heading—like this one. 230 | This style encourages subsubsections not to have more than one paragraph. 231 | 232 | \section{Other elements} 233 | 234 | \begin{table*}[t!] 235 | \begin{tabularx}{\linewidth}{ l l X } 236 | \textbf{Version} & \textbf{Date} & \textbf{Changelog} \\ \hline 237 | 0.1 & April 16, 2023 & Initial release \\ 238 | 0.2 & May 12, 2023 & Improved text readability, new math font and \texttt{legacy} option, dark mode, and miscellaneous layout changes \\ 239 | 0.3 & November 5, 2023 & New subtitle and separator commands, more font sizes 240 | \end{tabularx} 241 | \caption{The template's version history.} 242 | \label{"Table: version history"} 243 | \end{table*} 244 | 245 | In addition to the layout and typography, \textit{Adonis} also makes slight changes to other common \LaTeX{} elements: 246 | 247 | \begin{itemize} 248 | \item More padding to table cells and more space to rows, as shown in Table~\ref{"Table: version history"} 249 | \item Smaller font size to margins such that they are not too prominent 250 | \item A new \texttt{\textbackslash{}separator} element 251 | \end{itemize} 252 | 253 | \section{Conclusion} 254 | 255 | I designed \textit{Adonis} to be as simple to use as possible. 256 | The optional commands, for example, mean that you do not have to define everything at once; you can simply start writing. 257 | To make the template easier to use, \textit{Adonis} also comes with a separate file, \texttt{quickstart.tex}, without text, commented-out commands and space to write. 258 | 259 | I hope that you find this template to elevate both form and function, and that it proves it possible for the two to co-exist. 260 | If you find any issues in \textit{Adonis}, or if you have suggestions to make it better, you can reach out to me at the email on the first page, or by opening an issue on the template's repository~\cite{repository}. 261 | 262 | \begin{thebibliography}{5} 263 | \bibitem{repository} 264 | Adonis template. Nicholas Mamo (2023). \url{https://github.com/NicholasMamo/adonis-template} 265 | \end{thebibliography} 266 | 267 | \end{document} -------------------------------------------------------------------------------- /quickstart.tex: -------------------------------------------------------------------------------- 1 | \documentclass{adonis} 2 | 3 | % main details 4 | \title{Adonis} 5 | \author{Your name} 6 | 7 | % secondary details 8 | %\affiliation{Affiliation} 9 | %\correspondence{youremail@tld.com} 10 | %\version{\today} 11 | 12 | % headers 13 | %\runningauthor{Your name} 14 | %\runningtitle{Short title} 15 | 16 | %\abstract{ } 17 | 18 | \begin{document} 19 | \maketitle 20 | 21 | % your text goes here 22 | \end{document} -------------------------------------------------------------------------------- /screenshots/close-up-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NicholasMamo/adonis-template/133d2fd9ec5a82526818b46b9641d13924bcdcac/screenshots/close-up-dark.png -------------------------------------------------------------------------------- /screenshots/close-up-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NicholasMamo/adonis-template/133d2fd9ec5a82526818b46b9641d13924bcdcac/screenshots/close-up-light.png -------------------------------------------------------------------------------- /screenshots/close-up-mix.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NicholasMamo/adonis-template/133d2fd9ec5a82526818b46b9641d13924bcdcac/screenshots/close-up-mix.png -------------------------------------------------------------------------------- /screenshots/close-up-mix.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NicholasMamo/adonis-template/133d2fd9ec5a82526818b46b9641d13924bcdcac/screenshots/close-up-mix.xcf -------------------------------------------------------------------------------- /screenshots/close-up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NicholasMamo/adonis-template/133d2fd9ec5a82526818b46b9641d13924bcdcac/screenshots/close-up.png -------------------------------------------------------------------------------- /screenshots/one-column.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NicholasMamo/adonis-template/133d2fd9ec5a82526818b46b9641d13924bcdcac/screenshots/one-column.png -------------------------------------------------------------------------------- /screenshots/two-column.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NicholasMamo/adonis-template/133d2fd9ec5a82526818b46b9641d13924bcdcac/screenshots/two-column.png --------------------------------------------------------------------------------