Changes

Jump to navigation Jump to search
Change epigram into epigraph as this is the proper name
< [[Modules]]
The '''xdesc''' module by Giuseppe Bilotta (Oblomov) provides a means to treat special descriptions such as epigramsepigraphs. In this case the object has several attributes, which can be typeset in several ways. The module can be downloaded from the [[modules:xdesc]] site.
== Example setup for epigrams epigraphs ==An epigraph (sometimes also wrongly called epigram ) is a concise and witty saying or a short witty poem. An example would be
: We haven't got the money, so we've got to think!
<texcode>
\usemodule[xdesc]
\defineextendeddescription[epigramepigraph][epigramsepigraphs]%
[author,years,source,note,whois]
</texcode>
We now define the commands to typeset the epigramsepigraphs, one short version which is useful for production
<texcode>
\starttemplate[epigramepigraph][short]
\startframedtext[right][frame=off,offset=none,background=none,
width=0.65\textwidth,top=,bottom=]
<texcode>
\starttemplate[epigramepigraph][medium]
\startframedtext[right][frame=off,offset=none,background=none]
{\it \getslot{content}}\par
<texcode>
\selecttemplate[epigramepigraph][short] % medium,short
</texcode>
<texcode>
\startepigramstartepigraph[epg:Rutherford]
[author={Ernest Rutherford},
years={1871--1937},
source={in {\it Bulletin of the Institute of Physics} (1962) vol. 13}]
We haven't got the money, so we've got to think!
\stopepigramstopepigraph
</texcode>
To typeset the epigramepigraph, simply call:
<texcode>
\getepigramgetepigraph[epg:Rutherford]
</texcode>
Anonymous user

Navigation menu