.TH "Yodl macros" "7" "1996\-2025" "yodl_4\&.05\&.01" "Your Own Document Language"
.PP
.SH "NAME"
yodlmacros \- Macros for the Yodl converters
.PP
.SH "SYNOPSIS"
This manual page lists the standard macros of the Yodl package\&.
.PP
.SH "DESCRIPTION"
The following list shows the macros defined by the Yodl converters
define and which can be used in Yodl documents\&. Refer to the Yodl user
guide, distributed with the Yodl package, for a full description\&.
.PP
The following list shows all macros of the package in alphabetical
order\&.
.PP
.IP "`abstract(text)\(cq\&"
Defines an abstract for an article or report type of document\&. Abstracts are
not implemented for books or manpages\&. Must appear \fBbefore\fP starting the
document using the `article\(cq\& or `report\(cq\& macro\&.
.IP
.IP "`addntosymbol(symbol)(n)(text)\(cq\&"
Adds `text\(cq\& `n\(cq\& times to `symbol\(cq\&\&. The value `n\(cq\& may also be the name
of a defined counter (which is not modified)\&.
.IP
.IP "`affiliation(site)\(cq\&"
Defines an affiliation, to appear in the document titlepage below the author
field\&. Must appear \fBbefore\fP starting the document with `article\(cq\&,
`report\(cq\& or `book\(cq\&\&. The affiliation is only printed when the author field
is not empty\&. When converting to html the way the affiliation is displayed can
be tuned using CSS id selector specifications\&. The affiliation has
`id=\(dq\&affiliation\(dq\&\(cq\&\&.
.IP
.IP "`AfourEnlarged()\(cq\&"
Enlarges the usable height of A4 paper by 2 cm\&.: the top margin is reduced by
2 cm\&. This macro should be called in the preamble\&. The macro is available only
for LaTeX conversions\&.
.br
This macros is somewhat obsolete\&. Instead, using `PageEnlarged\(cq\& is advised
.IP
.IP "`appendix()\(cq\&"
Starts appendices
.IP
.IP "`article(title)(author)(date)\(cq\&"
Starts an article\&. The top\-level sectioning command is `(n)sect\(cq\&\&. In HTML
conversions only one output file is written, while the way the headings are
displayed can be tuned using CSS id selector specifications: the title has
`id=\(dq\&title\(dq\&\(cq\&, the author `id=\(dq\&author\(dq\&\(cq\&, and the date `id=\(dq\&date\(dq\&\(cq\&\&.)
.IP
.IP "`attrib(text)\(cq\&"
In html, pushes `text\(cq\& as an attribute for the next html tag supporting
`attrib\(cq\&\&. E\&.g, to set a blue color and 30 pixel left\-hand side margin for a
section use
.nf
attrib(style=\(dq\&color:blue;margin\-left:30px;\(dq\&)\e
sect(Section name)
.fi
This results in the html markup
.br
.nf