Customizing the treatment of title information |
TeXmacs uses the
Each child of the
Most of the tags listed above also correspond to macros for rendering
the corresponding information as part of the main title. For instance,
if the date should appear in bold italic at a distance of at least 1fn from the other title fields, then you may redefine
<
document
|
<
assign
|
doc-date
|
<
macro
|
body
|
<\concat|
<vspace*|1fn>
<doc-title-block|<with|font-shape|italic|font-series|bold|body>>
<vspace|1fn>
The
Notice also that the
In addition to the rendering macros which are present in the document,
the main title (including author information, the date,
etc.) is rendered using the
The first stage of processing the document data is more complex and the reader is invited to take a look at the short descriptions of the macros which are involved in this process. It is also good to study the definitions of these macros in the package itself. In order to indicate the way things work, we finish with an example on how the email address and homepage of an author can be rendered in a footnote instead of the main title:
<document|<assign|doc-author-main|<macro|data|<document|<quasi|<document|<unquote*|<select|<quote-arg|data>|author-name>>|<unquote*|<select|<quote-arg|data>|author-address>>>>>>>|<assign|doc-author-data-note|<xmacro|data|<quasi|<document|<unquote*|<select|<quote-arg|data>|author-email>>|<unquote*|<select|<quote-arg|data>|author-homepage>>|<unquote*|<select|<quote-arg|data>|author-note|document|<pat-any>>>>>>>>