Article Abstracts
Jump to navigation
Jump to search
< From LaTeX to ConTeXt | Document Titles >
TODO: 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! (See: 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}
TODO: Replace the above with a proper example. (See: To-Do List) |
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
TODO: Find the code in LaTeX's classes.dtx for setting abstracts, translate into ConTeXt, and put in the above example. (See: To-Do List) |
ConTeXt: A more reusable solution
TODO: Write this whole section, along the lines of the parallel section in Document Titles. (See: To-Do List) |