• No results found

The stubs Package Version 0.1

N/A
N/A
Protected

Academic year: 2021

Share "The stubs Package Version 0.1"

Copied!
3
0
0

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

Hele tekst

(1)

The

stubs Package

Version 0.1

N. Stuhrmann

December 17, 2005

Contents

1 Introduction 1 2 Installation 1

3 Using the stubs Package 2

3.1 Package Options . . . 2 3.2 Macros . . . 2 3.3 Lengths . . . 2 4 Problems 2 5 Example 2 6 Licence 3 7 Changelog 3

1 Introduction

This package provides a macro which prints a line of stubs at the bottom of the page, e.g. for contact informations within sale offers.

2 Installation

Putstubs.sty somewhere in your TeX tree and update your package database.

Feedback/bug reports are welcome. Mail tostuhrmann@spamfence.net(german or englisch)

(2)

3 Using the

stubs Package

To load the package add \usepackage[<options>]{stubs} to your preambel.

3.1 Package Options

addmargin If you pass this option to the package, extra space of the size of the stubs will be added to the bottom margin.

3.2 Macros

\stubs With this macro, you can create stubs at the end of the current page. The complete syntax is: \stubs[<number>]{<width>}[<text back>]{<text front>}

The length<width> gives the width of the text on each stub which corresponds to the height of the

stubs, since the text is rotated by 90 degrees,<text front> is the text to be printed on the front of each

stub, while the optional<text back> argument is the text, which will be printed on the back of each

stub. If this argument is given, a page break is invoked during macro execution. (Please consider that information printed on the back is of limited usefullness as not immediately visible.) The optional argument<number> controls the number of stubs printed. If you omit this argument or its value is

0, the number of stubs is calculated automatically.

3.3 Lengths

\stublmargin \stubrmargin \stubbmargin

(default values are 5 mm) These lengths controls the left, right and bottom margin left blank around the stubs. Since most printers cannot print to the very edge of the sheet, these lengths might be important to set with

\setlength{\stublmargin}{<length>} \setlength{\stubrmargin}{<length>} \setlength{\stubbmargin}{<length>}

4 Problems

In normal layouts, the page number will be overprinted by the stubs, which look usually ugly. To turn off the page number for the current page call \thispagestyle{empty} just before your stubs.

5 Example

\documentclass[a4paper]{article} \usepackage[addmargin]{stubs} \begin{document}

\begin{center}

(3)

stubs package b y N. Stuhrmann stuhrmann@spamfence.net stubs package b y N. Stuhrmann stuhrmann@spamfence.net stubs package b y N. Stuhrmann stuhrmann@spamfence.net stubs package b y N. Stuhrmann stuhrmann@spamfence.net stubs package b y N. Stuhrmann stuhrmann@spamfence.net stubs package b y N. Stuhrmann stuhrmann@spamfence.net stubs package b y N. Stuhrmann stuhrmann@spamfence.net stubs package b y N. Stuhrmann stuhrmann@spamfence.net stubs package b y N. Stuhrmann stuhrmann@spamfence.net stubs package b y N. Stuhrmann stuhrmann@spamfence.net stubs package b y N. Stuhrmann stuhrmann@spamfence.net stubs package b y N. Stuhrmann stuhrmann@spamfence.net stubs package b y N. Stuhrmann stuhrmann@spamfence.net

\stubs[15]{3cm}[more information]{{{\tt stubs} package}\\by N. Stuhrmann} \end{document}

6 Licence

This file is part of stubs.

Stubs is free software; you can redistribute it and/or modify it under the terms of theGNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at

your option) any later version.

"‘stubs"’ is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Foobar; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

7 Changelog

Changelog:

0.1.1 (2005/12/11):

- optional printing on back

- increased compatibility with pagebreaks (adjusting \pagegoal during call) - serveral bugfixes (change of unitlength only local, ...)

0.1 (2005/12/11): - file creation

Referenties

GERELATEERDE DOCUMENTEN

more infor mation more infor m at ion more info rmation more infor mation more infor mation more infor m at ion more info rmation more infor mation more infor m a tion more in for m

This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version

utf8add is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version

The XY-pic package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation;

This work 'is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation..

Reducing the availability to smart TV only or tablet only will make consumers intention to stop using the music streaming service higher compared to continuing using the trial version