The smallcaps package

[maintain]

smallcaps is a pre-processor library for LaTeX files. The library comes with an executable that makes most functionality accessible through a command line interface. The pre-processor formats sequences of uppercase letters with TeX's \small macro or whatever you configure. Uppercase letters at the beginning of sentences are not formatted. Other formatting conditions can be configured by the user.

The executable can be configured through its command line arguments as well as through TeX comments. In the default configuration, lesscase does not change the content of any macro argument or environment (different from document). More and less restrictive configuration profiles can be activated and adapted. Configurations can be stored and restored at any time, even while processing the input file.

Text.SmallCaps
exports the main program as library.
Text.SmallCaps.Config
specifies the default configuration values for Text.SmallCaps.
Text.SmallCaps.TeXParser
parses Text to a TeXElement token stream.
Text.SmallCaps.TeXLaTeXParser
parses a TeXElement token stream and produces a LaTeXElement token stream.
Text.SmallCaps.DocumentParser
replaces uppercase letters in LaTeXElement token streams.

A simple program can be defined as

import Data.Default   ( def )
import Text.SmallCaps ( smallcaps )
main = smallcaps def

Properties

Versions0.3.0.0, 0.4, 0.4.0.1, 0.4.1, 0.4.1, 0.4.1.1, 0.4.1.2, 0.4.1.3
Dependenciesattoparsec (==0.10.*), base (==4.6.*), containers (==0.5.*), data-default (==0.5.*), directory (==1.2.*), filepath (==1.3.*), parsec (==3.1.*), smallcaps (==0.4.*), text (==0.11.*), transformers (==0.3.*)
LicenseBSD3
AuthorStefan Berthold
Maintainerstefan.berthold@gmx.net
CategoryText
Source repositoryhead: git clone https://github.com/ZjMNZHgG5jMXw/smallcaps.git
Executableslesscase
Upload dateMon Feb 10 14:05:15 UTC 2014
Uploaded byStefanBerthold

Modules

Downloads

Maintainers' corner

For package maintainers and hackage trustees