# latex(9)

[Home] [Commands] [Variables] [Macro-Dev] [Glossary]

## SYNOPSIS

latex - TeX Documentation

## FILES

hklatex.emf - Tex File hook definition
latex.etf - Template file
hkbibtex.emf - TeX Bibliography Files

## EXTENSIONS

.tex - TeX Documentation
.bib - TeX Bibliography Files
.sty - TeX Style file

## DESCRIPTION

The latex file type template handles the hilighting of the TeX files. The hilighting is minimal, hilighting the key words and comments.

General Editing

On creating a new file, a new header is automatically included into the file. time(2m) is by default enabled, allowing the modification time-stamp to be maintained in the header.

Hilighting

The hilighting emphasizes the Tex embedded command strings and comments. No special recognition of the command strings is performed.

Outline Hilighting

The LaTeX content may be viewed with synthetic hilighting such that headers, text in bold and italic are displayed, removing the LaTeX control sequences.

Folding and Information Hiding

Generic folding is enabled, the folds occur about \section{...} and \subsection{...} constructs. collapse-all(3) (un)folds all regions in the file, collapse-current(3) (un)folds the current region.

Spelling

Buffer spell checking is LaTeX aware.

List Items

Item listing is available and the key constructs of the file may be listed in the item-list.

Buffer Commands

latex-verify verifies the syntax of the (La)TeX from the current position forward, reporting braces that are not matched.

Short Cuts

The short cut keys used within the buffer are:-

C-c C-c - Comment out the current line.
C-c C-d - Uncomment the current line.
C-c C-e - Comment to the end of the line with hash (%).
C-c C-o - Format a comment
f2 - (un)fold the current region
f3 - (un)fold all regions
f6 - List items.
esc f6 - Close list items window.

The command latex-compile is available within the buffer which invokes an external process to build the text.

## BUGS

No bugs reported

## SEE ALSO

time(2m).

Supported File Types

(c) Copyright JASSPA 2009
Last Modified: 2009/08/29
Generated On: 2009/10/12

</HMTL>