Next: Updation of includeonly Prev: Changing and Deleting Up: Top
Filling an item
To fill a term (descriptive sentences) of `\item', type
... fill item
on that item.
YaTeX uses the value of the variable `YaTeX-item-regexp' as the regular
expression to search item header in itemize environment. If you make a
newcommand to itemize terms(e.g. `\underlineitem'), put
in your `~/.emacs'. If you are not familiar with regular expression for
Emacs-Lisp, name a newcommand for `itemize' beginning with `\item' such as
`\itembf', not `\bfitem'.
This function reformats the `\item' into `hang-indented' style. For
itemize, enumerate environment:
>\item[foo] `foo' is the typical word for describing an
> arbitrarily written....
> \item[bar] When the word `for' is used as an arbitrarily
> word, `bar' is bound to follow it.
Note that the indent depth of an `\item' word and its descriptive
paragraph are the same in latter case. If you want to use different
depth, invoke fill-paragraph at the beginning of non-whitespace
Fill-paragraph is little bit adapted for LaTeX sources. It retains from
filling in certain environments where formatting leads to a disaster such
as verbatim, tabular, or so. And it protects `\verb' expressions from
being folded (The variable `YaTeX-verb-regexp' controls this). Besides,
putting cursor on the first occurrence of non-whitespace character on a
line changes the fill-prefix temporarily to the depth of the line.
automatically generated by info2www.cgi version 1.2