Path to this page:
./
print/p5-LaTeX-Encode,
Encode characters for LaTeX formatting
Branch: pkgsrc-2017Q2,
Version: 0.091.6nb3,
Package name: p5-LaTeX-Encode-0.091.6nb3,
Maintainer: pkgsrc-usersThis 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!).
Required to run:[
devel/p5-Readonly] [
lang/perl5]
Required to build:[
devel/p5-Carp-Always]
Master sites: (Expand)
SHA1: 72f126d69afa24b4e9c955a09f83aef275d69cc2
RMD160: 1366dad0f222c0fe444459bf775b80119248ac5b
Filesize: 44.812 KB
Version history: (Expand)
- (2017-07-04) Package added to pkgsrc.se, version p5-LaTeX-Encode-0.091.6nb3 (created)