asp.net mvc 4 and the web api pdf free download : Combine pdf SDK Library service wpf .net web page dnn memman14-part1360

6.9. Predefinedheadingstyles
dowding AsetbasedonDowding’sFinerPoints[Dow96]. . Itusesthedowdingchapterstyle
(FigureB.14).
komalike AsetbasedonthekindofheadingsusedintheKOMAscrbookclass,wherethere
areallinaboldsansseriffont.Itusesthekomalikechapterstyle(FigureB.17).
memman Thesetusedinthisdocument,includingthedemo3chapterstyle.
ntglike AsetbasedonthekindofheadingsusedintheNTG(DutchTUG)boekclass.Ituses
thentglikechapterstyle(FigureB.20)andtheheadingsarequiterthanthedefault.
tandh AsetbasedtheheadsusedinThames&HudsonManualofTypography[McL80]. . It
usesthetandhchapterstyle(FigureB.22)
wilsondob AsetbasedonthoseusedinAdrianWilson’sDesignofBooks[Wil93]. . Itusesthe
wilsondobchapterstyle(FigureB.26).
103
Combine pdf - Merge, append PDF files in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Provide C# Demo Codes for Merging and Appending PDF Document
pdf combine pages; pdf merger
Combine pdf - 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
combine pdf files; how to combine pdf files
Online Merge PDF files. Best free online merge PDF tool.
RasterEdge C#.NET PDF document merging toolkit (XDoc.PDF) is designed to help .NET developers combine PDF document files created by different users to one PDF
batch pdf merger online; break a pdf into multiple files
C# PDF: C#.NET PDF Document Merging & Splitting Control SDK
PDF Merging & Splitting Application. This C#.NET PDF document merger & splitter control toolkit is designed to help .NET developers combine PDF document files
pdf merge documents; add pdf files together online
Seven
Paginationandheaders
Thefocusofthischapterisonmarkingthepageswithsignpostssothatthereadercan
morereadilynavigatethroughthedocument.
7.1P
AGINATIONANDFOLIOS
EverypageinaLaTeXdocumentisincludedinthepagination.Thatis,thereisanumber
associatedwitheverypageandthisisthevalueofthe
page
counter. Thisvaluecanbe
changedatanytimeviaeither
\setcounter
or
\addtocounter
.
\pagenumbering{
rep
}
\pagenumbering*{
rep
}
Themacros
\pagenumbering
and
\pagenumbering*
causethefoliostobeprintedusing
thecounterrepresentationrepforthepage number, whererepcanbeoneof:
Alph
,
alph
,
arabic
,
Roman
or
roman
foruppercaseandlowercaseletters,arabicnumerals,and
uppercaseandlowercaseRomannumerals,respectively.Asthereareonly26letters,
Alph
or
alph
canonlybeusedforalimitednumberofpages. Effectively,themacrosredefine
\thepage
tobe
\rep{page}
.
Additionally, the
\pagenumbering
command resets the
page
counter to o one; ; the
starredversiondoesnotchange thecounter. . Itisusualtoresetthepagenumberback
tooneeachtimethestyleischanged,butsometimesitmaybedesirabletohaveacontin-
uoussequenceofnumbersirrespectiveoftheirdisplayedform,whichiswherethestarred
versioncomesinhandy.
\savepagenumber
\restorepagenumber
The macro
\savepagenumber
saves the current page number, , and d the e macro
\restorepagenumber
setsthepagenumbertothesavedvalue. Thispairofcommands
maybeusedtoapparentlyinterruptthepagination.Forexample,perhapssomefullpage
illustrationswillbeelectronicallytippedintothedocumentandpaginationisnotrequired
forthese.Thiscouldbedonealongthelinesof:
\clearpage
% get t onto next page
\savepagenumber
% save e the page number
\pagestyle{empty}
% no o headers or footers
%% insert the e illustrations
\clearpage
Chapterlastupdated2013/05/21 (revision469)
105
VB.NET PDF: Use VB.NET Code to Merge and Split PDF Documents
Combine End Sub Private Sub Combine(source As List(Of [String]), destn As [String]) Implements PDFDocument.Combine End Sub. APIs for Splitting PDF document in
attach pdf to mail merge; acrobat merge pdf files
C# PowerPoint - Merge PowerPoint Documents in C#.NET
Combine and Merge Multiple PowerPoint Files into One Using C#. This part illustrates how to combine three PowerPoint files into a new file in C# application.
pdf combine two pages into one; add pdf files together reader
7. P
AGINATIONANDHEADERS
\pagestyle{...}
\restorepagenumber
...
Ifyoutrythissortofthing,youmayhavetoadjusttherestoredpagenumberbyone.
\restorepagenumber
% perhaps s \addtocounter{page}{1} } or r \addtocounter{page}{-1}
Dependingonthetimingofthe
\...pagenumber
commandsandTeX’sdecisionsonpage
breaking,thismayormaynotbenecessary.
7.2P
AGESTYLES
Theclassprovidesaselectionofpagestylesthatyoucanuseandiftheydon’tsuit,then
therearemeanstodefineyourown.
Thesefacilitieswereinspiredbythefancyhdrpackage[Oos96],althoughthecommand
setisdifferent.
Thestandardclassesprovideforafooterandheaderforoddandevenpages. Thus
therearefourelementstobespecifiedforapagestyle. Thisclasspartitionstheheaders
andfootersintoleft,centerandrightportions,sothatoverallthereisatotalof12elements
thathavetobespecifiedforapagestyle. Youmayfind,though,thatoneofthebuiltin
pagestylesmeetsyourneedssoyoudon’thavetoworryaboutallthesespecifications.
\pagestyle{
style
}
\thispagestyle{
style
}
\pagestyle
setsthecurrentpagestyletostyle,wherestyleisawordcontainingonly
letters. On n a a particular page
\thispagestyle
can be used to override the current
pagestylefortheonepage.
Someoftheclass’commandsautomaticallycall
\thispagestyle
.Forexample:
 the
