NOTE: This site has just upgraded to Forester 5.x and is still having some style and functionality issues, we will fix them ASAP.

basic macros [macros]

Useful macros from Jon Sterling's macros

citek[refid]: Refer to a reference entry with only its id, and surrouding brackets.

citef[refid]: Refer to a reference entry with the full title, and the id like citek.

mark[body]: Some yellow background mark text.

texfig[~body]: A figure rendered by LaTeX.

texalg[body]: An algorithm rendered by LaTeX.

proof[body]: A proof block that's NOT part of the TOC.

table[body]: A table.

thead[body]: A table header.

tbody[body]: A table body.

tr[body]: A table row.

td[body]: A table cell.

th[body]: A table header.

hr: A horizontal rule.

Useful macros based on Jon Sterling's Public bibliographies

make-topic-bibliography[topic]: A bibliography of papers, presentations, and people related to a topic.

Useful macros from CAIMEOX's macros

block[tit][body]: A block that is part of the TOC.

section[tit][body]: A section that is NOT part of the TOC.

Useful macros we defined

citet[tid][refid]: Refer to a definition/theorem/page tid in a reference entry refid with brackets.

tikzfig[~a]: A TikZ graph rendered via LaTeX.

tikzfig[~a]: A TikZ graph rendered via LaTeX, adjusted the width to be half, so it could be used in a table and such.

minitex[body]: Typesetting LaTeX code in a minipage, with the width of an A5 paper, so the text size almost matches the size output by native forester code. This doesn't work very well on mobile yet.

note[name][body]: A note.

refnote[name][reference][body]: A note with a reference.

refnotet[name][tid][reference][body]: A note with a reference.

texnote[name][reference][body]: A minitex note with a reference.

card[taxa][name][body]: A card.

refcard[taxa][name][reference][body]: A card with a reference.

cardt[taxa][name][tid][body]: A card with a reference to a definition/theorem/page.

texcard[taxa][name][reference][body]: A minitex card with a reference.

refdef[name][reference][body]: A definition with a reference.

refdeft[name][tid][reference][body]: A definition with a reference to a definition/theorem/page.

texdef[name][reference][body]: A minitex definition with a reference.

wikiref[name][citeid][pageid][year]: A reference to a Wikipedia article.

citewiki[shortname][wikiid]: A citation-style link to a Wikipedia article, it's a lightweight alternative to wikiref.

nlabref[name][citeid][pageid][year]: A reference to a nLab article.

prref[citeid][user][repo][prid][prauthor][pryear]: A reference to a Github Pull Request.

edit[treeid]: A link to the source code of a tree.

link[url]: Linking to a URL without an explicit title.

citelink[url]: Linking to a URL without an explicit title, in a citation style (i.e. with brackets).

quote[body]: A blockquote.

fold[treeid]: Making transcludes collapse. (Not working yet)

collapsed[t][body]: A block that is collapsed by default and NOT part of the TOC.

codeblock[lang][body]: A syntax-highlighted code block specifying the language.

newvocab[x]: A newly defined term with an emphazised style.

vocab[x]: A previously defined term with a less emphazised style.

vocabk[x][addr]: A previously defined term with a less emphazised style and a link to the defining note.

related[x]: A hidden text, useful particular for referencing other notes so they can show up in related notes, but not shown.

todo[x]: A TODO item.

todolist: A list of TODO items, no effect on web, only for PDF.

webonly[body]: Content that is only shown on the web, e.g. with interactive elements.

langblock[symbol][body]: A block with a language symbol.

translation/tp[dst-content][src-content]: A translation paragraph.

translation/tsec[dst-content][src-content][body]: A translation section.

translation/ttitle[dst-content][src-content]: A translation title.

eqtag[eqno][equation]: A tagged equation.

eqnotag[equation]: An equation without a tag.

embed[src]: Embedding an external HTML file, adapted from https://lists.sr.ht/~jonsterling/forester-discuss/%3CouGgO2PnjJxebrCO-YzNYlSBYnEF9DiupMdWtSP7Q-jVApwBuqrz5AbukPL58LBLpzFVR-C26ULjwbl5sDa9TxzTEDciNZ4Uaux0AfQJ40c=@dannypsnl.me%3E .

shader[extraclasses][body]: Embedding a GLSL shader code.