Used to create a simple article. By default, it includes the following macros:
document
head
body
halftitlepage
title
pubdate
subtitle
author
Parameter |
Description |
0 |
The article contents. |
Attribute |
Description |
pre-title |
Contents to include before the title macro. |
post-title |
Contents to include after the title macro. |
head |
Contents to include instead of the default head macro. |
pubdate |
Contents to include instead of the default pubdate macro. |
halftitlepage |
Contents to include instead of the default halftitlepage macro. |
Used to create a book. By default, it includes the following macros:
document
head
body
titlepage
title
pubdate
subtitle
revision
author
Parameter |
Description |
0 |
The article contents. |
Attribute |
Description |
pre-title |
Contents to include before the title macro. |
post-title |
Contents to include after the title macro. |
head |
Contents to include instead of the default head macro. |
pubdate |
Contents to include instead of the default pubdate macro. |
titlepage |
Contents to include instead of the default titlepage macro. |
frontmatter |
Contents to include within a frontmatter macro. |
bodymatter |
Contents to include within a bodymatter macro. |
backmatter |
Contents to include within a backmatter macro. |
Creates an <html>
tag and a DOCTYPE declaration. Called internally
by the book
macro and the article
macro.
Parameter |
Description |
0 |
The document contents. |
Creates a <head>
tag, pre-populated with title
and author/copyright
<meta>
tags.
Parameter |
Description |
0 |
The head contents. |
Creates a section (<div>
or <section>
tag).
Aliases:
acknowledgement, addendum, afterword, appendix, bibliography, chapter, colophon, dedication, epilogue, foreword, glossary, imprint, index, inspiration, introduction, lof, lot, part, postscript, preface, prologue, promotion, references, section, section, volume
1section[
2 @title[Test Section]
3 @id[test]
4...
5]
Parameter |
Description |
0 |
The text of the section |
Attribute |
Description |
title |
The title of the section (optional) |
id |
The ID of the section (optional) |
notoc |
If not blank, the header will not appear in the Table of Contents. (optional) |
Embeds the content of a CSS or Sass file within a <style>
tag (for more information on stylesheets, see Adding Stylesheets).
Example: style[default.css]
Parameter |
Description |
0 |
The stylesheet file to embed. |
Generates a Table of Contents based on how sections are nested in the current document.
Example: toc[1]
Parameter |
Description |
0 |
The maximum header depth of the TOC (optional). |