titlingpage
environmentcalls
\thispagestyle{titlingpagestyle}
 if
\cleardoublepage
willresultinanemptyversopageitcalls
\thispagestyle{cleared}
fortheemptypage.
Forreference,thefulllistisgiveninTable7.1.
Thepagestylesprovidedbytheclassare:
empty Theheadersandfootersareempty.
plain Theheaderisemptyandthefolio(pagenumber)iscenteredatthebottomofthe
page.
headings Thefooterisempty.Theheadercontainsthefolioattheoutersideofthepage;
onversopagesthechaptername,numberandtitle,inslanteduppercaseissetatthe
spinemarginandonrectopagesthesectionnumberanduppercasetitleissetbythe
spinemargin.
myheadings Liketheheadingsstylethefooterisempty.Youhavetospecifywhatistogo
intheheaders.
simple Thefooterisemptyandtheheadercontainsthefolio(pagenumber)attheouter
sideofthepage.Itisliketheheadingsstylebutwithoutanytitletexts.
106
C# Word - Merge Word Documents in C#.NET
Combine and Merge Multiple Word Files into One Using C#. This part illustrates how to combine three Word files into a new file in C# application.
break pdf into multiple files; reader merge pdf
C# PDF File Split Library: Split, seperate PDF into multiple files
Split PDF document by PDF bookmark and outlines. Also able to combine generated split PDF document files with other PDF files to form a new PDF file.
batch pdf merger; pdf merge files
7.2. Pagestyles
Table7.1:Theuseof
\thispagestyle
Calledfrom
Style
\book
book
\chapter
chapter
\cleardoublepage
cleared
\cleartorecto
cleared
\cleartoverso
cleared
\epigraphhead
epigraph
\listoffigures
chapter
\listoftables
chapter
\maketitle
title
\part
part
\tableofcontents
chapter
thebibliography
chapter
theindex
chapter
titlingpage
titlingpage
ruled Thefootercontainsthefolioattheoutside.Theheaderonversopagescontainsthe
chapternumberandtitleinsmallcapsattheoutside;onrectopgesthesectiontitleis
typesetattheoutsideusingthenormalfont.Alineisdrawnunderneaththeheader.
Ruled Thisisliketheruledstyleexceptthattheheadersandfootersextendintothefore-
edgemargin.
companion ThisisacopyofthepagestyleintheCompanionseries(e.g.,see[MG+04]). . It
issimilartotheRuledstyleinthattheheaderhasarulewhichextendstotheouter
edgeofthemarginalnotes.Thefoliosaresetinboldattheouterendsoftheheader.
Thechaptertitleissetinaboldfontflushrightintheversoheaders,andthesection
numberandtitle,againinbold,flushleftintherectoheaders.Therearenofooters.
book Thisisthesameastheplainpagestyle.
chapter Thisisthesameastheplainpagestyle.
cleared Thisisthesameastheemptypagestyle.
part Thisisthesameastheplainpagestyle.
title Thisisthesameastheplainpagestyle.
titlingpage Thisisthesameastheemptypagestyle.
\uppercaseheads\nouppercaseheads
Followingthedeclaration
\nouppercaseheads
thetitlesintheheadingspagestylewill
notbeautomaticallyuppercased. Thedefaultis
\uppercaseheads
whichspecifiesthat
thetitlesaretobeautomaticallyuppercased.
Change2012:Theuppercasingmacrousedby
\uppercaseheads
hasbeenchanged
into
\MakeTextUppercase
suchthattheuppercasingdoesnottouchmath,referencesor
citations.
Forthemyheadingspagestyleabove,youhavetodefineyourowntitlestogointothe
header.Eachsectioningcommand,say
\sec
,callsamacrocalled
\secmark
.Apagestyle
usuallydefinesthiscommandsothatitpicksupthetitle,andperhapsthenumber,ofthe
\sec
.Thepagestylecanthenusetheinformationforitsownpurposes.
107
VB.NET TIFF: Merge and Split TIFF Documents with RasterEdge .NET
filePath As [String], docList As [String]()) TIFFDocument.Combine(filePath, docList) End to provide powerful & profession imaging controls, PDF document, tiff
adding pdf pages together; merge pdf
VB.NET PowerPoint: Merge and Split PowerPoint Document(s) with PPT
Just like we need to combine PPT files, sometimes, we also want to separate a Note: If you want to see more PDF processing functions in VB.NET, please follow
batch merge pdf; c# merge pdf files
7. P
AGINATIONANDHEADERS
Table7.2:Markmacrosforpageheaders
Mainmacro
defaultmarkdefinition
\book(*)
\newcommand*{\bookpagemark}[1]{}
\part(*)
\newcommand*{\partmark}[1]{}
\chapter(*)
\newcommand*{\chaptermark}[1]{}
\section(*)
\newcommand*{\sectionmark}[1]{}
\subsection(*)
\newcommand*{\subsectionmark}[1]{}
\subsubsection(*)
\newcommand*{\subsubsectionmark}[1]{}
\paragraph(*)
\newcommand*{\paragraphmark}[1]{}
\subparagraph(*)
\newcommand*{\subparagraphmark}[1]{}
\tableofcontents(*) \newcommand*{\tocmark}[1]{}
\listoffigures(*)
\newcommand*{\lofmark}[1]{}
\listoftables(*)
\newcommand*{\lotmark}[1]{}
\thebibliography
\newcommand*{\bibmark}{}
\theindex
\newcommand*{\indexmark}{}
\theglossary
\newcommand*{\glossarymark}{}
\PoemTitle
\newcommand*{\poemtitlemark}[1]{}
\PoemTitle*
\newcommand*{\poemtitlestarmark}[1]{}
\markboth{
left
}{
right
}
\markright{
right
}
\markboth
setsthevaluesoftwomarkerstoleftandrightrespectively,atthepointin
thetextwhereitiscalled.Similarly,
\markright
setsthevalueofamarkertoright.
\leftmark\rightmark
Themacro
\leftmark
containsthevalueoftheleftargumentofthelast
\markboth
on
thepage. Themacro
\rightmark
containsthevalueoftherightargumentofthefirst
\markboth
or
\markright
onthepage,orifthereisnotoneitcontainsthevalueofthe
mostrecentrightargument.
A pagestyle can define the
\secmark
commands in terms of
\markboth
or
\markright
,andthenuse
\leftmark
and/or
\rightmark
intheheadersorfooters.I’ll
showexamplesofhowthisworkslater,andthisisoftenhowthemyheadingsstylegets
implemented.
Allthedivisioncommandsincludeamacrothatyoucandefinetosetmarksrelated
tothatheading. Othercommandsalsoincludemacrosthatyoucanredefineforsetting
marks.
The
\...mark
commandsarelistedinTable7.2.Whentheyarecalledbytherelevant
mainmacro,thosethattakeanargumentarecalledwiththe‘title’astheargument’svalue.
Forexample,the
\chapter
macrocalls
\chaptermark
withthevalueofthetitlespecified
asbeingfortheheader.
PleaserememberthatthemacroslistedinTable 7.2are‘provider’macros, i.e. . they
provideinformationfor
\leftmark
and
\rightmark
for youtouselater on. . Togain
accesstothe sectiontitle,youdo notuse
\sectionmark
inthe headeror footer. . It t is
108
7.3. Makingheadersandfooters
left
center
right
\footrule
THETYPEBLOCK
\headrule
left
center
right
-
\runningwidth
Figure7.1:Headerandfooterslots
amacrothatprovidesinformation, but youneedtouse
\leftmark
or
\rightmark
to
accessdependingonhowyouhavedefined
\sectionmark
.
7.3M
AKINGHEADERSANDFOOTERS
Asmentioned,theclassprovidesforleft,center,andrightslotsinevenandoddheaders
andfooters. Thissectiondescribeshowyoucanmakeyourownpagestyleusingthese12
slots.The6slotsforapagearediagrammedinFigure7.1.
Theclassitselfusesthecommandsfromthissection.Forexample,theplainpagestyle
isdefinedas
\makepagestyle{plain}
\makeevenfoot{plain}{}{\thepage}{}
\makeoddfoot{plain}{}{\thepage}{}
whichcentersthepagenumberatthebottomofthepage.
\makepagestyle{
style
}
\aliaspagestyle{
alias
}{
original
}
\copypagestyle{
copy
}{
original
}
Thecommand
\makepagestyle
specifiesapagestylestylewhichisinitiallyequiv-
alenttotheemptypagestyle. Ontheotherhand,
\aliaspagestyle
definesthealias
pagestyletobethesameastheoriginalpagestyle. Asanexampleofthelatter,theclass
includesthecode
\aliaspagestyle{part}{plain}
\aliaspagestyle{chapter}{plain}
\aliaspagestyle{cleared}{empty}
109
7. P
AGINATIONANDHEADERS
The
\copypagestyle
commandcreatesanewpagestylecalledcopyusingtheoriginal
pagestylespecification.
Ifanaliasandacopypagestylearecreatedbasedonthesameoriginalandlaterthe
originalismodified,thealiasandcopybehavedifferently. Theappearanceofthealias
pagestylewillcontinuetomatchthemodifiedoriginalbutthecopypagestyleisunaf-
fectedbyanychangetotheoriginal. Youcannotmodifyanaliaspagestylebutyoucan
modifyacopypagestyle.
\makeevenhead{
style
}{
left
}{
center
}{
right
}
\makeoddhead{
style
}{
left
}{
center
}{
right
}
\makeevenfoot{
style
}{
left
}{
center
}{
right
}
\makeoddfoot{
style
}{
left
}{
center
}{
right
}
The macro
\makeevenhead
defines the left, , center, and d right portions of f the
style pagestyle header for even n numbered d (verso) pages. . Similarly
\makeoddhead
,
\makeevenfoot
,and
\makeoddfoot
definetheleft,centerandrightportionsofthe
styleheaderforoddnumbered(recto)pages,andthefootersforversoandrectopages.
Thesecommandsforstyleshouldbeusedafterthecorresponding
\makepagestyle
for
style.
\makerunningwidth{
style
}[
footwidth
]{
headwidth
}
\headwidth
Themacro
\makerunningwidth
setsthewidthsofthestylepagestyleheadersandfoot-
ers. Theheaderwidthissettoheadwidth. . Iftheoptionalfootwidthispresent,thenthe
footerwidthisset tothat, otherwisetoheadwidth. . The e headerwidthisstoredasthe
length
\
style
headrunwidth
andthefooterwidthas
\
style
footrunwidth
.
The
\makepagestyle
initialisesthewidthstobethetextwidth,sothemacroneedonly
beusedifsomeotherwidthisdesired.Thelength
\headwidth
isprovidedasa(scratch)
lengththatmaybeusedforheadersorfooters,oranyotherpurpose.
\makeheadrule{
style
}{
width
}{
thickness
}
\makefootrule{
style
}{
width
}{
thickness
}{
skip
}
\makeheadfootprefix{
style
}{
forheadrule
}{
forfootrule
}
A header mayhave a a rule e drawnbetweenit andthe top ofthe typeblock, and simi-
larlyarule maybe drawn n between the e bottomofthe e typeblockand d the footer. . The
\makeheadrule
macrospecifiesthewidthandthicknessoftherulebelowthestyle
pagestyleheader,andthe
\makefootrule
doesthesamefortheruleabovethefooter;
theadditionalskipargumentisadistancethatspecifiestheverticalpositioningofthe
foot rule(see
\footruleskip
). The
\makepagestyle
macroinitialisesthe width to
the
\textwidth
andthethicknessto0pt,sobydefaultnorulesarevisible. Themacro
\makeheadfootruleprefix
isintendedforaddingalternativecolorstothehead/foot
rules,e.g.
\makeheadfootruleprefix{mystyle}{\color{red}}{\color{blue}}
\normalrulethickness
110
7.3. Makingheadersandfooters
\normalrulethickness
isthenormalthicknessofavisiblerule,bydefault0.4pt.Itcan
bechangedusing
\setlength
,althoughIsuggestthatyoudonotunlessperhapswhen
usingatleastthe14ptclassoption.
\footruleheight
\footruleskip
Themacro
\footruleheight
istheheightofanormalruleaboveafooter(defaultzero).
\footruleskip
isadistancesufficienttoensurethatafootrulewillbeplacedbetween
thebottomofthetypeblockandthefooter.Despiteappearingtobelengths,ifyoureally
needtochangethevaluesuse
\renewcommand
,not
\setlength
.
\makeheadposition{
style
}
{
eheadpos
}{
oheadpos
}{
efootpos
}{
ofootpos
}
The
\makeheadposition
macrospecifiesthehorizontalpositioningoftheevenandodd
headersandfooters,respectively,forthestylepagestyle. Eachofthe...posarguments
maybe
flushleft
,
center
,or
flushright
,withtheobviousmeanings. Anempty,or
unrecognised,argumentisequivalentto
center
. Thismacroisreallyonlyofuseifthe
header/footerwidthisnotthesameasthe
\textwidth
.
\makepsmarks{
style
}{
code
}
The last thing that the
\pagestyle{
style
}
does is s call the e code argument of f the
\makepsmarks
macroforstyle. Thisisnormallyusedforspecifyingnon-defaultcode
(i.e.,codenotspecifiableviaanyofthepreviousmacros)fortheparticularpagestyle.The
codenormallydefinesthemarks,ifany,thatwillbeusedintheheadersandfooters.
\makeheadfootstrut{
style
}{
headstrut
}{
footstrut
}
Theheadersandfootersareeachmadeupofthreeseparateentities.Atthefrontandendof
theseaspecialstylerelatedstrutisinserted.Bydefault
\makepagestyle
willinitialize
themto
\strut
(excepttheemptystylewhere thestrutsareempty). . One e canuse the
macroabovetochangethesestrutstosomethingdifferent.
7.3.1Examplepagestyles
Perhapswhenpreparingdraftsyou want tonoteoneachpage thatit isadraftdocu-
ment. Assumingthatyouareusingtheheadings s pagestyleandthatthedefaultplain
pagestyleisusedonchapteropenings,thenyoucoulddefinethefollowinginthepream-
ble(
\ifdraftdoc
isprovidedbytheclassandisset
true
whenthedraftoptionisused).
\ifdraftdoc
\makeevenfoot{plain}{}{\thepage}{\textit{Draft: \today}}
\makeoddfoot{plain}{\textit{Draft: \today}}{\thepage}{}
\makeevenfoot{headings}{}{}{\textit{Draft: \today}}
\makeoddfoot{headings}{\textit{Draft: \today}}{}{}
\fi
111
7. P
AGINATIONANDHEADERS
Nowwhenthedraftoptionisusedtheword‘Draft:’andthecurrentdatewillbetypeset
initalicsatthebottomofeachpagebythespinemargin. Ifanyemptypagesshouldbe
markedaswell,specifysimilarfootersforthatstyleaswell.
Here ispart ofthe standarddefinitionofthe headingspagestyleforthe bookclass
whichusesmanyinternalLaTeXcommands;butnotethatmemoirdoesnotusethis.
\def\ps@headings{%
\let\@oddfoot\@empty\let\@evenfoot\@empty
\def\@evenhead{\thepage\hfil\slshape\leftmark}%
\def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
\def\chaptermark##1{%
\markboth{\MakeUppercase{%
\ifnum\c@secnumdepth > > \m@ne
\if@mainmatter
\@chapapp\ \thechapter. \ \ %
\fi
\fi
##1}}{}}%
\def\sectionmark##1{%
\markright{\MakeUppercase{%
\ifnum\c@secnumdepth > > \z@
\thesection. \ \ %
\fi
##1}}}}
Youdon’tneedtounderstandthisbutinoutlinethefirstthreelinesspecifythecontentsof
thefootersandheaders,andtheremainderofthecodesetsthemarksthatwillbeusedin
theheaders.The
\leftmark
isspecifiedtobetheword‘chapter’,followedbythenumber
ifitisinthe
\mainmatter
andthe
secnumdepth
issuchthatchaptersarenumbered,fol-
lowedbythechapter’stitle;allthisismadetobeinuppercase(viathe
\MakeUppercase
macro).Similarlytheothermark,
\rightmark
,isthesectionnumber,ifthereisone,and
thesection’stitle,againallinuppercase.
Atransliterationofthiscodeintomemoir’soriginalcodingstyleis:
\makepagestyle{headings}
\makeevenhead{headings}{\thepage}{}{\slshape\leftmark}
\makeoddhead{headings}{\slshape\rightmark}{}{\thepage}
\makepsmarks{headings}{%
\def\chaptermark##1{%
\markboth{\MakeUppercase{%
\ifnum\c@secnumdepth > > \m@ne
\if@mainmatter
\@chapapp\ \thechapter. \ \ %
\fi
\fi
##1}}{}}%
\def\sectionmark##1{%
\markright{\MakeUppercase{%
\ifnum\c@secnumdepth > > \z@
112
Documents you may be interested
Documents you may be interested