Last page of appendices has wrong number formatAppendices in PDF Outline appear as childs of last sectionPage number formatAppendices merged into the last “part”Wrong page number in contentsRemove appendices page keep individual appendicesPage number is not printed on last page (before the appendices)Suppress/Remove Appendices cover pageRemoving page numbers from appendicesDifferent page numbering in appendices while keeping main numberingCreate List of Appendices, Format Appendices and Add to table of Contents
prove that the matrix A is diagonalizable
Infinite Abelian subgroup of infinite non Abelian group example
Neighboring nodes in the network
What is the word for reserving something for yourself before others do?
How do conventional missiles fly?
Python: return float 1.0 as int 1 but float 1.5 as float 1.5
What mechanic is there to disable a threat instead of killing it?
I Accidentally Deleted a Stock Terminal Theme
How do I write bicross product symbols in latex?
Blender 2.8 I can't see vertices, edges or faces in edit mode
Brothers & sisters
What is the intuition behind short exact sequences of groups; in particular, what is the intuition behind group extensions?
What exploit are these user agents trying to use?
Diode datasheet reading
What to put in ESTA if staying in US for a few days before going on to Canada
How to show the equivalence between the regularized regression and their constraint formulas using KKT
Why "Having chlorophyll without photosynthesis is actually very dangerous" and "like living with a bomb"?
Is there a hemisphere-neutral way of specifying a season?
Is "remove commented out code" correct English?
Where does SFDX store details about scratch orgs?
How could indestructible materials be used in power generation?
Anagram holiday
Did Shadowfax go to Valinor?
Emailing HOD to enhance faculty application
Last page of appendices has wrong number format
Appendices in PDF Outline appear as childs of last sectionPage number formatAppendices merged into the last “part”Wrong page number in contentsRemove appendices page keep individual appendicesPage number is not printed on last page (before the appendices)Suppress/Remove Appendices cover pageRemoving page numbers from appendicesDifferent page numbering in appendices while keeping main numberingCreate List of Appendices, Format Appendices and Add to table of Contents
Wats poppin,
I have an issue with my project in which the last page of the appendices does not maintain intended page numbering format. I have tried cleadoublepage command but I am guessing its some other malfunction (my bad). Below is my preamble and MWE. My apologies for the length of the preamble, in case it has to do with an option here.
documentclass[12pt]book
usepackage[spanish,es-nodecimaldot,es-lcroman,es-noquoting]babel %Hyphen
addtocaptionsspanishrenewcommandcontentsnameÍNDICE GENERAL
addtocaptionsspanishrenewcommandlistfigurenameÍNDICE DE FIGURAS
addtocaptionsspanishrenewcommandlisttablenameÍNDICE DE TABLAS
addtocaptionsspanishrenewcommandfigurenameFigura
addtocaptionsspanishrenewcommandtablenameTabla
addtocaptionsspanish%
renewcommandappendixnameANEXO
renewcommandappendixpagenameAnexos
addtocaptionsspanishrenewcommandrefnameReferencias
usepackagewrapfig %Texto alrededor de imágenes.
usepackagefancyhdr %Encabezado.
%usepackage[nottoc]tocbibind %Referencias no aparece numerada
usepackage[titletoc,title]appendix %Simple modificacion apendices
renewcommandaddappheadtotoc%
phantomsectionaddcontentslinetocchapterappendixtocname%
usepackagefloat %Posiciona figuras en lugar deseado.
setlengthintextsep10pt %Float environment spacing before and after.
usepackageetoolbox %For Appendix page number A.1...D.1
usepackagetocloft
renewcommandcftsubsecafterpnumvskip1pt
renewcommandcftsecafterpnumvskip2pt
renewcommandcftchapafterpnumvskip2pt
setlengthcftbeforesecskip2pt
setlengthcftbeforesubsecskip1pt
renewcommandcftloftitlefontLarge bfseries
renewcommandcftlottitlefontLarge bfseries
renewcommandcfttoctitlefontLarge bfseries
setlengthcftbeforetoctitleskip0em
setlengthcftbeforelottitleskip0em
setlengthcftbeforeloftitleskip0em
setlengthcftaftertoctitleskip1.5em
setlengthcftafterlottitleskip1.5em
setlengthcftafterloftitleskip1.5em
cftsetindentsfigure0em3.3em
cftsetindentstable0em3.3em
%%% Patching the kernel @sect command
usepackageregexpatch
makeatletter
xpatchcmd*@sectfi#7fi@nameuseformat#1#7
%%% for sections and subsections we want uppercase
protecteddefformatsectionMakeUppercase
protecteddefformatsubsectionMakeUppercase
%%% the other titles are left unchanged
letformatsubsubsection@firstofone
letformatparagraph@firstofone
letformatsubparagraph@firstofone
%%% the following is necessary only if hyperref is used
AtBeginDocument%
pdfstringdefDisableCommands%
letformatsection@firstofone
letformatsubsection@firstofone
%
makeatother
%renewcommandcfttoctitlefontnormalfontnormalsizebfseriesMakeUppercase
usepackage[export]adjustbox
%newcommandappendixpagenumbering
% break
% pagenumberingarabic
% renewcommandthepagethechapter-arabicpage
usepackageamsmath %To write equations and math symbols.
lethbarrelax %Conflicting issue with fontspec and mtpro2.
usepackage[mtpcal,subscriptcorrection,slantedGreek,nofontinfo,amssymbols]mtpro2 %MathTime Professional 2 for fluency with Times font and Times math.
usepackagemathtools %For equation with cases.
usepackagesiunitx %For SI units
usepackagecaption %All lines left aligned.
captionsetupformat=hang
usepackage[bibstyle=apa,citestyle=authoryear-comp,maxcitenames=2,uniquelist=false,giveninits=true,uniquename=init,doi=false,isbn=false,url=false,dashed=true,sorting=nyt,backend=biber]biblatex
DeclareNameAliassortnamelast-first
DeclareLanguageMappingspanishspanish-apa
AtEveryBibitemclearfieldmonth
usepackagecsquotes
%addbibresourceR.bib
DefineBibliographyStringsspanish%
andothers = etaddabbrvspace aladddot,
bibliography = Referencias,
DeclareCiteCommandciteyearpar %Use hyperef with citeryearpar command.
mkbibparensbibhyperrefprintdate
multicitedelim
DefineBibliographyExtrasspanishprotecteddefbibrangedashtextendash
usepackagerotating, booktabs %Better hline commands.
usepackageenumitem %Spacing in list items.
renewcommandlabelitemi$circ$
usepackagescrextend %Margin indentation.
usepackagemulticol,multirow %Can make cells in tables with multiple rows or columns.
usepackagesectsty %Hooks to change section header styles.
sectionfontnormalsize
subsectionfontnormalsize
subsubsectionfontnormalsize
%paragraphfontsmall MakeUppercase
usepackagesubcaption
newtheoremtheoremTeorema
usepackagelistings
lstsetlanguage=Matlab,numbers=left,numbersep=1.1em,xleftmargin=3em,frame=single,framexleftmargin=2.9em,columns=flexible,showstringspaces=false,breaklines=true
usepackagematlab-prettifier
usepackagearydshln
usepackagechngcntr %Per-section numbering in article class.
counterwithinfiguresection
counterwithintablesection
counterwithinequationsection
renewcommandtheequationarabicchapter.arabicsection.arabicequation
usepackagetablefootnote %Footnotes in table environments
usepackagetitlesec
titleformatchapter[hang]
normalfontLargebfserieschaptertitlename thechapter:1em
titlespacing*chapter0pt-15pt25pt
setcountersecnumdepth3 %Number to subsubsection and in TOC
setcountertocdepth3
setlengthparindent0.5in %Paragraph indentation.
captionsetupbelowskip=1pt,aboveskip=4pt
usepackage[bookmarks,hypertexnames=false,debug]hyperref
usepackage[letterpaper,margin=1in,footskip=1.2cm,headheight=2cm,headsep=0.5cm]geometry
usepackagefancyhdr %Encabezado.
pagestylefancy
fancyhf % clear all header and footer fields
fancyhead[LO,RE]
fancyhead[LE]School
fancyhead[RO]Department
fancyfoot[LO,RE]small thepage
fancyfoot[RO]smallscshapenouppercaseleftmark
fancyfoot[LE]smallscshapenouppercaserightmark
renewcommandheadrulewidth0.4pt
renewcommandfootrulewidth0.4pt
fancypagestyleplain % the preset of fancyhdr
fancyhf
fancyhead[LO]
fancyhead[RO]School
fancyfoot[C]small thepage
renewcommandheadrulewidth0.4pt
renewcommandfootrulewidth0.4pt
usepackage[spanish,tight]minitoc %Table of Contents per Chapter
%addtocaptionsspanishrenewcommandmtctitleAnother Title
usepackagebookmark
hypersetuplinkcolor=black
usepackagefontspec %Set a main font.
setmainfontTimes New Roman[SmallCapsFont=TeX Gyre Termes,SmallCapsFeatures=Letters=SmallCaps]
usepackage[spanish]cleveref %Fancy pantsy ref.
CrefnamesectionSecciónSecciones
CrefnamechapterCapítuloCapítulos
CrefnametableTablaTablas
CrefnameappAnexoAnexos
CrefnamegraphGráficoGráficos
%Hyphenation not included
tolerance=1
emergencystretch=maxdimen
hyphenpenalty=10000
hbadness=10000
usepackagelipsum
begindocument
beginappendices
pretocmdchapter%
clearpage
pagenumberingarabic%
renewcommand*thepagethechapter-arabicpage%
renewcommandthetablethesection.arabictable
renewcommandthefigurethesection.arabicfigure
renewcommandtheequationthesection.arabicequation
addtocontentstoccftpagenumbersoffchapter
chapterChapter 1
sectionSection 1
lipsum[1-10]
clearpage
chapterChapter 2
sectionSection 1
lipsum[10-30]
endappendices
enddocument
Thanks for the help,
Deuces.
page-numbering appendices
add a comment |
Wats poppin,
I have an issue with my project in which the last page of the appendices does not maintain intended page numbering format. I have tried cleadoublepage command but I am guessing its some other malfunction (my bad). Below is my preamble and MWE. My apologies for the length of the preamble, in case it has to do with an option here.
documentclass[12pt]book
usepackage[spanish,es-nodecimaldot,es-lcroman,es-noquoting]babel %Hyphen
addtocaptionsspanishrenewcommandcontentsnameÍNDICE GENERAL
addtocaptionsspanishrenewcommandlistfigurenameÍNDICE DE FIGURAS
addtocaptionsspanishrenewcommandlisttablenameÍNDICE DE TABLAS
addtocaptionsspanishrenewcommandfigurenameFigura
addtocaptionsspanishrenewcommandtablenameTabla
addtocaptionsspanish%
renewcommandappendixnameANEXO
renewcommandappendixpagenameAnexos
addtocaptionsspanishrenewcommandrefnameReferencias
usepackagewrapfig %Texto alrededor de imágenes.
usepackagefancyhdr %Encabezado.
%usepackage[nottoc]tocbibind %Referencias no aparece numerada
usepackage[titletoc,title]appendix %Simple modificacion apendices
renewcommandaddappheadtotoc%
phantomsectionaddcontentslinetocchapterappendixtocname%
usepackagefloat %Posiciona figuras en lugar deseado.
setlengthintextsep10pt %Float environment spacing before and after.
usepackageetoolbox %For Appendix page number A.1...D.1
usepackagetocloft
renewcommandcftsubsecafterpnumvskip1pt
renewcommandcftsecafterpnumvskip2pt
renewcommandcftchapafterpnumvskip2pt
setlengthcftbeforesecskip2pt
setlengthcftbeforesubsecskip1pt
renewcommandcftloftitlefontLarge bfseries
renewcommandcftlottitlefontLarge bfseries
renewcommandcfttoctitlefontLarge bfseries
setlengthcftbeforetoctitleskip0em
setlengthcftbeforelottitleskip0em
setlengthcftbeforeloftitleskip0em
setlengthcftaftertoctitleskip1.5em
setlengthcftafterlottitleskip1.5em
setlengthcftafterloftitleskip1.5em
cftsetindentsfigure0em3.3em
cftsetindentstable0em3.3em
%%% Patching the kernel @sect command
usepackageregexpatch
makeatletter
xpatchcmd*@sectfi#7fi@nameuseformat#1#7
%%% for sections and subsections we want uppercase
protecteddefformatsectionMakeUppercase
protecteddefformatsubsectionMakeUppercase
%%% the other titles are left unchanged
letformatsubsubsection@firstofone
letformatparagraph@firstofone
letformatsubparagraph@firstofone
%%% the following is necessary only if hyperref is used
AtBeginDocument%
pdfstringdefDisableCommands%
letformatsection@firstofone
letformatsubsection@firstofone
%
makeatother
%renewcommandcfttoctitlefontnormalfontnormalsizebfseriesMakeUppercase
usepackage[export]adjustbox
%newcommandappendixpagenumbering
% break
% pagenumberingarabic
% renewcommandthepagethechapter-arabicpage
usepackageamsmath %To write equations and math symbols.
lethbarrelax %Conflicting issue with fontspec and mtpro2.
usepackage[mtpcal,subscriptcorrection,slantedGreek,nofontinfo,amssymbols]mtpro2 %MathTime Professional 2 for fluency with Times font and Times math.
usepackagemathtools %For equation with cases.
usepackagesiunitx %For SI units
usepackagecaption %All lines left aligned.
captionsetupformat=hang
usepackage[bibstyle=apa,citestyle=authoryear-comp,maxcitenames=2,uniquelist=false,giveninits=true,uniquename=init,doi=false,isbn=false,url=false,dashed=true,sorting=nyt,backend=biber]biblatex
DeclareNameAliassortnamelast-first
DeclareLanguageMappingspanishspanish-apa
AtEveryBibitemclearfieldmonth
usepackagecsquotes
%addbibresourceR.bib
DefineBibliographyStringsspanish%
andothers = etaddabbrvspace aladddot,
bibliography = Referencias,
DeclareCiteCommandciteyearpar %Use hyperef with citeryearpar command.
mkbibparensbibhyperrefprintdate
multicitedelim
DefineBibliographyExtrasspanishprotecteddefbibrangedashtextendash
usepackagerotating, booktabs %Better hline commands.
usepackageenumitem %Spacing in list items.
renewcommandlabelitemi$circ$
usepackagescrextend %Margin indentation.
usepackagemulticol,multirow %Can make cells in tables with multiple rows or columns.
usepackagesectsty %Hooks to change section header styles.
sectionfontnormalsize
subsectionfontnormalsize
subsubsectionfontnormalsize
%paragraphfontsmall MakeUppercase
usepackagesubcaption
newtheoremtheoremTeorema
usepackagelistings
lstsetlanguage=Matlab,numbers=left,numbersep=1.1em,xleftmargin=3em,frame=single,framexleftmargin=2.9em,columns=flexible,showstringspaces=false,breaklines=true
usepackagematlab-prettifier
usepackagearydshln
usepackagechngcntr %Per-section numbering in article class.
counterwithinfiguresection
counterwithintablesection
counterwithinequationsection
renewcommandtheequationarabicchapter.arabicsection.arabicequation
usepackagetablefootnote %Footnotes in table environments
usepackagetitlesec
titleformatchapter[hang]
normalfontLargebfserieschaptertitlename thechapter:1em
titlespacing*chapter0pt-15pt25pt
setcountersecnumdepth3 %Number to subsubsection and in TOC
setcountertocdepth3
setlengthparindent0.5in %Paragraph indentation.
captionsetupbelowskip=1pt,aboveskip=4pt
usepackage[bookmarks,hypertexnames=false,debug]hyperref
usepackage[letterpaper,margin=1in,footskip=1.2cm,headheight=2cm,headsep=0.5cm]geometry
usepackagefancyhdr %Encabezado.
pagestylefancy
fancyhf % clear all header and footer fields
fancyhead[LO,RE]
fancyhead[LE]School
fancyhead[RO]Department
fancyfoot[LO,RE]small thepage
fancyfoot[RO]smallscshapenouppercaseleftmark
fancyfoot[LE]smallscshapenouppercaserightmark
renewcommandheadrulewidth0.4pt
renewcommandfootrulewidth0.4pt
fancypagestyleplain % the preset of fancyhdr
fancyhf
fancyhead[LO]
fancyhead[RO]School
fancyfoot[C]small thepage
renewcommandheadrulewidth0.4pt
renewcommandfootrulewidth0.4pt
usepackage[spanish,tight]minitoc %Table of Contents per Chapter
%addtocaptionsspanishrenewcommandmtctitleAnother Title
usepackagebookmark
hypersetuplinkcolor=black
usepackagefontspec %Set a main font.
setmainfontTimes New Roman[SmallCapsFont=TeX Gyre Termes,SmallCapsFeatures=Letters=SmallCaps]
usepackage[spanish]cleveref %Fancy pantsy ref.
CrefnamesectionSecciónSecciones
CrefnamechapterCapítuloCapítulos
CrefnametableTablaTablas
CrefnameappAnexoAnexos
CrefnamegraphGráficoGráficos
%Hyphenation not included
tolerance=1
emergencystretch=maxdimen
hyphenpenalty=10000
hbadness=10000
usepackagelipsum
begindocument
beginappendices
pretocmdchapter%
clearpage
pagenumberingarabic%
renewcommand*thepagethechapter-arabicpage%
renewcommandthetablethesection.arabictable
renewcommandthefigurethesection.arabicfigure
renewcommandtheequationthesection.arabicequation
addtocontentstoccftpagenumbersoffchapter
chapterChapter 1
sectionSection 1
lipsum[1-10]
clearpage
chapterChapter 2
sectionSection 1
lipsum[10-30]
endappendices
enddocument
Thanks for the help,
Deuces.
page-numbering appendices
add a comment |
Wats poppin,
I have an issue with my project in which the last page of the appendices does not maintain intended page numbering format. I have tried cleadoublepage command but I am guessing its some other malfunction (my bad). Below is my preamble and MWE. My apologies for the length of the preamble, in case it has to do with an option here.
documentclass[12pt]book
usepackage[spanish,es-nodecimaldot,es-lcroman,es-noquoting]babel %Hyphen
addtocaptionsspanishrenewcommandcontentsnameÍNDICE GENERAL
addtocaptionsspanishrenewcommandlistfigurenameÍNDICE DE FIGURAS
addtocaptionsspanishrenewcommandlisttablenameÍNDICE DE TABLAS
addtocaptionsspanishrenewcommandfigurenameFigura
addtocaptionsspanishrenewcommandtablenameTabla
addtocaptionsspanish%
renewcommandappendixnameANEXO
renewcommandappendixpagenameAnexos
addtocaptionsspanishrenewcommandrefnameReferencias
usepackagewrapfig %Texto alrededor de imágenes.
usepackagefancyhdr %Encabezado.
%usepackage[nottoc]tocbibind %Referencias no aparece numerada
usepackage[titletoc,title]appendix %Simple modificacion apendices
renewcommandaddappheadtotoc%
phantomsectionaddcontentslinetocchapterappendixtocname%
usepackagefloat %Posiciona figuras en lugar deseado.
setlengthintextsep10pt %Float environment spacing before and after.
usepackageetoolbox %For Appendix page number A.1...D.1
usepackagetocloft
renewcommandcftsubsecafterpnumvskip1pt
renewcommandcftsecafterpnumvskip2pt
renewcommandcftchapafterpnumvskip2pt
setlengthcftbeforesecskip2pt
setlengthcftbeforesubsecskip1pt
renewcommandcftloftitlefontLarge bfseries
renewcommandcftlottitlefontLarge bfseries
renewcommandcfttoctitlefontLarge bfseries
setlengthcftbeforetoctitleskip0em
setlengthcftbeforelottitleskip0em
setlengthcftbeforeloftitleskip0em
setlengthcftaftertoctitleskip1.5em
setlengthcftafterlottitleskip1.5em
setlengthcftafterloftitleskip1.5em
cftsetindentsfigure0em3.3em
cftsetindentstable0em3.3em
%%% Patching the kernel @sect command
usepackageregexpatch
makeatletter
xpatchcmd*@sectfi#7fi@nameuseformat#1#7
%%% for sections and subsections we want uppercase
protecteddefformatsectionMakeUppercase
protecteddefformatsubsectionMakeUppercase
%%% the other titles are left unchanged
letformatsubsubsection@firstofone
letformatparagraph@firstofone
letformatsubparagraph@firstofone
%%% the following is necessary only if hyperref is used
AtBeginDocument%
pdfstringdefDisableCommands%
letformatsection@firstofone
letformatsubsection@firstofone
%
makeatother
%renewcommandcfttoctitlefontnormalfontnormalsizebfseriesMakeUppercase
usepackage[export]adjustbox
%newcommandappendixpagenumbering
% break
% pagenumberingarabic
% renewcommandthepagethechapter-arabicpage
usepackageamsmath %To write equations and math symbols.
lethbarrelax %Conflicting issue with fontspec and mtpro2.
usepackage[mtpcal,subscriptcorrection,slantedGreek,nofontinfo,amssymbols]mtpro2 %MathTime Professional 2 for fluency with Times font and Times math.
usepackagemathtools %For equation with cases.
usepackagesiunitx %For SI units
usepackagecaption %All lines left aligned.
captionsetupformat=hang
usepackage[bibstyle=apa,citestyle=authoryear-comp,maxcitenames=2,uniquelist=false,giveninits=true,uniquename=init,doi=false,isbn=false,url=false,dashed=true,sorting=nyt,backend=biber]biblatex
DeclareNameAliassortnamelast-first
DeclareLanguageMappingspanishspanish-apa
AtEveryBibitemclearfieldmonth
usepackagecsquotes
%addbibresourceR.bib
DefineBibliographyStringsspanish%
andothers = etaddabbrvspace aladddot,
bibliography = Referencias,
DeclareCiteCommandciteyearpar %Use hyperef with citeryearpar command.
mkbibparensbibhyperrefprintdate
multicitedelim
DefineBibliographyExtrasspanishprotecteddefbibrangedashtextendash
usepackagerotating, booktabs %Better hline commands.
usepackageenumitem %Spacing in list items.
renewcommandlabelitemi$circ$
usepackagescrextend %Margin indentation.
usepackagemulticol,multirow %Can make cells in tables with multiple rows or columns.
usepackagesectsty %Hooks to change section header styles.
sectionfontnormalsize
subsectionfontnormalsize
subsubsectionfontnormalsize
%paragraphfontsmall MakeUppercase
usepackagesubcaption
newtheoremtheoremTeorema
usepackagelistings
lstsetlanguage=Matlab,numbers=left,numbersep=1.1em,xleftmargin=3em,frame=single,framexleftmargin=2.9em,columns=flexible,showstringspaces=false,breaklines=true
usepackagematlab-prettifier
usepackagearydshln
usepackagechngcntr %Per-section numbering in article class.
counterwithinfiguresection
counterwithintablesection
counterwithinequationsection
renewcommandtheequationarabicchapter.arabicsection.arabicequation
usepackagetablefootnote %Footnotes in table environments
usepackagetitlesec
titleformatchapter[hang]
normalfontLargebfserieschaptertitlename thechapter:1em
titlespacing*chapter0pt-15pt25pt
setcountersecnumdepth3 %Number to subsubsection and in TOC
setcountertocdepth3
setlengthparindent0.5in %Paragraph indentation.
captionsetupbelowskip=1pt,aboveskip=4pt
usepackage[bookmarks,hypertexnames=false,debug]hyperref
usepackage[letterpaper,margin=1in,footskip=1.2cm,headheight=2cm,headsep=0.5cm]geometry
usepackagefancyhdr %Encabezado.
pagestylefancy
fancyhf % clear all header and footer fields
fancyhead[LO,RE]
fancyhead[LE]School
fancyhead[RO]Department
fancyfoot[LO,RE]small thepage
fancyfoot[RO]smallscshapenouppercaseleftmark
fancyfoot[LE]smallscshapenouppercaserightmark
renewcommandheadrulewidth0.4pt
renewcommandfootrulewidth0.4pt
fancypagestyleplain % the preset of fancyhdr
fancyhf
fancyhead[LO]
fancyhead[RO]School
fancyfoot[C]small thepage
renewcommandheadrulewidth0.4pt
renewcommandfootrulewidth0.4pt
usepackage[spanish,tight]minitoc %Table of Contents per Chapter
%addtocaptionsspanishrenewcommandmtctitleAnother Title
usepackagebookmark
hypersetuplinkcolor=black
usepackagefontspec %Set a main font.
setmainfontTimes New Roman[SmallCapsFont=TeX Gyre Termes,SmallCapsFeatures=Letters=SmallCaps]
usepackage[spanish]cleveref %Fancy pantsy ref.
CrefnamesectionSecciónSecciones
CrefnamechapterCapítuloCapítulos
CrefnametableTablaTablas
CrefnameappAnexoAnexos
CrefnamegraphGráficoGráficos
%Hyphenation not included
tolerance=1
emergencystretch=maxdimen
hyphenpenalty=10000
hbadness=10000
usepackagelipsum
begindocument
beginappendices
pretocmdchapter%
clearpage
pagenumberingarabic%
renewcommand*thepagethechapter-arabicpage%
renewcommandthetablethesection.arabictable
renewcommandthefigurethesection.arabicfigure
renewcommandtheequationthesection.arabicequation
addtocontentstoccftpagenumbersoffchapter
chapterChapter 1
sectionSection 1
lipsum[1-10]
clearpage
chapterChapter 2
sectionSection 1
lipsum[10-30]
endappendices
enddocument
Thanks for the help,
Deuces.
page-numbering appendices
Wats poppin,
I have an issue with my project in which the last page of the appendices does not maintain intended page numbering format. I have tried cleadoublepage command but I am guessing its some other malfunction (my bad). Below is my preamble and MWE. My apologies for the length of the preamble, in case it has to do with an option here.
documentclass[12pt]book
usepackage[spanish,es-nodecimaldot,es-lcroman,es-noquoting]babel %Hyphen
addtocaptionsspanishrenewcommandcontentsnameÍNDICE GENERAL
addtocaptionsspanishrenewcommandlistfigurenameÍNDICE DE FIGURAS
addtocaptionsspanishrenewcommandlisttablenameÍNDICE DE TABLAS
addtocaptionsspanishrenewcommandfigurenameFigura
addtocaptionsspanishrenewcommandtablenameTabla
addtocaptionsspanish%
renewcommandappendixnameANEXO
renewcommandappendixpagenameAnexos
addtocaptionsspanishrenewcommandrefnameReferencias
usepackagewrapfig %Texto alrededor de imágenes.
usepackagefancyhdr %Encabezado.
%usepackage[nottoc]tocbibind %Referencias no aparece numerada
usepackage[titletoc,title]appendix %Simple modificacion apendices
renewcommandaddappheadtotoc%
phantomsectionaddcontentslinetocchapterappendixtocname%
usepackagefloat %Posiciona figuras en lugar deseado.
setlengthintextsep10pt %Float environment spacing before and after.
usepackageetoolbox %For Appendix page number A.1...D.1
usepackagetocloft
renewcommandcftsubsecafterpnumvskip1pt
renewcommandcftsecafterpnumvskip2pt
renewcommandcftchapafterpnumvskip2pt
setlengthcftbeforesecskip2pt
setlengthcftbeforesubsecskip1pt
renewcommandcftloftitlefontLarge bfseries
renewcommandcftlottitlefontLarge bfseries
renewcommandcfttoctitlefontLarge bfseries
setlengthcftbeforetoctitleskip0em
setlengthcftbeforelottitleskip0em
setlengthcftbeforeloftitleskip0em
setlengthcftaftertoctitleskip1.5em
setlengthcftafterlottitleskip1.5em
setlengthcftafterloftitleskip1.5em
cftsetindentsfigure0em3.3em
cftsetindentstable0em3.3em
%%% Patching the kernel @sect command
usepackageregexpatch
makeatletter
xpatchcmd*@sectfi#7fi@nameuseformat#1#7
%%% for sections and subsections we want uppercase
protecteddefformatsectionMakeUppercase
protecteddefformatsubsectionMakeUppercase
%%% the other titles are left unchanged
letformatsubsubsection@firstofone
letformatparagraph@firstofone
letformatsubparagraph@firstofone
%%% the following is necessary only if hyperref is used
AtBeginDocument%
pdfstringdefDisableCommands%
letformatsection@firstofone
letformatsubsection@firstofone
%
makeatother
%renewcommandcfttoctitlefontnormalfontnormalsizebfseriesMakeUppercase
usepackage[export]adjustbox
%newcommandappendixpagenumbering
% break
% pagenumberingarabic
% renewcommandthepagethechapter-arabicpage
usepackageamsmath %To write equations and math symbols.
lethbarrelax %Conflicting issue with fontspec and mtpro2.
usepackage[mtpcal,subscriptcorrection,slantedGreek,nofontinfo,amssymbols]mtpro2 %MathTime Professional 2 for fluency with Times font and Times math.
usepackagemathtools %For equation with cases.
usepackagesiunitx %For SI units
usepackagecaption %All lines left aligned.
captionsetupformat=hang
usepackage[bibstyle=apa,citestyle=authoryear-comp,maxcitenames=2,uniquelist=false,giveninits=true,uniquename=init,doi=false,isbn=false,url=false,dashed=true,sorting=nyt,backend=biber]biblatex
DeclareNameAliassortnamelast-first
DeclareLanguageMappingspanishspanish-apa
AtEveryBibitemclearfieldmonth
usepackagecsquotes
%addbibresourceR.bib
DefineBibliographyStringsspanish%
andothers = etaddabbrvspace aladddot,
bibliography = Referencias,
DeclareCiteCommandciteyearpar %Use hyperef with citeryearpar command.
mkbibparensbibhyperrefprintdate
multicitedelim
DefineBibliographyExtrasspanishprotecteddefbibrangedashtextendash
usepackagerotating, booktabs %Better hline commands.
usepackageenumitem %Spacing in list items.
renewcommandlabelitemi$circ$
usepackagescrextend %Margin indentation.
usepackagemulticol,multirow %Can make cells in tables with multiple rows or columns.
usepackagesectsty %Hooks to change section header styles.
sectionfontnormalsize
subsectionfontnormalsize
subsubsectionfontnormalsize
%paragraphfontsmall MakeUppercase
usepackagesubcaption
newtheoremtheoremTeorema
usepackagelistings
lstsetlanguage=Matlab,numbers=left,numbersep=1.1em,xleftmargin=3em,frame=single,framexleftmargin=2.9em,columns=flexible,showstringspaces=false,breaklines=true
usepackagematlab-prettifier
usepackagearydshln
usepackagechngcntr %Per-section numbering in article class.
counterwithinfiguresection
counterwithintablesection
counterwithinequationsection
renewcommandtheequationarabicchapter.arabicsection.arabicequation
usepackagetablefootnote %Footnotes in table environments
usepackagetitlesec
titleformatchapter[hang]
normalfontLargebfserieschaptertitlename thechapter:1em
titlespacing*chapter0pt-15pt25pt
setcountersecnumdepth3 %Number to subsubsection and in TOC
setcountertocdepth3
setlengthparindent0.5in %Paragraph indentation.
captionsetupbelowskip=1pt,aboveskip=4pt
usepackage[bookmarks,hypertexnames=false,debug]hyperref
usepackage[letterpaper,margin=1in,footskip=1.2cm,headheight=2cm,headsep=0.5cm]geometry
usepackagefancyhdr %Encabezado.
pagestylefancy
fancyhf % clear all header and footer fields
fancyhead[LO,RE]
fancyhead[LE]School
fancyhead[RO]Department
fancyfoot[LO,RE]small thepage
fancyfoot[RO]smallscshapenouppercaseleftmark
fancyfoot[LE]smallscshapenouppercaserightmark
renewcommandheadrulewidth0.4pt
renewcommandfootrulewidth0.4pt
fancypagestyleplain % the preset of fancyhdr
fancyhf
fancyhead[LO]
fancyhead[RO]School
fancyfoot[C]small thepage
renewcommandheadrulewidth0.4pt
renewcommandfootrulewidth0.4pt
usepackage[spanish,tight]minitoc %Table of Contents per Chapter
%addtocaptionsspanishrenewcommandmtctitleAnother Title
usepackagebookmark
hypersetuplinkcolor=black
usepackagefontspec %Set a main font.
setmainfontTimes New Roman[SmallCapsFont=TeX Gyre Termes,SmallCapsFeatures=Letters=SmallCaps]
usepackage[spanish]cleveref %Fancy pantsy ref.
CrefnamesectionSecciónSecciones
CrefnamechapterCapítuloCapítulos
CrefnametableTablaTablas
CrefnameappAnexoAnexos
CrefnamegraphGráficoGráficos
%Hyphenation not included
tolerance=1
emergencystretch=maxdimen
hyphenpenalty=10000
hbadness=10000
usepackagelipsum
begindocument
beginappendices
pretocmdchapter%
clearpage
pagenumberingarabic%
renewcommand*thepagethechapter-arabicpage%
renewcommandthetablethesection.arabictable
renewcommandthefigurethesection.arabicfigure
renewcommandtheequationthesection.arabicequation
addtocontentstoccftpagenumbersoffchapter
chapterChapter 1
sectionSection 1
lipsum[1-10]
clearpage
chapterChapter 2
sectionSection 1
lipsum[10-30]
endappendices
enddocument
Thanks for the help,
Deuces.
page-numbering appendices
page-numbering appendices
asked 3 hours ago
ClaudioClaudio
83
83
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "85"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f483230%2flast-page-of-appendices-has-wrong-number-format%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f483230%2flast-page-of-appendices-has-wrong-number-format%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown