• No results found

The sansmath package Donald Arseneau

N/A
N/A
Protected

Academic year: 2021

Share "The sansmath package Donald Arseneau"

Copied!
1
0
0

Bezig met laden.... (Bekijk nu de volledige tekst)

Hele tekst

(1)

The sansmath package

Donald Arseneau

2003-08-13, version 1.0

1

Outline

The package is designed to offer sans-serif mathematics in the absence of proper sans maths fonts.

The package’s name could be misconstrued: there was an ambition to do the job for “non-standard” sans fonts (as indicated by the value of \sfdefault), but the only good results have been with Computer Modern and cmss.

2

Use

After\usepackage{sansmath}, a new “math version”sansis defined, together with a command

\sansmath, which behaves as\boldmathdoes.

There is also a command \unsansmath(which does what you might imagine), but if maths are to be sans-serif for a limited area of document, it is better to limit it to a local group, for example by\begin{sansmath} ... \end{sansmath}

Within the scope of the\sansmathdeclaration, maths characters will be taken from the text sans-serif family as much as possible. The actual sans fonts are OT1 encodings of those indicated by the meaning of \sfdefault WHEN THE PACKAGE WAS LOADED, not the meaning at

each maths environment!

Since theOT1text fonts do not provide the lower-case greek letters, there is a package option [eulergreek] to take the lowercase greek from the Euler maths fonts.

Since some (many) sans fonts have no uppercase greek letters either (missing characters from theOT1encoding), there is an option [EULERGREEK] to take all greek letters from the euler fonts. In this case one should also investigate using Euler fonts for all maths in the document, using package euler instead of this one!

OT1 encoding is normally required to get the uppercase greek letters, but if you use the [EULERGREEK] option or don’t use any uppercase greek letters, then you are welcome to define

\sansmathencodingbefore loading this package. There is also a package option [T1] to perform that particuler definition. Note the comment above about only cmss being good — even the

T1-encoded ec fonts are poor substitutes.

The package achieves maths-italic by reloading the slanted version of the text sans-serif font, and changing afontdimenparameter (spaceskip). This causes the italic correction to be applied between letters (good) but does not break up the ‘fi’ and ‘fl’ ligatures (bad). (Why does a sans font have these ligatures anyway?) As yet, nothing is done about this bug.

Documentation file assembled by Robin Fairbairns

Referenties

GERELATEERDE DOCUMENTEN

The only exception is when a breathing is followed by a grave accent, in which case the breathing + accent combination is typeset as a TEX \accent over the vowel.. This means that

The mandatory argument specifies the material that is to be framed (anything which can go into a \vbox), whereas the optional argument specifies the final width of the frame.. If

will recover most of this speed, with \extrarulesep still partially in effect — extra space will still be added around \hline s, but it may be taken up by very tall or very deep

In order to insert short texts in Greek, either in Didot upright or in Lipsian inclined shape, the text commands \textDidot and \textLipsias may be used, as well as a

In any case, with version 3.9g of babel and the modifications introduced by Günter Milde, the actual babelgreek maintainer, during the year 2013, such extended accent macros are

The big problem with the [usetoc] method is that \titleref will not refer to a \label which was given in the title or caption itself; the label must be placed after the

The package option [fit] causes the output text to have its natural width, up to a maximum of the specified width.. The text will not normally be truncated in the middle of a word,

The [strings] option requires the “_” character to be activated immediately in order for the cite and ref tags to be read properly from the .aux file as plain strings, and this