• No results found

The vruler package — Vertical rulers in LATEX, Plain TEX and amsTEX Zhuhan Jiang

N/A
N/A
Protected

Academic year: 2021

Share "The vruler package — Vertical rulers in LATEX, Plain TEX and amsTEX Zhuhan Jiang"

Copied!
2
0
0

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

Hele tekst

(1)

The vruler package —

Vertical rulers in L

A

TEX, Plain TEX and amsTEX

Zhuhan Jiang

October 1996, version v2.3

1

What’s the package for?

Make a vertical ruler, numbering consecutively so that any part of an article can be pinpointed immediately. The vruler may be moved freely up and down, left and right.

There are no formally released packages that number lines in general text one by one without missing certain lines, particularly when there are many maths equations in the text. So vruler is a good alternative for people writing text of versatile format or lots of maths formulas.

2

The commands

\setvruler[scale][initial_count][step][digits][mode][odd_hshift][even_hshift][vshift] [height]

defines the start of vertical rulers, where:

hscalei is the distance between two consecutive markings on the vruler hinitial_counti is the value on the first mark on the ruler

hstepi is the mark increment

hdigitsi is the number of digits needed for ruler markings

hmodei = 0 if each page has the same ruler marking, = 1 otherwise hodd_hshifti is the horizontal shift for odd pages, from the default heven_hshifti is the horizontal shift for even pages, from the default hvshifti is the the vertical shift, from the default value, and

hheighti is the height of the vertical ruler.

\unsetvrulerstops vrulers.

\setdefault{cmdname}{n}{default_1}{...}{default_n}

(re)sets macro hni defaults for \cmdname[#1][...][#n] to take hdefault_1i to hdefault_ni re-spectively, so that\cmdname[][xy]is the same as\cmdname*[hdefault_1i][xy][hdefault. . . i].

You don’t need to use \setdefaultunless you would like to change the default setting for macros in vruler or elsewhere.

\vrulecountholds the next mark value to be used on the vertical rules.

University of New England, Australia NSW 2351 This documentation created 2010-03-21

(2)

Defaults

The parameters of \setvruleradmit defaults. With no arguments, the command is equivalent to:

\setvruler[10pt][1][1][4][1][0pt][0pt][0pt][\textheight]

and

\setvruler[][20]has the same effect as:

\setvruler[10pt][20]

3

Notes

1. If you are using the multicol package, then you might want to move the vruler into the center to separate the columns.

2. If you use a value of \topskipother than the default, then you will have to alter hvshifti and hheighti parameters in\setvruler accordingly (which is simple).

3. It is best to choose the value \baselineskip hscalei so that line synchronisation is often

optimal. Use (e.g.) “5+” to denote the line immediately after marking number “5” if necessary.

4. In twosided book class in LATEX 2ε, the initial numbering of title page via\begin{titlepage}

is actually one page away. To overcome this, either do not include the title page in the region covered by vruler, or set the initial count (#2) to a number (a page ahead) so that the resulting initial number is what one needs.

5. The filevruler-example.styin the distribution offers an example of use.

Referenties

GERELATEERDE DOCUMENTEN

While German words usually had fixed stress on the initial syllable, Prussian had mobile stress and reduction of unstressed vowels.. This is the origin of the

Keywords: vertical communication, horizontal communication, change management, sensemaking, sensegiving, strategic ambiguity, social process of interaction, resistance,

As in the environments of amsmath, it’s possible to change the spacing between two given rows with the option of the command \\ of end of line (it’s also possible to use \\* but it

Praesent pretium, magna in eleifend egestas, pede pede pretium lorem, quis consectetuer tortor sapien facilisis magna. Mauris quis magna varius nulla

Praesent pretium, magna in eleifend egestas, pede pede pretium lorem, quis consectetuer tortor sapien facilisis magna.. Mauris quis magna varius nulla

Voor de uitvoering van de risicoverevening zijn in de jaarstaat Zvw 2007, specifieke informatie A, twee specificaties opgenomen: één van de kosten lopend boekjaar zoals verantwoord

capability Information -sharing Goal congruency Decisions synchronisation Incentive alignment Resource- sharing Collaborative communication Joint knowledge -creation Flexibility

However, if we restrict to the aperiodic points in class I, we get the stronger result that there are arbitrarily small perturbations ˜ f such that there is an open set of