12.5. Sidefootnotes
tuallytwoways: oneistointernallymake
\footnote
use
\marginpar
towriteinthe
margin,theotheristocollectallsidefootnotesbottomupinthemargin.
\footnotesatfoot
\footnotesinmargin
\footnotesatfoot
(thedefault)causes
\footnote
toplaceitstextatthebottomofthe
page.Byissuing
footnotesinmargin\footnote
(andfriendslike
\footnotetext
)will
internallyuse
\marginpar
towritethefootnotetothepage.
12.5.1Bottomalignedsidefootnotes
Bottomaligned footnotesworksjust like regularfootnotes, just withaseparatemacro
\sidefootenote{
text
}
,andherethesidefootnotesareplacedatthebottomofthespec-
ifiedmargin(moreorlikeasifonehadtakenthefootnotesfromthebottomofthepage
andmovedittothemargininstead). Allthemajorfunctionalityisthesameasforthe
normal
\footnote
command.
8
\sidefootnote[
num
]{
text
}
\sidefootnotemark[
num
]
\sidefootnotetext[
num
]{
text
}
Bydefaulttheregularfootnotesandthesidefootnotesusedifferentcounters. Ifone
wouldlikethemtousethesamecounter,issuethefollowinginthepreamble:
\letcountercounter{sidefootnote}{footnote}
12.5.2Settingthelayoutfor
\sidefootnote
Thereareseveralpossibilitiestochangetheappearanceofthe
\sidefootnote
:
Specifyingthemargininwhichthesidefootnoteshouldgo,isdoneby
\sidefootmargin{
keyword
}
wherekeywordcanbeleft,right,outer,andinner,andtheirmeaningisexplainedinFig-
ure12.2.Thedefaultisouter.
\sidefoothsep
\sidefootwidth
\sidefootvsep
\sidefoothsep
isalengthcontrollingtheseparationfromthetexttothesidefootnote
column, default
\marginparsep
.
\sidefootwidth
islengthcontrollingthe widthof
thesidefootnotecolumn,default
\marginparwidth
,and
\sidefootvsep
isthevertical
distancebetweentwosidefootnotes,default
\onelineskip
.
\sidefootadjust
\setsidefootheight{
height
}
\sidefootfont
\sidefootadjust
is a a length h which h specifies the e placement of the e side foot-
note column in relation to the e bottom m of the text t block, , the e default is 0pt.
\setsidefootheight
sets the maximal height of f the e side footnote column, , default
textwidth
. Lastly
\sidefootfont
holdsthegeneralfontsettingforthesidefootnote,
9
8
\sidefootnotedoesnotmakesenseinsideminipages...
9
Thereisasimilarmacrotocontrolthefontofthetextalone.
243
Pdf merge files - Merge, append PDF files in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Provide C# Demo Codes for Merging and Appending PDF Document
best pdf combiner; acrobat split pdf into multiple files
Pdf merge files - VB.NET PDF File Merge Library: Merge, append PDF files in vb.net, ASP.NET, MVC, Ajax, WinForms, WPF
VB.NET Guide and Sample Codes to Merge PDF Documents in .NET Project
batch combine pdf; scan multiple pages into one pdf
12. P
AGENOTES
default
\normalfont\footnotesize
.
Themacro
\setsidefeet{
hsep
}{
width
}{
vsep
}{
adj
}{
font
}{
height
}
setsthespecificationsallsixsettingsaboveinonego..An‘*’means‘usethecurrentvalue’.
Somemoirinternallyusethefollowingdefault
\setsidefeet{\marginparsep}{\marginparwidth}%
{\onelineskip}{0pt}%
{\normalfont\footnotesize}{\textheight}%
Itisrecommendedtousethismacroalongwiththeothermacrosinthepreambletospecify
documentlayout.
12.5.3Styling
\sidefootnote
\sidefootmarkstyle{
code
}
controlshowthesidefootnotecounteristypesetinthesidefootnote.Thedefaultis
\sidefootmarkstyle{\textsuperscript{#1}}
Themarkistypesetinaboxofwidth
\sidefootmarkwidth
Ifthisisnegative, the
markisoutdentedintothemargin,ifzerothemarkisflushleft,andwhenpositivethe
markisindented.Themarkisfollowedbythetextofthefootnote.Secondandlaterlines
ofthetextareoffsetbythelength
\sidefootmarksep
fromtheendofthebox. Thefirst
lineofaparagraphwithinafootnoteisindentedby
\sidefootparindent
. Thedefault
valuesfortheselengthsare:
\setlength{\sidefootmarkwidth}{0em}
\setlength{\sidefootmarksep}{0em}
\setlength{\sidefootparindent}{1em}
Caveat:Itisnaturaltospecifyalengthas
\sidefootparindent
asaLAT
E
Xlength,butit
hasadownside.If,aswedohere,setthevalueto1em,thensincethesizeoftheemunit
changeswiththecurrentfontsize,onewillactuallyendupwithanindentcorresponding
tothefontsizebeingusedwhenthe
\setlength{\sidefootparindent}{1em}
wasissued,notwhenithasused(wherethefontsizemostoftenwillbe
\footnotesize
).
Atthispointweconsiderthistobeafeaturenotanerror. Onewaytogetpassthis
problemitthefollowing
\begingroup% keep font t change local
\sidefoottextfont
\global\setlength\sidefootparindent{1em}
\endgroup
Thenitwillstorethevalueofemcorrespondingtothefontbeingused.
\sidefoottextfont
holdsthefontbeingusedbythesidefootnote,default
\normalfont\footnotesize
.
\sidefootform
isusedtospecifytheraggednessofthetext.Default
244
Online Merge PDF files. Best free online merge PDF tool.
Online Merge PDF, Multiple PDF files into one. Download Free Trial. Easy converting! We try to make it as easy as possible to merge your PDF files.
build pdf from multiple files; pdf combine files online
Online Split PDF file. Best free online split PDF tool.
Easy split! We try to make it as easy as possible to split your PDF files into Multiple ones. You can receive the PDF files by simply
how to combine pdf files; acrobat combine pdf
12.6. Endnotes
1
Thisistest
2
Thisisanothersidefoot-
note,spanningseveral
lines.
And severalpara-
graphs
3
Andnumberthree
\newcommand*{\sidefootform}{\rightskip=\z@ \@plus 2em}
whichismuchlike
\raggedright
but allowssome hyphenation. . Onemightconsider
using
\usepackage{ragged2e}
\newcommand*{\sidefootform}{\RaggedRight}
Whichdoessomethingsimilar.
12.5.4Sidefootnoteexample
Inthemarginyouwillfindtheresultofthefollowingcode:
Testing\sidefootnote{This is s test} } bottom aligned
footnotes.\sidefootnote{This is s another side
footnote, spanning g several l lines.
And several l paragraphs}\sidefootnote{And number three}
Testing
1
bottomalignedfootnotes.
2,3
12.6E
NDNOTES
Reimplemented,December201010
Endnotesareoftenusedinsteadoffootnotessoasnottointerrupttheflowofthemain
text.Althoughendnotesarenormallyputattheendofthedocument,theymayinsteadbe
putattheendofeachchapter.
Theendnotespackagealreadyusesthecommand
\endnote
foranendnote, so the
classuses
\pagenote
foranendnotesoasnottoclashifyouprefertousethepackage.
\makepagenote
\pagenote[
id
]{
text
}
\printpagenotes\printpagenotes*
Thegeneralprincipleisthatnotesarewrittenouttoafilewhichistheninputatthe
placewherethenotesaretobeprinted. Thenotefilehasan
ent
extension,likethetable
ofcontentsfilehasa
toc
extension.
Youhavetoput
\makepagenote
inyourpreambleifyouwantendnotes. Thiswill
openthe
ent
notefilewhichiscalled
\jobname.ent
.
Inthebodyofthetextuseuse
\pagenote
tocreateanendnote,justasyouwoulduse
\footnote
tocreateafootnote. InthebooksthatIhavecheckedtherearetwocommon
methodsofidentifyinganendnote:
1. Likeafootnote,putanumberinthetextatthelocationofthenoteandusethesame
numbertoidentifythenotewhenitfinallygetsprinted.
2. Putnomarkinthetext,butwhenitisfinallyprinteduseafewwordsfromthetext
toidentifytheoriginofthenote. Thepagenumberisoftenusedaswellwiththis
method.
10
Theformerimplementationhadsomedifficultieshandlingcertaintypesofinput. Afewofthemacrosusedto
formattheoutputarenolongersupported/usedinthenewimplementation.
245
C# TIFF: C#.NET Code to Merge and Append TIFF Files
string[] tifFiles = new string[] { @"C:\demo1.tif", @"C:\demo2.tif" }; // Merge these Tiff files to a single Tiff file and save it to output.tif.
c# merge pdf; reader combine pdf pages
C# Word - Merge Word Documents in C#.NET
File: Merge Word Files. |. Home ›› XDoc.Word ›› C# Word: Merge Word Files. Combine and Merge Multiple Word Files into One Using C#.
pdf combine; batch combine pdf
12. P
AGENOTES
Thetextargumentof
\pagenote
isthecontentsofthenoteandiftheoptionalidargu-
mentisnotusedtheresultissimilartohavingused
\footnote
—anumberinthemain
textandthecorrespondingnumberintheendnoteslisting(asin1above).Forthesecond
referencestyle(2above)usetheoptionalidargumentforthe‘fewwords’,andnomark
willbeputintothemaintextbutidwillbeusedastheidentificationinthelisting.
For one e set of endnotes covering the whole document t put
\printpagenotes
where you u want t them printed, , typically y before any y bibliography or index. . The
\printpagenotes
macroinputsthe
ent
endnotefileforprintingandthenclosesitto
anyfurthernotes.
Fornotesattheendofeachchapterput
\printpagenotes*
,whichinputsthe
ent
file
forprintingthenemptiesitreadyformorenotes,attheendofeachchapter.
Thesimpleuseislikethis:
\documentclass[...]{memoir}
...
\makepagenote
...
\begin{document}
\chapter{One}
...\pagenote{An end d note.} ...
...\pagenote{Fascinating information.}
...
\chapter{Last}% chapter 9
...\pagenote{Another note.}% % 30th h note
...
...
\printpagenotes
...
\end{document}
ThiswillresultinanendnotelistinglookinglikeFigure12.3.
Fornotesattheendofeachchapter:
\documentclass[...]{memoir}
...
\makepagenote
...
\begin{document}
\chapter{One}
...\pagenote{An end d note.} ...
...
\printpagenotes*
\chapter{Last}
...\pagenote{Another note.} ...
...
\printpagenotes*
%%% no o more chapters
...
\end{document}
246
C# PowerPoint - Merge PowerPoint Documents in C#.NET
File: Merge PowerPoint Files. |. Home ›› XDoc.PowerPoint ›› C# PowerPoint: Merge PowerPoint Files. C# DLLs: Merge PowerPoint Files.
batch pdf merger; combine pdf files
Online Convert PDF to HTML5 files. Best free online PDF html
We try to make it as easy as possible to convert your doc files to PDF. All your PDF and HTML files will be permanently erased from our servers after one hour.
batch pdf merger online; c# merge pdf files
12.6. Endnotes
Notes
Chapter1One
1.Anendnote
2.Fascinatinginformation.
..............
Chapter9Last
1.Anothernote
Figure12.3:Exampleendnotelisting
\continuousnotenums
\notepageref
The
pagenote
counterisusedforthenotes. Bydefaulttheendnotesarenumberedper
chapter. Ifyouwantthenumberingtobecontinuousthroughoutthedocumentusethe
\continuousnotenums
declaration.Normallytheinformationonwhichpageanotewas
createdisdiscardedbutwillbemadeavailabletonotesintheendnotelistingfollowing
the
\notepageref
declaration. Both
\continuousnotenums
and
\notepageref
can
onlybeusedinthepreamble.
\notesname
\notedivision
When
\printpagenotes
(or
\printpagenotes*
)iscalledthefirstthingitdoesis
callthemacro
\notedivision
.Bydefaultthisisdefinedas:
\newcommand*{\notedivision}{\chapter{\notesname}}
with
\newcommand*{\notesname}{Notes}
Inotherwords,itwillprintoutaheadingforthenotesthatwillbereadfromthe
ent
file.
\print...
thenclosesthe
ent
fileforwritingandafterthis
\input
sittogetandprocess
thenotes.
12.6.1Changingtheappearance
Inthetext
\notenumintext{
num
}
The
pagenote
counterisusedforpagenotes. Themacro
\notenumintext
iscalledby
\pagenote
withthevalueofthe
pagenote
counterasthenumargumenttoprintthe
247
C# PDF File Split Library: Split, seperate PDF into multiple files
Also able to combine generated split PDF document files with other PDF files to form a new PDF file. Split PDF Document into Multiple PDF Files in C#.
combine pdf online; split pdf into multiple files
VB.NET PDF Convert to HTML SDK: Convert PDF to html files in vb.
' Convert PDF file to HTML5 files DocumentConverter.ConvertToHtml5("..\1.pdf", "..output\", RelativeType.SVG). Copyright © <2000-2016> by <RasterEdge.com>.
merge pdf; merge pdf files
12. P
AGENOTES
valueofthe
pagenote
counterinthemaintext. Bydefaultitisprintedasasuperscript,
butthiscanbechanged,oreveneliminated.
\newcommand*{\notenumintext}[1]{\textsuperscript{#1}}
Inthepagenotelist
Tobetterunderstandhowapagenoteentryisformattedinthepagenotelist,westartwith
thefollowingpseudocode(itisnotexactlywhatyouwillseeinthe
.ent
file,butmacros
willendupbeingcalledinthismanner)
\prenoteinnotes
\noteidinnotes{
notenum
}{
id
}
\pageinnotes{
autogeneratednotelabelkey
}
\prenotetext
Pagenotetext
\postnotetext
\postnoteinnotes
Atthestartandendwehavethetwomacros
\prenoteinnotes
and
\postnoteinnotes
,
theytake care ofpreparingforandendinganentryinthe list. . Thelististypeset t ina
mannerwhereeachitemis(atleast)aparagraph,sothedefaultdefinitionis
\newcommand{\prenoteinnotes}{\par\noindent}
\newcommand{\postnoteinnotes}{\par}
Ausercouldchangethistomakeitlookabitmorelikealistconstruction. Forexample
thefollowingwouldgiveahangingindentation
\renewcommand{\prenoteinnotes}{\par\noindent\hangindent 2em}
The
\noteidinnotes
calls
\idtextinnotes
toprintthenoteidifitwasgivenasthe
optionalargumentto
pagenote
, otherwiseitcalls
\notenuminnotes
toprintthenote
number.
\noteidinnotes{
notenum
}{
id
}
\idtextinnotes{
id
}
\notenuminnotes{
num
}
Thesearedefinedrespectivelyas:
\newcommand*{\idtextinnotes}[1]{[#1]\space}
\newcommand*{\notenuminnotes}[1]{\normalfont #1.\space}
Next we execute
\pageinnotes{
note labelkey
}
whichdoesnothingbydefault. But
if
\notepageref
is issued in the e preamble two things s happen, (1) each page e note
issues a label l such h that we can n refer r back to its s page, and (2)
\pageinnotes
calls
\printpageinnotes
(orifhyperrefisloaded
\printpageinnoteshyperref
)
\pageinnotes{
autogeneratednotelabelkey
}
\printpageinnotes{
autogeneratednotelabelkey
}
\printpageinnoteshyperref{
autogeneratednotelabelkey
}
Defaultdefinitions
\newcommand*{\printpageinnotes}[1]{%
(\pagerefname\ \pageref{#1})\space}
248
12.6. Endnotes
\newcommand\printpageinnoteshyperref[1]{%
(\hyperref[#1]{\pagerefname\ \pageref*{#1}})\space}
Thatisifhyperrefisloadedtheentiretextpage3willbethetextofahyperlink.
\prenotetext
\postnotetext
Theactualtextpartofthepagenoteisenclosedby
\prenotetext
and
postnotetext
.
Bydefaulttheydonothing,butcouldeasilyberedefinedsuchthat(only)theentrytext
wouldbeinitalic:
\renewcommand\prenotetext{\begingroup\itshape}
\renewcommand\postnotetext{\endgroup}
\addtonotes{
text
}
Themacro
\addtonotes
insertstextintothe
ent
file.
Note.
As the argument t to
\pagenote
and
\addtonotes
is moving you may y have e to
\protect
anyfragilecommands. Ifyougetstrangeerrormessages,tryusing
\protect
and
seeiftheygoaway.
Internallyin
\pagenote\addtonotes
isusedtoprovidechapterdevisionsintothenote
list. Itwilldetectbothnumberedandunnumberedchapters. Theactualtextisprovided
using
\pagenotesubhead{
chapapp
}{
num
}{
title
}
\pagenotesubheadstarred{
chapapp
}{
num
}{
title
}
\pnchap\pnschap
The macro
\pagenotesubhead
typesets the e subheadings s in an endnote e list. . The
chapappargumentisnormally
\chaptername
butifthenotesarefromanappendixthen
\appendixname
isusedinstead.numisthenumberofthechapter,orblankifthereisno
number. Lastly,titleis
\pnchap
forregularchapterswhichdefaultstotheToCentry,or
\pnschap
forstarredchapterswhichdefaultstothenormaltitle.Thedefaultdefinitionof
\pagenotesubhead
isverysimply:
\newcommand*{\pagenotesubhead}[3]{%
\section*{#1 #2 2 #3}}
\newcommand\pagenotesubheadstarred{\pagenotesubhead} % % i.e. . the e same
Bydefaultthismeansthattheheaderforstarredchapterswillbesomethinglike»Chapter
Title«,whichmaylookodd. Inthatcaseredefine
\pagenotesubheadstarred
tosome-
thingsimilarto
\renewcommand\pagenotesubheadstarred{\section*{#3}}
Justrememberthatunlessyouhavespecified
\continuousnotenums
inthepreamblethe
notecounter(
pagenote
)willonlyberesetatthestartofanynumberedchapters(because
itistiedtochangesinthechaptercounter).
249
12. P
AGENOTES
Theschemeissetupundertheassumptionthatnoteswillonlybeprintedattheendof
thedocument.Ifyouintendtoputthemattheendofeachchapter,thenyouwillprobably
wanttochangethedefinitionsofthe
\notedivision
and
\pagenotesubhead
macros.
Forexample:
\renewcommand*{\notedivision}{\section*{\notesname}}
\renewcommand*{\pagenotesubhead}[3]{}
andremembertouse
\printpagenotes*
ateachplaceyouwantthecurrentsetofnotes
tobeprinted.
Sayyouhavewrittenadocumentwithfootnotes,butlaterondecideonusingendnotes
(page notes)instead. . Inthatcaseyoucanuse
\foottopagenote
tomake
\footnote
,
\footnotemark
and
\footnotetext
worksasifitwasimplementedusingendnotes.
Ontheotherhand
\pagetofootnote
makesallpagenotesintofootnotes(notethatthis
mightnotwork,becausethereareplaceswherepagenotescanbeissuedbutfootnotes
cannot).
\foottopagenote
\pagetofootnote
Ineitherconversionthe optionalargumentwillbeignoredasfor
\pagenote
itcanbe
arbitrarytextwhereasfor
\footnote
itmustbeanumber.
250
Thirteen
Decorativetext
Tooservileasubmissiontothe
booksandopinionsofthe
ancientshasspoiledmanyan
ingeniousman,andplaguedthe
worldwithanabundanceof
pedantsandcoxcombs.
JamesPuckle(1677?–1724)
Bynowwehavecoveredmostaspectsoftypesetting. Asfarastheclassisconcerned
thischapterdescribestheslightlymorefuntaskoftypesettingepigraphs.
Someauthorsliketoaddaninterestingquotationateitherthestartorendofachap-
ter. Theclassprovidescommandstoassistinthetypesettingofasingleepigraph. Other
authorsliketoaddmanysuchquotationsandtheclassprovidesenvironmentstocaterfor
theseaswell.Epigraphscanbetypesetateithertheleft,thecenterortherightofthetype-
block.Afewexampleepigraphsareexhibitedhere,andotherscanbefoundinanarticle
byChristinaThiele[Thi99]whereshereviewedtheepigraphpackage[Wil00a]whichis
includedintheclass.
13.1 E
PIGRAPHS
The originalinspirationfor
\epigraph
wasDougSchenck’s for r the e epigraphsinour
book[SW94]. Thatwashardwiredforthepurposeathand. Theversionhereprovides
muchmoreflexibility.
\epigraph{
text
}{
source
}
Thecommand
\epigraph
typesetsanepigraphusingtextasthemaintextoftheepi-
graphandsourcebeingtheoriginalauthor(orbook,article,etc.)ofthequotedtext. By
defaulttheepigraphisplacedattherighthandsideofthetypeblock,andthesourceis
typesetatthebottomrightofthetext.
\begin{epigraphs}
\qitem{
text
}{
source
}
...
\end{epigraphs}
Chapterlastupdated2013/04/24 (revision442)
251
13. D
ECORATIVE TEXT
The
epigraphs
environmenttypesetsalistofepigraphs,andbydefaultplacesthematthe
righthandsideofthetypeblock.Eachepigraphinan
epigraphs
environmentisspecified
bya
\qitem
(analagoustothe
\item
commandinordinarylistenvironments).Bydefault,
thesourceistypesetatthebottomrightofthetext.
13.2 G
ENERAL
Exampleistheschoolofmankind,
andtheywilllearnatnoother.
LettersonaRegicidePeace
E
DMUND
B
URKE
Thecommandsdescribedinthissectionapplytoboththe
\epigraph
commandand
the
epigraphs
environment. Butfirstofall,notethatanepigraphimmediatelyaftera
headingwillcausethefirstparagraphofthefollowingtexttobeindented.Ifyouwantthe
initialparagraphtohavenoindentation,thenstartitwiththe
\noindent
command.
\epigraphwidth
\epigraphposition{
flush
}
Theepigraphsaretypesetinaminipageofwidth
\epigraphwidth
. Thedefaultvalue
forthiscanbechangedusingthe
\setlength
command.Typically,epigraphsaretypeset
inameasuremuchlessthanthewidthofthetypeblock. Thehorizontalpositionofan
epigraphinrelationtothe maintypeblockiscontrolledbythe flush argument to the
\epigraphposition
declaration. Thedefault t valueis
flushright
, sothatepigraphs
aresetattherighthandsideofthe typeblock. . Thiscanbe e changedto
flushleft
for
positioningatthelefthandsideorto
center
forpositioningatthecenterofthetypeblock.
\epigraphtextposition{
flush
}
Inorder to avoid badlinebreaks, the epigraphtextisnormallytypeset raggedright.
The flush argument to the
\epigraphtextposition
declaration controls the text
typesetting style. . By y default this s is
flushleft
(which produces s raggedright t text).
Thesensiblevaluesare
center
forcentered text,
flushright
for raggedleft text, and
flushleftright
fornormaljustifiedtext.
Ifbyanychanceyouwantthetexttobetypesetinsomeotherlayoutstyle,theeasiest
waytodothisisbydefininganewenvironmentwhichsetstheparagraphingparameters
to yourdesiredvalues. . Forexample,asthetextistypeset t inaminipage, there isno
paragraphindentation.Ifyouwanttheparagraphstobeindentedandjustifiedthendefine
anewenvironmentlike:
\newenvironment{myparastyle}{\setlength{\parindent}{1em}}{}
anduseitas:
\epigraphtextposition{myparastyle}
\epigraphsourceposition{
flush
}
252
Documents you may be interested
Documents you may be interested