Difference between revisions of "LaTeX Thanks"

From ConTeXt wiki
(fixed whitespace ( I hope))
(Fixed the non-displaying example.)
Line 8: Line 8:
 
<texcode>
 
<texcode>
 
\starttext
 
\starttext
\title{This is a title\footnote{This is an unnecessary footnote.}}
+
{\bfc This is a title\footnote{This is an unnecessary footnote.}}
  
 
\subject{          % just a cheap heading without explicitly renaming it `\author'
 
\subject{          % just a cheap heading without explicitly renaming it `\author'
Line 25: Line 25:
 
\definenote[thanks][conversion=set 2]
 
\definenote[thanks][conversion=set 2]
 
\starttext
 
\starttext
\hbox{}\vfilll
+
\strut\vfill  % A hack to shorten the page.
\title{This is a title\footnote{This is an unnecessary footnote.}}
+
 
 +
{\bfc This is a title\footnote{This is an unnecessary footnote.}}
 +
 
 
\subject{        % just a cheap heading without explicitly renaming it `\author'
 
\subject{        % just a cheap heading without explicitly renaming it `\author'
 
A. U. Thor\thanks[Misk]{A. U. Thor and W.H. Gates, III, are at Miskatonic U.},  
 
A. U. Thor\thanks[Misk]{A. U. Thor and W.H. Gates, III, are at Miskatonic U.},  

Revision as of 06:48, 27 September 2005

< From LaTeX to ConTeXt

In LaTeX, there is a form of metadata common to many classes, known as the \thanks command. It is essentially an un-numbered footnote that comes out of sequence with the rest of the footnotes. It can be simulated in ConTeXt simply by defining another note type (see \setupfootnotes for a rough idea of the available parameters):

\definenote[thanks][conversion=set 2]

And used with the usual note and referencing commands:

\starttext
{\bfc This is a title\footnote{This is an unnecessary footnote.}}

\subject{          % just a cheap heading without explicitly renaming it `\author'
A. U. Thor\thanks[Misk]{A. U. Thor and W.H. Gates, III, are at Miskatonic U.}, 
A. N. Onymouse\thanks{A. N. Onymouse is at Shoggoth Enterprises.}, and
W. H. Gates, III\note[Misk]
}

Footnotes\footnote{Another note} return here.
\stoptext

This bare example looks like: