./print/p5-LaTeX-Encode, Encode characters for LaTeX formatting

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2013Q1, Version: 0.06nb1, Package name: p5-LaTeX-Encode-0.06nb1, Maintainer: pkgsrc-users

This module provides a function to encode text that is to be formatted with
LaTeX. It encodes characters that are special to LaTeX or that are
represented in LaTeX by LaTeX commands.

The special characters are: \ (command character), { (open group), }
(end group), & (table column separator), # (parameter specifier),
% (comment character), _ (subscript), ^ (superscript),
~ (non-breakable space), $ (mathematics mode).

Note that some of the LaTeX commands for characters are defined in the LaTeX
textcomp package. If your text includes such characters, you will need to
include the following lines in the preamble to your LaTeX document.

\usepackage[T1]{fontenc}
\usepackage{textcomp}

The function is useful for encoding data that is interpolated into LaTeX
document templates, say with Template::Plugin::Latex (shameless plug!).


Master sites: (Expand)

SHA1: adf669335d0a1bd3d581037ea39c16308cc2de0c
RMD160: c4217c7d8474d52488518ad1bf45db73f55839d7
Filesize: 42.569 KB

Version history: (Expand)