\usepackage{multibib}
\newcites{bk,art}%
{References from books,%
References from articles}
\bibliographystylebk{alpha}
\bibliographystyleart{plain}
...
\citebk[pp.~23--25]{milne:pooh-corner}
...
\citeart{einstein:1905}
...
\bibliographybk{book-bib}
\bibliographyart{art-bib}
Again,asformultibbl,any
\bibliography...
commandmayscananylistof
.bib
files.
BibTeXprocessingwithmultibibismuchlikethatwithmultibbl;withtheabove
example,oneneeds:
bibtex bk
bibtex art
Notethat,unlikemultibbl,multibiballowsasimple,unmodifiedbibliography(aswell
asthe“topic”ones).
Thebibtopicpackageallowsyouseparatelytociteseveraldifferentbibliographies.
Attheappropriateplaceinyourdocument,youputasequenceof
btSect
environ-
ments(eachofwhichspecifiesabibliographydatabasetoscan)totypesettheseparate
bibliographies.Thus,onemighthaveafile
diss.tex
containing:
\usepackage{bibtopic}
\bibliographystyle{alpha}
...
\cite[pp.~23--25]{milne:pooh-corner}
...
\cite{einstein:1905}
...
\begin{btSect}{book-bib}
\section{References from books}
\btPrintCited
\end{btSect}
\begin{btSect}[plain]{art-bib}
\section{References from articles}
\btPrintCited
\end{btSect}
Notethedifferentwayofspecifyingabibliographystyle:ifyouwantadifferentstyle
foraparticularbibliography,youmaygiveitasanoptionalargumenttothe
btSect
environment.
ProcessingwithBibTeX,inthiscase,uses
.aux
fileswhosenamesarederivedfrom
thenameofthebasedocument.Sointhisexampleyouneedtosay:
bibtex diss1
bibtex diss2
Thereisalsoacommand
\btPrintNotCited
,whichgivestherestofthecontent
ofthedatabase(ifnothinghasbeencitedfromthedatabase,thisisequivalenttoLaTeX
standard
\nocite{
*
}
).
However,therealdifferencefrommultibblandmultibibisthatselectionofwhat
appearsineachbibliographysectionisdeterminedinbibtopicbywhat’sinthe
.bib
files.
121
Convert pdf to webpage - application SDK tool:C# PDF Convert to HTML SDK: Convert PDF to html files in C#.net, ASP.NET MVC, WinForms, WPF application
How to Convert PDF to HTML Webpage with C# PDF Conversion SDK
www.rasteredge.com
Convert pdf to webpage - application SDK tool:VB.NET PDF Convert to HTML SDK: Convert PDF to html files in vb.net, ASP.NET MVC, WinForms, WPF application
PDF to HTML Webpage Converter SDK for VB.NET PDF to HTML Conversion
www.rasteredge.com
Anentirelydifferentapproach istakenbythesplitbib package. You providea
category
environment, in thepreambleof yourdocument,foreach categoryyou
want aseparatecitationlistfor. Ineach environment,you listthe
\cite
keysthat
youwantlistedineachcategory.The
\bibliography
command(or,moreprecisely,
the
thebibliography
environmentituses)willsortthekeysasrequested.(Keysnot
mentionedina
category
appearina“misc”categorycreatedinthesortingprocess.)A
codeexampleappearsinthepackagedocumentation(aPDFfileintheCTANdirectory,
seethefilelist,below).
bibtopic.sty
:
macros/latex/contrib/bibtopic
multibbl.sty
:
macros/latex/contrib/multibbl
multibib.sty
:
macros/latex/contrib/multibib
splitbib.sty
:
macros/latex/contrib/splitbib
182 Puttingbibliographyentriesintext
Thisisacommonrequirementforjournalsandotherpublicationsinthehumanities.
Sometimestherequirementisfortheentrytoappearintherunningtextofthedocument,
whileotherstylesrequirethattheentryappearinafootnote.
Optionsforentriesinrunningtextare
• Thepackagebibentry,whichputsslightrestrictionsontheformatofentrythatyour
.bst
filegenerates,butisotherwiseundemandingofthebibliographystyle.
• Thepackageinlinebib,whichrequiresthatyouuseits
inlinebib.bst
.Inlinebib
wasactuallydesignedforfootnotecitations: itsexpecteduseisthatyouplacea
citationinlineastheargumentofa
\footnote
command.
• Thepackagejurabib,whichwasoriginallydesignedforGermanlawdocuments,
andhascomprehensivefacilitiesforthemanipulationofcitations.Thepackage
comeswithfourbibliographystylesthatyoumayuse:
jurabib.bst
,
jhuman.bst
andtwoChicago-likeones.
Optionsforentriesinfootnotesare
• Thepackagefootbib,and
• Packagesjurabibandinlinebib,again.
NotethatjurabibdoesthejobusingLaTeX’sstandardfootnotes,whereasfootbibcreates
itsownsequenceoffootnotes.Therefore,inadocumentwhichhasotherfootnotes,it
maybeadvisabletousejurabib(orofcourseinlinebib),toavoidconfusionoffootnotes
andfoot-citations.
Theusebibpackageoffersa‘toolbox’,whichallowstheusertoplaceexactlywhat
isneeded,inthetext(thatis,ratherthanafullcitation).Thepackage’scommand,that
doestheactualtypesetting,is
\usebibdata{
h
key
i
}{
h
field
i
}
;ittypesetsthefield
itemfromtheentrykeyinthebibliography;theuserthenformatstheentryasdesired—
obviouslyonecouldconstructone’sownbibliography,altogether,fromthiscommand,
butitwouldquicklybecometedious.
bibentry.sty
: Distributed with
macros/latex/contrib/natbib
footbib.sty
:
macros/latex/contrib/footbib
inlinebib.sty
:
biblio/bibtex/contrib/inlinebib
jurabib.sty
:
macros/latex/contrib/jurabib
usebib.sty
:
macros/latex/contrib/usebib
183 Sortingandcompressingcitations
IfyougiveLaTeX
\cite{fred,joe,harry,min}
,itsdefaultcommandscouldgive
somethinglike“[2,6,4,3]”;thislooksawful.Onecanofcoursegetthethingsinorder
byrearrangingthekeysinthe
\cite
command,butwhowantstodothatsortofthing
fornomoreimprovementthan“[2,3,4,6]”?
122
application SDK tool:Online Convert PDF to HTML5 files. Best free online PDF html
HTML converter library control is a 100% clean .NET document image solution, which is designed to help .NET developers convert PDF to HTML webpage using simple
www.rasteredge.com
application SDK tool:VB.NET PDF Convert to Tiff SDK: Convert PDF to tiff images in vb.
Able to convert PDF to Tiff in .NET WinForms application and ASP.NET webpage. Convert PDF file to Tiff and jpeg in ASPX webpage online.
www.rasteredge.com
Thecitepackagesortsthenumbersanddetectsconsecutivesequences,socreating
“[2–4,6]”.Thenatbibpackage,withthe
numbers
and
sort&compress
options,willdo
thesamewhenworkingwithitsownnumericbibliographystyles(
plainnat.bst
and
unsrtnat.bst
).
Thepackagebiblatexhasabuilt-instylenumeric-compforitsbibliographies.
biblatex.sty
:
macros/latex/contrib/biblatex
cite.sty
:
macros/latex/contrib/cite
hypernat.sty
:
macros/latex/contrib/hypernat
hyperref.sty
:
macros/latex/contrib/hyperref
plainnat.bst
: Distributedwith
macros/latex/contrib/natbib
unsrtnat.bst
: Distributedwith
macros/latex/contrib/natbib
184 Multiplecitations
Aconventionsometimesusedinphysicsjournalsisto“collapse”agroupofrelated
citationsintoasingleentryinthebibliography.BibTeX,bydefault,can’tcopewiththis
arrangement,butthemciteandmcitepluspackagesdealwiththeproblem.
mciteoverloadsthe
\cite
commandtorecognisea“
*
”atthestartofakey,sothat
citationsoftheform
\cite{paper1,
*
paper2}
appearinthedocumentasasinglecitation,andappeararrangedappropriatelyinthe
bibliographyitself.You’renotlimitedtocollapsingjusttworeferences.Youcanmix
“collapsed”referenceswith“ordinary”ones,asin
\cite{paper0,paper1,
*
paper2,paper3}
Whichwillappearinthedocumentas3citations“[4,7,11]”(say)—citation‘4’will
refertopaper0,‘7’willrefertoacombinedentryforpaper1andpaper2,and‘11’will
refertopaper3.
Youneedtomakeasmallchangetothebibliographystyle(
.bst
)fileyouuse;the
mcitepackagedocumentationtellsyouhowtodothat.
MostrecentversionsofREVTeX(version4.1andlater),inconjunctionwithrecent
versionsofnatbib,alreadycontainsupportforcombinedcitationsandsonolongereven
needmciteplus(butmciteplusismoregeneralandwillworkwithmanyotherclassand
packagecombinations).
Themcitepluspackageadressesmanyoftheinfelicitesofmcite.Again,‘ordinary’
.bst
fileswillnotworkwithmciteplus,butthepackagedocumentationexplainshowto
patchanexistingBibTeXstyle.
Thecollref packagetakesaratherdifferentapproachtotheproblem,andwillwork
withmost(ifnotall)BibTeXpackages.Collref spotscommonsubsetsofthereferences,
soifitseesasequence
\cite{paper0,paper1,paper2,paper3}
...
\cite{some_other_paper,paper1,paper2,and_another}
itwillcollect
paper1
and
paper2
asamultiplereference.
collref.sty
:
macros/latex/contrib/collref
mcite.sty
:
macros/latex/contrib/mcite
mciteplus.sty
:
macros/latex/contrib/mciteplus
natbib.sty
:
macros/latex/contrib/natbib
revtex4.1
:
macros/latex/contrib/revtex
123
application SDK tool:C# Word - Convert Word to HTML in C#.NET
VB.NET How-to, VB.NET PDF, VB.NET Word, VB.NET Excel, VB.NET PowerPoint, VB.NET Tiff, VB.NET Imaging, VB.NET OCR How to Convert Word to HTML Webpage with C#
www.rasteredge.com
application SDK tool:C# powerpoint - Convert PowerPoint to HTML in C#.NET
HTML in C#.NET. How to Convert PowerPoint to HTML Webpage with C# PowerPoint Conversion SDK. PowerPoint to HTML Conversion Overview.
www.rasteredge.com
185 Referencesfromthebibliographytothecitation
Alink(oratleastapagereference),fromthebibliographytothecitingcommand,is
oftenusefulinlargedocuments.
Twopackagessupportthisrequirement,backref andciteref.Backref ispartofthe
hyperref bundle,andsupportshyperlinksbacktothecitingcommand.
Citeref istheolder,andseemstorelyonrathersimpler(andthereforepossiblymore
stable)code;itproducesalistofpagereferences,only.Itdoesn’tinteractwellwith
othercitationpackages(forexample,cite),whichprobablyreflectsitsantiquity(it’s
derivedfromaLaTeX2.09package).
Neithercollapseslistsofpages(“
5, 6, 7
”comesoutassuch,ratherthanas“
5-7
”),
butneitherpackagerepeatsthereferencetoapagethatholdsmultiplecitations.(The
failureto collapselistsis of courseforgiveablein thecaseof thehyperref-related
backref,sincetheconceptofmultiplehyperlinksfromthesameanchorislessthan
appealing.)
backref.sty
: Distributedwith
macros/latex/contrib/hyperref
citeref.sty
:
macros/latex/contrib/citeref
186 Sortinglistsofcitations
BibTeXhasasortingfunction,andmostBibTeXstylessortthecitationlisttheyproduce;
mostpeoplefindthisdesirable.
However,itisperfectlypossibletowritea
thebibliography
environmentthat
looksasifitcamefromBibTeX,andmanypeopledoso(inordertosavetimeinthe
shortterm).
Theproblemariseswhen
thebibliography
-writersdecidetheircitationsneedto
besorted.Acommonmisapprehensionistoinsert
\bibliographystyle{alpha}
(or
similar)andexpectthetypesetoutputtobesortedinsomemagicalway.BibTeXdoesn’t
workthatway!—ifyouwrite
thebibliography
,yougettosortitscontents.BibTeX
willonlysortthecontentsofa
thebibliography
environmentwhenitcreatesit,tobe
insertedfroma
.bbl
filebya
\bibliography
command.
187 Reducingspacinginthebibliography
Bibliographiesare,infact,implementedaslists,soalltheconfusionaboutreducinglist
itemspacingalsoappliestobibliographies.
Ifthenatbibpackage‘works’foryou(itmaynotifyouareusingsomespecial-
purposebibliographystyle),thesolutionisrelativelysimple—add
\usepackage{natbib}
\setlength{\bibsep}{0.0pt}
tothepreambleofyourdocument.
Thecompactbibpackagehasasimilareffect.Itsprimarypurposeistoproducetwo
bibliographies,anditseemstoprecludeuseofBibTeX(thoughthepackagedocumenta-
tion,inthepackagefileitself,isn’tparticularlyclear).
Otherwise,oneisintounseemlyhackingofsomethingorother.Themdwlistpackage
actuallydoesthejob,butitdoesn’tworkhere,becauseitmakesadifferent-namedlist,
whilethename“
thebibliography
”isbuiltintoLaTeXandBibTeX.Therefore,we
needtopatchtheunderlyingmacro:
\let\oldbibliography\thebibliography
\renewcommand{\thebibliography}[1]{%
\oldbibliography{#1}%
\setlength{\itemsep}{0pt}%
}
Thesavetreespackageperformssuchapatch,amongaplethoraofspace-savingmea-
sures: youcan,inprinciple,suppressallitsotheractions,andhaveitprovideyoua
compressedbibliographyonly.
compactbib.sty
:
macros/latex/contrib/compactbib/compactbib.sty
124
application SDK tool:C# HTML5 PDF Viewer SDK to view, annotate, create and convert PDF
edit PDF document page in ASPX webpage, set and edit RasterEdge provide HTML5 PDF Viewer and Editor to help C# users to view, annotate, convert and edit
www.rasteredge.com
application SDK tool:VB.NET PDF Convert to Word SDK: Convert PDF to Word library in vb.
Best VB.NET adobe PDF to Microsoft Office Word converter SDK for Visual Studio .NET. Convert PDF to Word in both .NET WinForms and ASP.NET webpage.
www.rasteredge.com
mdwlist.sty
: Distributedaspartof
macros/latex/contrib/mdwtools
natbib.sty
:
macros/latex/contrib/natbib
savetrees.sty
:
macros/latex/contrib/savetrees
188 Tableofcontentsrearranges“unsrt”ordering
Ifyou’reusingtheunsrtbibliographystyle,you’reexpectingthatyourbibliography
willnotbesorted,butthattheentrieswillappearintheorderthattheyfirstappearedin
yourdocument.
However,ifyou’reunfortunateenoughtoneedacitationinasectiontitle,andyou
alsohaveatableofcontents,thecitationsthatnowappearinthetableofcontentswill
upsetthe“natural”orderingproducedbytheunsrtstyle.Similarly,ifyouhavecitations
incaptions,andhavealistoffigures(ortables).
There’saprettysimple“manual”methodfordealingwiththeproblem—whenyou
havethedocumentstable:
1. Deletethe
.aux
file,andanyof
.toc
,
.lof
,
.lot
files.
2. RunLaTeX.
3. RunBibTeXforthelasttime.
4. RunLaTeXoftenenoughthatthingsarestableagain.
Whichisindeedsimple,butit’sgoingtogettediouswhenyou’vefounderrorsinyour
“stable”version,oftenenough.
Thepackagenotocciteavoidsthekerfuffle,andsuppressescitationswhileinthe
tableofcontents,orlistsoffigures,tables(orotherfloatingthings:thecodeisquite
general).
notoccite.sty
:
macros/latex/contrib/notoccite
189 Non-englishbibliographies
Likesomuchofearly(La)TeXsoftware,BibTeX’sassumptionswerefirmlyrootedin
whatitsauthorknewwell,viz.,academicpapersinEnglish(particularlythosewitha
mathematicalbent).BibTeX’sstandardstylesalladdressexactlythatproblem,leaving
theuserwhowritesinanotherlanguage(orwhodealwithcitationsinthestyleofother
disciplinesthanmaths)tostrikeoutintocontributedsoftware.
FortheuserwhoselanguageisnotEnglish,thereareseveralalternatives.Possibly
moststraightforwardistoswitchtousingbiblatex,whichcanproduceabibliography
appropriatetoseverallanguages.However,biblatexislargeandhascorrespondingly
largedocumentation(thoughitiswell-writtenandpleasinglytypeset),soitsadoption
takestime.
Otherwise,thesimplestprocedureistoprovidetranslationsofBibTeXstylesinto
therequiredlanguage:thesolitaryfinplain.bstdoesthatforFinnish;othersonecanfind
areforDanish(dk-bib),French(bib-fr),German(bibgerm),Norwegian(norbib)and
Swedish(swebib)bundles(ofwhichthebib-frsetisthemostextensive).Thespain
styleimplementsatraditionalSpanishcitationstyle.
Thesestaticapproachessolvetheproblem,forthelanguagesthathavebeencovered
by them. Unfortunately, withsuchanapproach,alotofworkisneededfor every
languageinvolved.Tworoutestoasolutionofthe“general”problemareavailable—
thatofferedbybabelbib,andthecustom-bibmechanismforgeneratingstyles.
Babelbib(whichisadevelopmentoftheideasofthebibgermpackage)co-operates
withbabeltocontrolthelanguageofpresentationofcitations(potentiallyatthelevel
ofindividualitems).Thepackagehasabuilt-insetoflanguagesit‘knowsabout’,but
thedocumentationincludesinstructionsondefiningcommandsforotherlanguages.
Babelbibcomeswithitsownsetofbibliographystyles,whichcouldbearestrictionif
therewasn’talsoalinkfromcustom-bib.
Themakebstmenuofcustom-biballowsyoutochoosealanguagefortheBibTeX
styleyou’regenerating (thereare14 languagestochoose; it looks asifspain.bst,
mentioned above,wasgenerated this way). If, however, youopt not tospecify a
language,youareaskedwhetheryouwantthestyletointeractwithbabelbib;ifyoudo
125
application SDK tool:C# Excel - Convert Excel to HTML in C#.NET
C# Excel - Convert Excel to HTML in C#.NET. How to Convert Excel to HTML Webpage with C# Excel Conversion SDK. Excel to HTML Conversion Overview.
www.rasteredge.com
application SDK tool:VB.NET TIFF: Convert TIFF to HTML Web Page Using VB.NET TIFF
converters, like VB.NET PDF to HTML converter toolkit to convert PDF document to HTML webpage and VB.NET Word to HTML conversion add-on to transform Microsoft
www.rasteredge.com
so,you’regettingthebestofbothworlds—formattingfreedomfromcustom-biband
linguisticfreedomviatheextensibilityofbabelbib
babelbib.sty
:
biblio/bibtex/contrib/babelbib
bib-fr
bundle:
biblio/bibtex/contrib/bib-fr
bibgerm
bundle:
biblio/bibtex/contrib/germbib
biblatex.sty
:
macros/latex/contrib/biblatex
custom-bib
bundle:
macros/latex/contrib/custom-bib
finplain.bst
:
biblio/bibtex/contrib/misc/finplain.bst
norbib
bundle:
biblio/bibtex/contrib/norbib
spain
:
biblio/bibtex/contrib/spain
swebib
bundle:
biblio/bibtex/contrib/swebib
190 Formatofnumbersinthebibliography
Bydefault,LaTeXmakesentriesinthebibliographylooklike:
[1]Doe,Joeetal.Somejournal.2004.
[2]Doe,Janeetal.Somejournal.2003.
whilemanydocumentsneedsomethinglike:
1.Doe,Joeetal.Somejournal.2004.
2.Doe,Janeetal.Somejournal.2003.
Thissortofchangemaybeachievedbymanyofthe“general”citationpackages;
forexample,innatbib,it’sassimpleas:
\renewcommand{\bibnumfmt}[1]{#1.}
butifyou’renotusingsuchapackage,thefollowinginternalLaTeXcommands,inthe
preambleofyourdocument,willdothejob:
\makeatletter
\renewcommand
*
{\@biblabel}[1]{\hfill#1.}
\makeatother
natbib.sty
:
macros/latex/contrib/natbib
N.3 Manipulatingwholebibliographies
191 ListingallyourBibTeXentries
LaTeXand BibTeXco-operatetoofferspecialtreatmentofthisrequirement. The
command
\nocite{
*
}
isspeciallytreated,andcausesBibTeXtogeneratebibliography
entriesforeveryentryineach
.bib
filelistedinyour
\bibliography
statement,so
thatafteraLaTeX–BibTeX–LaTeXsequence,youhaveadocumentwiththewhole
thinglisted.
NotethatLaTeXdoesn’tproduce“
Citation ...
undefined
”or“
There were
undefined references
”warningsinrespectof
\nocite{
*
}
.Thisisn’taproblem
ifyou’rerunningLaTeX“byhand”(youknowexactlyhowmanytimesyouhaveto
runthings),butthelackmightconfuseautomaticprocessorsthatscanthelogfileto
determinewhetheranotherrunisnecessary.
Acoupleofpackagesareavailable,thataimtoreducetheimpactof
\nocite{
*
}
ofalargecitationdatabase.BiblistwaswrittenforuseunderLaTeX2.09,butseems
toworkwellenough;listbibismoremodern.Bothprovidetheirown
.bst
files.(The
impactoflargedatabaseswassignificantintheolddaysofLaTeXsystemswithvery
littlefreememory;thisproblemislesssignificantnowthanitoncewas.)
biblist.sty
:
macros/latex209/contrib/biblist
listbib.sty
:
macros/latex/contrib/listbib
126
192 MakingHTMLofyourBibliography
Aneat solution isoffered by thenoTeX bibliography style. Thisstyleproduces a
.bbl
filewhichisinfactaseriesofHTML‘
P
’elementsofclass
noTeX
,andwhich
maythereforebeincludedinanHTMLfile. Provisionismadeforcustomisingyour
bibliographysothatitscontentwhenprocessedbynoTeXisdifferentfromthatpresented
whenitisprocessedintheordinarywayby(La)TeX.
Athoroughsolutionisofferedbybib2xhtml;usingit,youmakeuseofoneofits
modifiedversionsofmanycommonBibTeXstyles,andpost-processtheoutput so
producedusingaperlscript.
Amoreconventionaltranslatoristheawkscriptbbl2html,whichtranslatesthe
.bbl
fileyou’vegenerated: asampleofthescript’soutputmaybeviewedontheweb,at
http://rikblok.cjb.net/lib/refs.html
bbl2html.awk
:
biblio/bibtex/utils/misc/bbl2html.awk
bib2xhtml
:
biblio/bibtex/utils/bib2xhtml
noTeX.bst
:
biblio/bibtex/utils/misc/noTeX.bst
O
Adjustingthetypesetting
O.1 Alternativedocumentclasses
193 Replacingthestandardclasses
Peopleareforeverconcoctingclassesthatreplacethestandardones:thepresentauthor
producedanukartclassthatusedthesoberpackage,andafewBritish-specificthings
(suchasappearinthebabelpackage’sBritish-englishspecialisation)inthe1980s,which
isstilloccasionallyused.
SimilarpubliceffortswereavailablewellbackinthedaysofLaTeX2.09:anotable
example,whosepleasingdesignsseemnottohavechangedmuchoverallthattime,is
thentgclassbundle.Eachofthestandardclassesisreplacedbyaselectionofclasses,
namedinDutch,sometimeswithasinglenumericdigitattached.Sowehaveclasses
artikel2,rapport1,boek3andbrief.Theseclassesaremoderatelywelldocumentedin
English.
TheKOMA-scriptbundle(classesnamedscr...)areastrongcurrentcontender.They
areactivelysupportedandaresubjecttosensitivedevelopment;theyarecomprehensive
intheircoverageofsignificanttypesettingissues;theyproducegood-lookingoutput
andtheyarewelldocumentedinbothEnglish(scrguieninthedistribution)andGerman
(scrguideinthedistribution).
The other comparableclassis memoir. This aims to replace bookand report
classesdirectly,and (likeKOMA-script)iscomprehensiveinitscoverageofsmall
issues.Memoir’sdocumentation(memman)isveryhighlyspokenof,anditslengthy
introductorysectionisregularlyrecommendedasatutorialontypesetting.
KOMA-scriptbundle:
macros/latex/contrib/koma-script
memoir.cls
:
macros/latex/contrib/memoir
NTGclassbundle:
macros/latex/contrib/ntgclass
sober.sty
:
macros/latex209/contrib/misc/sober.sty
194 Producingpresentations(includingslides)
Lamport’soriginalLaTeXhadaseparateprogram(SliTeX)forproducingslides;it
datesfromtheagewhencoloureffectswereproducedbyprintingseparateslidesin
different-colouredinks,andoverlayingthem,andwasjustaboutacceptablebackthen.
WhenLaTeX2ecamealong,thereasonSliTeXhadtobeaseparateprogramwentaway,
anditsfunctionalitywassuppliedbytheslidesclass.Whilethismakeslifealittleeasier
forsystemadministrators,itdoesnothing fortheinferiorfunctionalityoftheclass:
no-onewho“knows”usesslidesnowadays.
127
The‘classic’alternativeshavebeenseminarandfoils(originallyknownasFoilTeX).
Bothwereoriginallydesignedtoproduceoutputonacetatefoils,thoughsubsequent
workhasprovidedenvironmentsinwhichtheycanbeusedwithscreenprojectors(see
below).
TheadventofMicrosoftPowerPoint(feeblethoughearlyversionsofitwere)has
createdademandfor“dynamic”slides—imagesthatdeveloptheircontentinamore
elaboratefashionthanbymerelyreplacingonefoilwiththenextinthewaythatwasthe
normwhenslides,foilsandseminarweredesigned.
Theprosperclassbuildsonseminartoprovidedynamiceffectsandthelike; it
retainstheabilitytoprovidePDFforaprojectedpresentation,ortoprintfoilsforafoil-
basedpresentation.Theadd-onpackageppr-prvadds“preview”facilities(thatwhich
iscommonlycalled“hand-outprinting”).TheHA-prosperpackage,whichyouload
withprosper,mendsafewbugs,andaddsseveralfacilitiesandslidedesignstyles.The
(morerecent)powerdotclassisdesignedasareplacementforprosperandHA-prosper,
co-authoredbytheauthorofHA-prosper.
Beamerisarelativelyeasy-to-learn,yetpowerful,classthat(asitsnameimplies)
wasdesignedforusewithprojectiondisplays.Itneedsthepgf package(forgraphics
support),whichinturnrequiresxcolor;whilethisaddstothetediumofinstallingbeamer
“fromscratch”,botharegoodadditionstoamodernLaTeXinstallation.Beamerhas
reasonablefacilitiesforproducingprintedcopiesofslides.
Talkisanotherhighlyfunctional,yeteasy-to-learnclasswhichclaimstodifferfrom
thesystemsmentionedabove,suchasbeamer,inthatitdoesn’timposeaslidestyle
onyou.Yougettospecifyabunchofslidestyles,andyoucanswitchfromonetothe
otherbetweenslides,asyouneed.Theclassitselfprovidesjusttheonestyle,inthe
packagegreybars: theauthor’ssuggestionthatusersshouldcontributetheirownhas
beenenthusiasticallyaccepted—see(forexample)theBeamerGallery.
Lecturerisagenericsolution(itworkswithPlainTeX,LaTeXandConTeXtmkii,
butnot—yet—withConTeXtmkiv). Byseparatingthefunctionalityneededfor
apresentation (usingTeXfortypesetting,and PDF functionsfor layeringand dy-
namiceffects)aclearstructureemerges.Whileitdoesn’thavetherangeof“themes”
(presentationstyles)ofbeameritseemsausefulalternativecandidate.
PresentisdesignedforusewithPlainTeXonly;itsdesignissimple,totheextent
thatitsauthorhopesthatuserswillthemselvesbeabletotuneitsmacros.
Ppower4 (commonlyknownaspp4)isaJava-based supportprogram that will
postprocessPDF,to‘animate’thefileatplacesyou’vemarkedwithcommandsfrom
oneofthepp4packages.Thecommandsdon’tworkonPDFthathascomefromdvips
output;theyworkwithPDFgeneratedbyPDFLaTeX,LaTeX,ordvipdfmrunningon
LaTeXoutput.
Pdfscreenandtexpowerareadd-onpackagesthatpermitdynamiceffectsindoc-
umentsformattedin“moremodest”classes; pdfscreenwill evenallowyouto plug
“presentationeffects”intoanarticle-classdocument.
Amoredetailedexaminationofthealternatives(includingexamplesofcodeusing
manyofthem)maybefoundatMichaelWiedmann’sfine
http://www.miwie.org/
presentations/presentations.html
ConTeXt users will find that much (if not all)ofwhat they needisalready in
ConTeXtitself;there’sausefulsummaryofwhat’savailable,withexamples,in
http:
//wiki.contextgarden.net/Presentation_Styles
beamer.cls
: Downloadall of
macros/latex/contrib/beamer
foils.cls
:
macros/latex/contrib/foiltex
greybars.sty
: distributedwith
macros/latex/contrib/talk
HA-prosper.sty
:
macros/latex/contrib/ha-prosper
lecturer.sty
:
macros/generic/lecturer
seminar.cls
:
macros/latex/contrib/seminar
pdfscreen.sty
:
macros/latex/contrib/pdfscreen
pgf.sty
:
graphics/pgf/base
128
powerdot.cls
:
macros/latex/contrib/powerdot
pp4
:
support/ppower4
ppr-prv.sty
:
macros/latex/contrib/ppr-prv
present.tex
:
macros/plain/contrib/present
prosper.cls
:
macros/latex/contrib/prosper
talk.cls
:
macros/latex/contrib/talk
texpower
:
macros/latex/contrib/texpower
xcolor.sty
:
macros/latex/contrib/xcolor
195 CreatingposterswithLaTeX
Thereisnocomplete“cannedsolution”tocreatingaposter(as,forexample,classeslike
seminar,powerdotandbeamerserveforcreatingpresentationsinavarietyofstyles).
Thenearestapproachtothecompletesolutionisthesciposterclass,whichprovides
themeanstoproducereallyrathergoodpostersaccordingtotheauthor’srequiredstyle.
Acompleteworkedexampleisprovidedwiththedistribution
Otherwise,thereisarangeoftools,mostofwhicharebasedonthea0posterclass,
whichsetsupanappropriately-sizedpieceofpaper,setsfontsizesappropriately,and
leavesyoutoyourowndevices.
Havinguseda0poster,youcanofcourseslogitout,andwriteallyourposteras
anunadornedLaTeXdocument(presumablyinmultiplecolumns,usingthemulticol
package),butit’snotreallynecessary:the(straightforward)textpospackageprovidesa
simplewayofpositioningchunksoftext,ortablesorfigures,ontheposterpage.
Moresophisticatedistheflowframpackage,whosebasicaiminlifeisflowingtext
fromoneboxonthepagetothenext. Oneofthepackage’sdesignaimsseemsto
havebeentheproductionofposters,andaworkedexampleisprovided.Theauthorof
flowframhasanexperimentaltoolcalledJpgfDraw,whichallowsyoutoconstructthe
outlineofframesforusewithflowfram.
Thebeamerposterpackageisaddedtoabeamerdocumenttoenabletheuserto
workasifinaa0posterclass.Thusbeamer’sneatprovisionsforlayoutmaybeused
whencreatingtheposter.Documentationofbeamerposterissparse,butanexamplefile
allowstheusertogetagriponwhat’savailable.
Despitetherelativeshortageoftools,thereareafairfewwebpagesthatexplainthe
process(mostlyintermsofthea0posterroute):
• fromNormanGray,ProducingpostersusingLaTeX;
• fromNicolaTalbot,CreatingtechnicalposterswithLaTeX
• FromRobClarkAdvancedLaTeXPosters(whichhaslinkstocodesamples);
• fromBrianWolven,LaTeXPosterMacros,Examples,andAccessories(thispage
alsoprovidesmacrosandothersupportsuggestions);and
• from“pjh”MakingandprintingaposterwithLaTeX,whichcoversthespecificissue
ofdealingwithUniversityofFloridastyledposter(offeringsupportingmaterialas
necessary),buthashintswhicharegenerallyuseful.
a0poster.cls
:
macros/latex/contrib/a0poster
beamer.cls
:
macros/latex/contrib/beamer
beamerposter.sty
:
macros/latex/contrib/beamerposter
flowfram.sty
:
macros/latex/contrib/flowfram
multicol.sty
: Distributedaspartof
macros/latex/required/tools
sciposter.cls
:
macros/latex/contrib/sciposter
textpos.sty
:
macros/latex/contrib/textpos
129
196 FormattingathesisinLaTeX
ThesisstylesareusuallyveryspecifictoyourUniversity,soit’susuallynotprofitableto
askaroundforapackageoutsideyourownUniversity.SincemanyUniversities(intheir
eccentricway)stillrequiredouble-spacedthesistext,youmayalsoneedseparatelyto
setupdoublespacing.
Ifyouwanttowriteanewthesisclassofyourown,agoodplacetostartisthe
UniversityofCaliforniastyle,butrememberthatit’softendifficulttoproduceathesis
thatbothlooksgoodandconformswiththestylethatyourUniveristydemands.
UCthesisstyle
:
macros/latex/contrib/ucthesis
197 Settingpapersforjournals
Publishersofjournalshaveawiderangeofrequirementsforthepresentationofpapers,
andwhilemanypublishersdoacceptelectronicsubmissionsin(La)TeX,theydon’t
oftensubmitrecommendedmacrostopublicarchives.
Nevertheless,thereareconsiderablenumbersof macrosof onesortoranother
availableonCTAN;searchingforyourjournalnameintheCTANcatalogue—see
searchingCTAN)—maywellturnupwhatyou’reseeking.
Failingthat,youmaybewelladvisedtocontacttheprospectivepublisherofyour
paper;manypublishershavemacrosontheirownwebsites,orotherwiseavailableonly
uponapplication.
Checkthatthepublisherisofferingyoumacrossuitabletoanenvironmentyou
can use: afewstillhaveno macrosforcurrent LaTeX,forexample,claimingthat
LaTeX2.09isgoodenough...
Somepublishersrekeyanythingsentthemanyway,sothatitdoesn’treallymatter
what macrosyouuse. Othersmerely encourageyoutouseasfewextensionsofa
standardpackageaspossible,sothattheywillfinditeasytotransformyourpaperto
theirowninternalform.
198 A‘report’fromlotsof‘article’s
Thisisarequirement,forexample,ifoneispreparingtheproceedingsofaconference
whosepapersweresubmittedinLaTeX.
ThenearestthingstocannedsolutionsarePeterWilson’scombineandFederico
Garcia’ssubfilesclasses,butmanyapproacheshavebeenproposed. Eachofofthe
offeringshasitsownadvantages;inparticular,severaldistinctlylight-weightsolutions
(forexample,includexanddocmute)areavailable,well-suitedtolessformaldocuments.
Combinedefinesthemeansto‘
\import
’entiredocuments,andprovidesmeansof
specifyingsignificantfeaturesofthelayoutofthedocument,aswellasaglobaltable
ofcontents,andsoon. Thecompletesetoffacilitiesisprettycomplex.Anauxiliary
package,combinet,allowsuseofthe
\title
sand
\author
s(etc.)ofthe
\import
ed
documentstoappearintheglobaltableofcontents.Thebasicstructureofacombined
documentwouldbe:
\documentclass[...]{combine}
...
\begin{document}
...
<introductory materiel>
...
\begin{papers}
% title and author of first article,
% to go the the main ToC
\coltoctitle{...}
\coltocauthor{...}
\label{art1}
\import{art1}
...
\end{papers}
130
Documents you may be interested
Documents you may be interested