A pandoc template for everyday typesetting.
The original pandoc template is, by most respects, passable, but not exactly great; it's mediocre at best. So, I went ahead and made a template for myself. It's nothing fancy---there isn't any beamer functionality or anything built into it, and I'm yet to define a color palette for it---but overall it's useable.
More work is needed, but, for now, it works.
Parameter | Function | Value |
---|---|---|
stixFonts |
uses StixTwo for the serif font | true or false |
notoSans |
uses Noto Sans for the sans-serif font | true or false |
erewhonFonts |
use the Erewhon font | true or false |
kpFonts 1 |
use the KpSerif font | |
paperSize |
changes paper size | Standard paper sizes |
twoSided |
makes the page double-sided | true or false |
titlepage |
adds a titlepage | true or false |
defaultTitle |
uses default LaTeX title for documents without a titlepage | true or false |
customType |
uses custom typefaces input by the user | see quetzacoatl.tex |
useEndnotes |
use endnotes instead of footnotes | true or false |
language |
sets the documents language | name of a language (defaults to English) |
fullpage |
uses the whole page of a document | true or false |
lineno |
adds line numbers to the text | true or false |
lineStretch |
sets line spacing | Float |
draft |
gives the document a draft watermark | true or false |
geometry |
sets up page geometry | see the LaTeX geometry.sty documentation |
listings |
uses the listings package |
true or false |
linkAsNotes |
uses footnotes instead of hotlinks for URLs | true or false |
numberSections |
number sections in the document | true or false |
verbatimInNote |
allows verbatim text in footnotes | true or false |
title |
document title | text |
author |
document author | text/your name |
date |
date | yyyy-mm-dd preferably |
headerIncludes |
put stuff in the header | text |
sansTitle |
makes the title sans serif | true or false |
parIndent |
sets the paragraph indentation | float |
raggedLines |
uses ragged instead of justified paragraphs | true or false |
parSpacing |
sets the length between paragraphs | float |
includeAtPreamble |
put whatever you want in the preamble | TeX code |
abstract |
your document abstract | text |
tableOfContents |
include table of contents in your document | true or false |
ruleColor |
color of the horizontal rule on the titlepage | HTML color code |
reportNo |
text on top of the horizontal rule---generally thought to be a report number for cataloging purposes | text |
institution |
text on the side of the horizontal rule---generally thought to be the institution | text |
sansDefault |
set the body text to a sans font | true or false |
urlMarkColor |
set the color for the url mark | HTML color |
urlMarkSymbol |
set the mark for urls | unicode character |
diffcoeff
packagebraket
package
- TeXlive or MikeTeX (a full installation is expected, but not necessary)
- Pandoc
- XeTeX
Make a custom titlepage.
That's done for now, but I'm not sure if I'm happy with the results. I'll just have to see if I want to keep it or not.
-
Fix the overall geometry of the output pdf---it feels a bit fishy for whatever reason. -
Work on an XCharter otf mathfont. (Kill me.)
In some good news, an XCharter math typeface has finally been made---and I didn't even have to do anything. Huge thanks to Daniel Flipo for his work on the typeface. It's not perfect yet, but it's a dramatic improvement from what I previously had to work with.
Fix spacing issues with the quotes and tables.
I hope that part's done.
Write comprehensive documentation covering each variable/feature of the template.
Footnotes
-
I don't like the font pairings to be honest, I just included KpFonts for use in a different template. ↩