Latex Packages

From ConTeXt wiki
Jump to: navigation, search

Contents

The LaTeX standard tools bundle

afterpage

Implements a command that causes the commands specified in its argument to be expanded after the current page is output. Context gives finer control using \startpostponing

 \startpostponing [pagenumber] [+pageoffset]
  \startpostponing[2]
   PAGE 2 \blank
 \stoppostponing
 
 \startpostponing[+1]
    PAGE +1 \blank
 \stoppostponing
 
 \startpostponing[+2]
    PAGE +2 \blank
 \stoppostponing
 
\starttext \dorecurse{4}{\input tufte \page} \stoptext

array

This is a latex specific package.

calc

I think that with etex, these things are trivial in context. I am not sure of the details. --Aditya

dcolumn

The dcolumn package makes use of the array package to define a "D" column format for use in tabular environments.

Context has support for such features, however, I need to look up the details. --Aditya

enumerate

Context has builting support for all the functionality of enumerate package. Look at the documentation of \setupitemize

fileerr

Provides files to be used in subverting the response to TeX's "file not found" errors, when running LaTeX.

fontsmpl

Provides a package which defines a command \fontsample (which will print a sample of the current font), and a document which prompts for a font family name (such as "cmr") and prints a sampler of the whole family.

In ConTeXt, you can see the details of a font by \showfontstrip which shows a summary of the current font, and \showfont which shows the current font, and can also show an arbitrary font.

ftnright

Assembles footnotes on two-column pages at the bottom of the right hand column.

hhline

This is a latex table specefic command.

indentfirst

In context you can achieve the same effect by

 \setupheads[indentnext=yes]

layout

Context has an inbuilt \showlayout command, but that does not give a visual output like the layout package.

longtable

Longtable allows you to write tables that continue to the next page. Context has support for this, but I do know too much about it. Perhaps someone else can elaborate on this. --Aditya 04:10, 25 August 2006 (CEST)


multicol

Context has \startcolumns and columnsets that support the features of multicol.

rawfonts

This is a latex font specific package

showkeys

The showkeys package modifies the \label, \ref, \pageref, \cite and \bibitem commands so that the "internal" key is printed, without affecting the appearance of the rest of the text, so far as is possible (the keys typically appear in the margin).

AFAIK, Context does not have this functionality. A partial solution is using \version[temporary] which gives a list of refernces used on the current page.

somedefs

This is a latex specific package.

theorem

This is not a recommended latex package. Context's \startenumeration has a lot of the functionality of theorems.

tabularx

trace

This is a latex specific package for debugging.

varioref

Context provides similar functionality using \somewhere

verbatim

This is a reimplementation of Latex's verbatim environment. Context has \starttyping which is equivalent to verbatim environment in Latex. See Verbatim_text for more details

xr

The package provides a means of creating references to labels in another file

xspace

Context has \autoinsertnextspace which is equivalent. However, this is (and will) remain undocumented and unsupported, since Hans does not like this kind of behaviour.

Other Packages

amsmath

This is the most popular package for typesetting mathematics in LaTeX. Most of the features of amsmath are in ConTeXt-core.


glossaries

This is the most popular package for typesetting glossaries. Similar features are available using \definesynonyms in ConTeXt.

pdfdraftcopy

This package allows one to place a word "Draft" on the page background. In Context the same result can be achieved using Layers. See Alternating backgrounds and repeating layers for an example.

noindentafter

This package provides macros \NoIndentAfterEnv and \NoIndentAfterCmd to disable indentation even if there is empty line after an environment. In ConTeXt, similar functionality is achieved by indentnext=no setting of the environment.

C O N T E X T G A R D E N

Personal tools
Namespaces
Variants
Actions
Help
External Help
Installation
Navigation
Toolbox