• No results found

The fwlw package First Word, Last Word

N/A
N/A
Protected

Academic year: 2021

Share "The fwlw package First Word, Last Word"

Copied!
1
0
0

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

Hele tekst

(1)

The fwlw package

First Word, Last Word

Donald Arseneau

1995

The fwlw package provides a mechanism to determine the first and last words on the current page, plus the first word on the next page. (So perhaps it should have been named ‘fwlwnw’). These words can be used in head-lines or foot-lines. The ‘words’ you see may not be real words, but any unbreakable object.

Two pagestyles are defined to print these words: \pagestyle{NextWordFoot} which helps you read ahead to the word on the next page; and \pagestyle{fwlwhead} which is like the headers in a lexicon. Or you can use the words in your own page-style. The words are made available in the box registers:

\FirstWordBox – first word on this page \NextWordBox – first word on next page \LastWordBox – last word on this page

Use them in your header lines like: \usebox\LastWordBox.

Such labelling does not make sense when \chapter generates a page break, so the last page before a \chapter (or any \clearpage) gets a blank “next word”, and the first page of the chapter gets a blank “first word”. The fwlwhead page style produces blank headers on float pages.

Note that ‘words’ are any unsplittable unit and may be things like: • two words (two~words) with unbreakable space between them • Word (where represents a paragraph indent)

• a whole displayed equation

• the first column of an aligned equation • a list item label

• anomalously blank, if there are \writes or split footnotes etc. • blank for the first word of the document (because of a \write) • partial words like ‘par-’ or ‘-tial’ due to hyphenation.

In short, a wide range of irregularities will cause non-words to be captured, or nothing at all.

Referenties

GERELATEERDE DOCUMENTEN

6 De Noorse criminoloog en rechtssocioloog Katja Franko introduceert in 2011 dan ook de definitie dat crimmigratie niet zozeer ziet op de vervlechting van het strafrecht en

‘We gaan niet zeggen: kom nu maar allemaal bij ons voor euthanasie.. Zo werkt het

This study examines how organisations can respond best to negative online reviews in order to positively influence readers' perception of organisational reputation, trust in

Looking at Turkish, I show that the final foot not only captures the structure of a minimal word, but also accounts for regular final stress, for the

As a matter of fact, this is a principle of EU law, since article 4 section 2 TEU states that the Union shall respect the national identity of the Member

Genes that are functionally related should be close in text space:.  Modeled wrt a background

5 Some readers may wonder why a person with autism, who readily recognises she has difficulties understanding the social lives of people, can have such an intuitive and

Viswanathan, the teenage American writer whose debut book - How Opal Mehta Got Kissed, Got Wild, and Got a Life - has been withdrawn from bookstores and her publishing contract