Article Abstracts
Jump to navigation
Jump to search
< From LaTeX to ConTeXt | Document Titles >
Note: this is sort of a stub article which I sketched out to remind myself what I wanted to write later. If anyone else wants to work on it, feel free!
Someone thinks this entry needs some more explanation. | (See: Needs Explanation?, To-Do List.) |
LaTeX
Much as with Document Titles, the standard LaTeX document classes define an \abstract
command to typeset an abstract in a way that distinguishes it from the rest of the text.
% Note: this is the old Document Title example, as filler. \documentclass{article} \title{How to do this in Context} \author{The author} \date{July 26, 2005} \begin{document} \maketitle \end{document}
ConTeXt: A simple solution
The simplest way of producing an abstract in a ConTeXt document is to specify the formatting directly. The following version is a close approximation of the version produced by the \abstract
command in LaTeX's startard article class.
% Again, this is filler from the Document Titles page. \starttext \startalignment[center] \blank[2*big] {\tfd How to do this in Context} \blank[3*medium] {\tfa The author} \blank[2*medium] {\tfa July 26, 2005} \blank[3*medium] \stopalignment Then, the actual text of the document starts here. We'll put in enough text to fill out the line and start to make a paragraph. \stoptext
ConTeXt: A more reusable solution
(The formatting can be placed in a module, etc., etc.)