leaflet manual
DESCRIPTION
manualTRANSCRIPT
-
Changes over version 0.3
The present release of the leaflet class differs basically fromits predecessor, version 0.3, which had been developedoriginally by Jrgen Schlegelmilch.
The main change is, that no more post-processing is re-quired to arrange the pages on the sheet. Furthermore, theoverall layout has been changed slightly to suit the smallpage size better. In general, documents that were writtenfor version 0.3 will exhibit different line and page breakswhen typeset using the new version of this document class.
References
[1] L. LAMPORT: LATEX. A Document Preparation Sys-tem. Users Guide And Reference Manual. SecondEdition. 1994.
[2] M. SCHRDER: The everyshi package. 2001.CTAN: macros/latex/contrib/ms/everyshi.dtx
....
....
....
....
....
....
....
....
"..
....
....
....
....
....
....
....
....
....
....
....
....
....
....
....
.."
....
....
....
....
....
....
....
....
....
....
....
....
....
....
....
....
....
....
....
....
....
....
....
....
....
....
....
....
....
....
....
....
....
....
....
....
....
....
....
....
....
...
The document class leaflet
Rolf NiepraschkWalter SchmidtHubert Glein
Last updated 2012/06/04printed February 18, 2015
Overview
The document class leaflet creates a document of (up to) sixsmall pages in portrait orientation, arranged physically ontwo normal-size pages. The target page sizes supportedby the standard LATEX article are available, plus a3paper.Printing these to both sides of a sheet and folding appropri-ately will yield a six-page leaflet.
Requirements
Using the leaflet class requires that the final document iscreated in PostScript or PDF format, using
TEX and dvips, or
pdfTEX, or
VTEX in PS or PDF mode.
(Some other drivers supported by standard LATEX work aswell.)
The non-standard macro package everyshi [?] is used by theleaflet class.
Features
Basically the leaflet class provides the same features as thestandard article class. There are, however, a number of dif-ferences and restrictions, as well as some additional facili-ties and peculiarities:
-
BACKGROUNDThesectioninglevel\partisnotavailable.Theother
sectioninglevelsarenotnumberedbydefault.
Referencestothepagewherefloatingobjectsarelo-catedmaycomeoutwrong(thisincludes\pagerefaswellas\listof...commends).
Sectionheadersaretypesetinasmallerfontsizethaninthestandardclasses.
Youmayuselist-likeenvironmentsjustasinthestan-dardclasses.Theleftmarginshavebeenadjustedtoworkwellwiththea4paperandletterpaperclassoptions.Withothertargetpagesizes,youllhavetoad-justthem.
Heresasmalldemo:
UncleMeatFirstentryinadescriptionenvironment.
KingKongSecondentry.
Firstentryinanitemizeenvironment.
1.Firstentryinanenumerateenvironment.
2.Secondentry.
(a)Firstentryinanenumerateenvironment.
i.Firstentryinanenumerateenviron-ment.
ii.Secondentry.
(b)Secondentry.
*Firstentryinanitemizeenviron-ment.
*Secondentry.
(c)Anotherentry.
3.Anotherentry.
Secondentry.
Anotherentry.
FrunobulaxAnotherentry.
Marginalnotesarepointlessonthegivenpagesizeandaredisabled.
Two-columntypesettingisnotsupportedforthesamereason.
Bydefault,therearenopageheaders,pagefootersorpagenumbers,noristhereanyspacereservedforthese.
However,youcanrestorethem,ifyoulike.Todoso,use\pagestyleaswiththestandardclasses,and\setlengthtoadjustthecorrespondingparameters(like\headheight).Atlast,youhavetocallthenewmacro
\setmargins{top}{bottom}{left}{right}.
Paragraphsareseparatedbyverticalspace;thefirstlineofaparagraphisnotindentedbydefault.
Bydefault,allparagraphsaretypesetasifyouhadspec-ified\sloppyinthedocumentpreamble.
Asmallfoldingmarkiscreatedbetweenthesecondandthethirdpage.
Themacro\CutLinedrawsaverticaldottedlinewithscissorsymbolsbetweenthepageindicatedbyitsargu-mentandtheprecedingone.Thestarredversionomitsthescissorssymbols.
Incasethetextdoesnotfitonsixpages,awarning(orerror,dependingonsomeclassoption,seebelow)willbeissued.
Toaddsomebackgroundpicturetoindividualpages,youcanuse\AddToBackgroundcommands.Itsfirstargumentspecifiesthepage,thesecondonethepicturecommands.Thestarredversionputsthepictureonthecombinedpages.
Customization
Thetypefacetobeusedforthesectionheadingsisgivenbythemacro\sectfont,andthetypefacetobeusedforthelabelsofthedescriptionenvironmentisgivenby\descfont.Bothmacrosdefaultto\bfseriesandcanbechangedusing\renewcommand*.
Thehorizontalandverticalandmarginsofthe(small)pagesdefaultto8mmand11mm,respectively,andcanbechangedusing\setmargins,asexplainedabove.Thismaybeuseful,iftheprintingengineexhibitslargerunprint-ablemargins.
Themacros\foldmarkruleand\foldmarklengthde-terminethestrokewidthandthelengthofthefoldmark,
whichisprintedbetweenthesecondandthethirdpage.Theydefaultto0.4ptand2mm,respectively,andcanbechangedusing\renewcommand*(not\setlength!).Seealsotheclassoptionsfoldmarkandnofoldmark.
Classoptions
Defaultoptionsaremarkedwithanasterisk:
tumble*,notumbleBydefault,thecontentsofthebacksideofthefinalsheetisprintedupsidedown.Theop-tionnotumblesuppressesthat.Doingsomaybenec-essarytosuitthebehaviorofcertainprintingengines.Specifying[notumble]mayalsobeusefulduringthewritingofadocument,toenableproof-readingonthescreen.
frontside,backside,bothsides*Theseoptionscon-trolwhetheronlythefrontpage,thebackpageorbothpagesofthefinalsheetaretobebecreated.Thus,youcancreateseparatefilesforthefrontanbacksideofthesheet.
foldmark*,nofoldmarkTheseoptionsspecifiywhetherornotafoldmarkistobeprinted.
combine*,nocombineTheseoptionsspecifywhetherthe(small)pagesshouldbeoutputcombinedona(large)targetpage(combine)orasindividualpages(nocombine).
Atthesametime,thedeterminebehaviourincasethetextdoesnotfitonsix(small)pages.Bydefault(combine),anerrorisraisedandthesurpluspageswillbegobbled.Otherwise(nocombine),justawarn-ingwillbeissued;shorteningthetextappropriatelyislefttotheuser.
twopart,notwopart*Allowsthetypesettingofafourpageleaflet(firstpart)andatwopagedetachableform(secondpart),forfill-informs,questionnaires,applica-tions,etc.
Otheroptionsarepassedtothearticleclass.