Difference between revisions of "Latex Packages"

From Wiki
Jump to navigation Jump to search
m (Category Added)
(pdfdraftcopy)
Line 100: Line 100:
 
==== xspace ====
 
==== xspace ====
 
Context has <cmd>autoinsertnextspace</cmd> which is equivalent. However, this is (and will) remain undocumented and unsupported, since Hans does not like this kind of behaviour.
 
Context has <cmd>autoinsertnextspace</cmd> which is equivalent. However, this is (and will) remain undocumented and unsupported, since Hans does not like this kind of behaviour.
 +
 +
== Other Packages ==
 +
==== 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.
  
 
[[Category:From LaTeX]]
 
[[Category:From LaTeX]]

Revision as of 23:42, 28 November 2006

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.

Context has this kind of support but I need to look up the details. --Aditya


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.

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

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.