Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- documentclass[12pt, oneside,a4paper]{book} % The default font size and one-sided printing (no margin offsets)
- usepackage{graphics}
- graphicspath{ {images/} } % Specifies the directory where pictures are stored
- usepackage{multirow}
- usepackage{booktabs} % Horizontal rules in tables
- usepackage{url}
- usepackage[font=large]{subcaption}
- usepackage[font=large]{caption}
- usepackage{pbox}
- usepackage[usenames,dvipsnames]{xcolor,colortbl}
- definecolor{PaleGreen}{HTML}{E6E6E6}
- usepackage{manyfoot} % NOTE: manyfoot and DeclareNewFootnote MUST be declared before the BibLatex package,
- DeclareNewFootnote{A} % otherwise, you get an error about no room for a new counter
- % Vanilla footnotes: use footnoteB
- DeclareNewFootnote{B}
- usepackage[backend=bibtex,
- hyperref=true,
- url=false,
- isbn=false,
- backref=false,
- style=ieee,
- citereset=chapter,
- maxcitenames=3,
- maxbibnames=100,
- block=none]{biblatex}
- %%%%%%%%%
- % the command sbc (short bracketed cite) defined below prints footnote citation with brackets
- newcommand{sbc}[1]{bfcite{#1}}
- %%%%%%%%%
- usepackage{rotating}
- usepackage{libertine}
- usepackage[T1]{fontenc}
- title{ttitle} % Defines the thesis title - don't touch this
- usepackage{titlesec}
- newcommand{hsp}{hspace{10pt}}
- definecolor{chapterSepLine}{HTML}{41B6c4}
- definecolor{chapterNumColor}{HTML}{212121}
- newcommand{blackTBar}{{color{black}titlerule[0.75pt]}}
- newcommand{royalBlueTBar}{{color{chapterSepLine}titlerule[0.75pt]}}
- %--------- Chapter heading format ---------
- titleformat{chapter}
- [hang] % shape
- {centerLARGEusefont{T1}{bch}{b}{n}selectfont} % format
- {{color{chapterNumColor} {chaptertitlename}~thechapter}} % label
- {0pt} % sep
- {centerHugebfseries } % before
- [hrulevspace{1pt}royalBlueTBar] % after
- titlespacing*{chapter}{0pt}{-35pt}{40pt} % titlespacing[*]{<command>}{<left>}{<before-sep>}{<after-sep>}[<right-sep>]
- %--------- Section heading format ---------
- titleformat{section}[hang]{
- usefont{T1}{bch}{b}{n}selectfont} % bch for Bitstream Charter, and ppl for Palatino
- {}
- {0em}
- {hspace{-0.4pt}Large thesectionhspace{0.6em}}
- %--------- Subsection heading format ---------
- titleformat{subsection}[hang]{
- usefont{T1}{bch}{b}{n}selectfont} % bch for Bitstream Charter, and ppl for Palatino
- {}
- {0em}
- {hspace{-0.4pt}large thesubsectionhspace{0.6em}}
- %--------- paragraph heading format ---------
- titleformat{paragraph}[runin]{
- usefont{T1}{bch}{b}{n}selectfont} % bch for Bitstream Charter, and ppl for Palatino
- {}
- {0em}
- {hspace{-0.4pt}largehspace{0.6em}}
- usepackage[activate={true,nocompatibility},final,tracking=true,kerning=true,spacing=true,factor=1100,stretch=10,shrink=10]{microtype}
- renewcommand{contentsname}{Table of Contents}
- usepackage{inconsolata} % monofont only, which replaces the current mono (Libertine) font
- makeatletter
- patchcmd{@makechapterhead}{%
- hugebfseries @chapappspace thechapter}{ hugebfseries @chapappspace Numberstring{chapter}}{}{}
- makeatother
- usepackage{fmtcount}%
- addbibresource{Bibliography.bib}
- % ----------------------------------------------------------------
- % BEGIN DOCUMENT
- % ----------------------------------------------------------------
- begin{document}
- chapter{Hello}
- end{document}
- documentclass{book}
- usepackage{xpatch}
- makeatletter
- xpatchcmd{@makechapterhead}{%
- hugebfseries @chapappspace thechapter}{ hugebfseries @chapappspace Numberstring{chapter}}{}{}
- makeatother
- usepackage{fmtcount}%
- begin{document}
- tableofcontents
- chapter{First}
- end{document}
- {{color{chapterNumColor} {chaptertitlename}~thechapter}} % label
- {{color{chapterNumColor} {chaptertitlename}~Numberstring{chapter}}} % label
- documentclass[12pt, oneside,a4paper]{book} % The default font size and one-sided printing (no margin offsets)
- usepackage{graphics}
- graphicspath{ {images/} } % Specifies the directory where pictures are stored
- usepackage{multirow}
- usepackage{booktabs} % Horizontal rules in tables
- usepackage{url}
- usepackage[font=large]{subcaption}
- usepackage[font=large]{caption}
- usepackage{pbox}
- usepackage[usenames,dvipsnames]{xcolor,colortbl}
- definecolor{PaleGreen}{HTML}{E6E6E6}
- usepackage{manyfoot} % NOTE: manyfoot and DeclareNewFootnote MUST be declared before the BibLatex package,
- DeclareNewFootnote{A} % otherwise, you get an error about no room for a new counter
- % Vanilla footnotes: use footnoteB
- DeclareNewFootnote{B}
- usepackage[backend=bibtex,
- hyperref=true,
- url=false,
- isbn=false,
- backref=false,
- style=ieee,
- citereset=chapter,
- maxcitenames=3,
- maxbibnames=100,
- block=none]{biblatex}
- %%%%%%%%%
- % the command sbc (short bracketed cite) defined below prints footnote citation with brackets
- newcommand{sbc}[1]{bfcite{#1}}
- %%%%%%%%%
- usepackage{rotating}
- usepackage{libertine}
- usepackage[T1]{fontenc}
- title{ttitle} % Defines the thesis title - don't touch this
- usepackage{fmtcount}%
- usepackage{titlesec}
- newcommand{hsp}{hspace{10pt}}
- definecolor{chapterSepLine}{HTML}{41B6c4}
- definecolor{chapterNumColor}{HTML}{212121}
- newcommand{blackTBar}{{color{black}titlerule[0.75pt]}}
- newcommand{royalBlueTBar}{{color{chapterSepLine}titlerule[0.75pt]}}
- %--------- Chapter heading format ---------
- titleformat{chapter}
- [hang] % shape
- {centerLARGEusefont{T1}{bch}{b}{n}selectfont} % format
- {{color{chapterNumColor} {chaptertitlename}~Numberstring{chapter}}} % label
- {0pt} % sep
- {centerHugebfseries } % before
- [hrulevspace{1pt}royalBlueTBar] % after
- titlespacing*{chapter}{0pt}{-35pt}{40pt} % titlespacing[*]{<command>}{<left>}{<before-sep>}{<after-sep>}[<right-sep>]
- %--------- Section heading format ---------
- titleformat{section}[hang]{
- usefont{T1}{bch}{b}{n}selectfont} % bch for Bitstream Charter, and ppl for Palatino
- {}
- {0em}
- {hspace{-0.4pt}Large thesectionhspace{0.6em}}
- %--------- Subsection heading format ---------
- titleformat{subsection}[hang]{
- usefont{T1}{bch}{b}{n}selectfont} % bch for Bitstream Charter, and ppl for Palatino
- {}
- {0em}
- {hspace{-0.4pt}large thesubsectionhspace{0.6em}}
- %--------- paragraph heading format ---------
- titleformat{paragraph}[runin]{
- usefont{T1}{bch}{b}{n}selectfont} % bch for Bitstream Charter, and ppl for Palatino
- {}
- {0em}
- {hspace{-0.4pt}largehspace{0.6em}}
- usepackage[activate={true,nocompatibility},final,tracking=true,kerning=true,spacing=true,factor=1100,stretch=10,shrink=10]{microtype}
- renewcommand{contentsname}{Table of Contents}
- usepackage{inconsolata} % monofont only, which replaces the current mono (Libertine) font
- makeatletter
- patchcmd{@makechapterhead}{%
- hugebfseries @chapappspace thechapter}{ hugebfseries @chapappspace Numberstring{chapter}}{}{}
- makeatother
- addbibresource{Bibliography.bib}
- % ----------------------------------------------------------------
- % BEGIN DOCUMENT
- % ----------------------------------------------------------------
- begin{document}
- chapter{Hello}
- end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement