• No results found

The subtext package

N/A
N/A
Protected

Academic year: 2021

Share "The subtext package"

Copied!
3
0
0

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

Hele tekst

(1)

The

subtext

package

Version 1.1

Palle Jørgensen

30th May 2019

1 Usage

1.1 Loading the package

To load the package type \ usepackage { s u b t e x t } into your preamble.

1.2 Using the package

In math mode use the _ character as usual to get the usual result. \ begin { equation } \ l a b e l { eq : 1 } a _{ long t e x t } \end{ equation } yielding alongtext (1)

Replace curly braces with square brackets to get the subscript typeset usingamstext’s

(2)

yielding a

long text (2)

That’s all!

1.3 Package options

Due to the behaviour of theamstext \textcommand, the typeface of the text within the brackets is the same as the surrounding text. This may not always be desirable – I myself often find it somewhat annoying. Thus there are two package options

upright Makes the text within the brackets be in upright shape. The font family (sans serif, serif or others) and the series (e.g. boldface) is the same as the surrounding text. This is the authors favourite.

normal Makes the text within the brackets be in the documents\normalfontstyle.

2 License

The license ofsubtext.styand related files is GNU GENERAL PUBLIC LICENSE.

GNU GENERAL PUBLIC LICENSE

Version 3, 29 June 2007

Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> Everyone is per-mitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. <https://www.gnu.org/licenses/why-not-lgpl.html>.

View COPYING for the full license.

(3)

3 Source of subtext.sty

\ ProvidesPackage { s u b t e x t } [ 2 0 1 9 / 0 5 / 3 0 v . 1 . 1 LaTeX package f o r easy t e x t −s t y l e s u b s c r i p t s i n math mode . ]

\ RequirePackage { amstext } \ def \ s u b t e x t @ f o n t { }

\ DeclareOption { u p r i g h t } { \ def \ s u b t e x t @ f o n t {\ upshape } } \ DeclareOption { normal } { \ def \ s u b t e x t @ f o n t {\ normalfont } } \ ProcessOptions ∗

\ l e t \ saved@sub_ \ catcode ‘ _ \ a c t i v e

\ def \new@sub@text [ # 1 ] { \ saved@sub {\ t e x t {\ s u b t e x t @ f o n t # 1 } } } \ def \new@sub@other #1{\ saved@sub { # 1 } }

Referenties

GERELATEERDE DOCUMENTEN

10,11 Interestingly, the decrease in nuclear volume and increase in chromatin condensa- tion of cotyledons during seed maturation is probably not associated with a general reduction

RSTTUVWXVYZVX[W\W]^VT_XV`ZVaZ]VbWZ]V\ZY]Vc[VYW]VUTb]cc\dVeZbV`ZVbWZ]

[r]

[r]

The Spinodal Region, Percolation, and “Sticky Colloids”: (15 points) Consider a colloid-polymer mixture in the spinodal region of the phase diagram?. (a) If you bring the system

H OBBIES &lt;Liste der wichtigsten Hobbies und privaten Interessen&gt;.

◦ Principal subjects &lt;List of the major subjects&gt;. ◦ Minor subjects &lt;List of

- Als bestanden uit de encrypted folder gecopieerd worden naar een FAT systeem verdwijnt de encryptie.. Dus ook op