Difference between revisions of "Article Abstracts"
Jump to navigation
Jump to search
(A rough sketch; this is far from complete. I'll work on it later.) |
m (Replaced {{Explanation}} tag with the more-appropriate {{todo}} tag.) |
||
Line 1: | Line 1: | ||
< [[From LaTeX to ConTeXt]] | [[Document Titles]] > | < [[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!}} | |
− | |||
− | |||
− | |||
== LaTeX == | == LaTeX == | ||
Line 21: | Line 18: | ||
\end{document} | \end{document} | ||
</texcode> | </texcode> | ||
+ | |||
+ | {{todo|Replace the above with a proper example.}} | ||
== ConTeXt: A simple solution == | == ConTeXt: A simple solution == | ||
Line 45: | Line 44: | ||
</texcode> | </texcode> | ||
+ | {{todo|Find the code in LaTeX's <tt>classes.dtx</tt> for setting abstracts, translate into ConTeXt, and put in the above example.}} | ||
== ConTeXt: A more reusable solution == | == ConTeXt: A more reusable solution == | ||
− | + | {{todo|Write this whole section, along the lines of the parallel section in [[Document Titles]].}} |
Revision as of 04:23, 4 September 2005
< 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) |