Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.02 KB | None | 0 0
  1. documentclass[12pt, oneside,a4paper]{book} % The default font size and one-sided printing (no margin offsets)
  2. usepackage{graphics}
  3. graphicspath{ {images/} } % Specifies the directory where pictures are stored
  4. usepackage{multirow}
  5. usepackage{booktabs} % Horizontal rules in tables
  6. usepackage{url}
  7. usepackage[font=large]{subcaption}
  8. usepackage[font=large]{caption}
  9. usepackage{pbox}
  10. usepackage[usenames,dvipsnames]{xcolor,colortbl}
  11. definecolor{PaleGreen}{HTML}{E6E6E6}
  12.  
  13. usepackage{manyfoot} % NOTE: manyfoot and DeclareNewFootnote MUST be declared before the BibLatex package,
  14. DeclareNewFootnote{A} % otherwise, you get an error about no room for a new counter
  15. % Vanilla footnotes: use footnoteB
  16. DeclareNewFootnote{B}
  17.  
  18. usepackage[backend=bibtex,
  19. hyperref=true,
  20. url=false,
  21. isbn=false,
  22. backref=false,
  23. style=ieee,
  24. citereset=chapter,
  25. maxcitenames=3,
  26. maxbibnames=100,
  27. block=none]{biblatex}
  28. %%%%%%%%%
  29. % the command sbc (short bracketed cite) defined below prints footnote citation with brackets
  30. newcommand{sbc}[1]{bfcite{#1}}
  31. %%%%%%%%%
  32.  
  33. usepackage{rotating}
  34.  
  35. usepackage{libertine}
  36. usepackage[T1]{fontenc}
  37.  
  38. title{ttitle} % Defines the thesis title - don't touch this
  39.  
  40. usepackage{titlesec}
  41. newcommand{hsp}{hspace{10pt}}
  42. definecolor{chapterSepLine}{HTML}{41B6c4}
  43. definecolor{chapterNumColor}{HTML}{212121}
  44. newcommand{blackTBar}{{color{black}titlerule[0.75pt]}}
  45. newcommand{royalBlueTBar}{{color{chapterSepLine}titlerule[0.75pt]}}
  46.  
  47. %--------- Chapter heading format ---------
  48. titleformat{chapter}
  49. [hang] % shape
  50. {centerLARGEusefont{T1}{bch}{b}{n}selectfont} % format
  51. {{color{chapterNumColor} {chaptertitlename}~thechapter}} % label
  52. {0pt} % sep
  53. {centerHugebfseries } % before
  54. [hrulevspace{1pt}royalBlueTBar] % after
  55. titlespacing*{chapter}{0pt}{-35pt}{40pt} % titlespacing[*]{<command>}{<left>}{<before-sep>}{<after-sep>}[<right-sep>]
  56.  
  57. %--------- Section heading format ---------
  58. titleformat{section}[hang]{
  59. usefont{T1}{bch}{b}{n}selectfont} % bch for Bitstream Charter, and ppl for Palatino
  60. {}
  61. {0em}
  62. {hspace{-0.4pt}Large thesectionhspace{0.6em}}
  63.  
  64. %--------- Subsection heading format ---------
  65. titleformat{subsection}[hang]{
  66. usefont{T1}{bch}{b}{n}selectfont} % bch for Bitstream Charter, and ppl for Palatino
  67. {}
  68. {0em}
  69. {hspace{-0.4pt}large thesubsectionhspace{0.6em}}
  70.  
  71. %--------- paragraph heading format ---------
  72. titleformat{paragraph}[runin]{
  73. usefont{T1}{bch}{b}{n}selectfont} % bch for Bitstream Charter, and ppl for Palatino
  74. {}
  75. {0em}
  76. {hspace{-0.4pt}largehspace{0.6em}}
  77.  
  78.  
  79. usepackage[activate={true,nocompatibility},final,tracking=true,kerning=true,spacing=true,factor=1100,stretch=10,shrink=10]{microtype}
  80.  
  81. renewcommand{contentsname}{Table of Contents}
  82.  
  83. usepackage{inconsolata} % monofont only, which replaces the current mono (Libertine) font
  84.  
  85. makeatletter
  86.  
  87. patchcmd{@makechapterhead}{%
  88. hugebfseries @chapappspace thechapter}{ hugebfseries @chapappspace Numberstring{chapter}}{}{}
  89. makeatother
  90.  
  91. usepackage{fmtcount}%
  92.  
  93. addbibresource{Bibliography.bib}
  94.  
  95. % ----------------------------------------------------------------
  96. % BEGIN DOCUMENT
  97. % ----------------------------------------------------------------
  98. begin{document}
  99. chapter{Hello}
  100. end{document}
  101.  
  102. documentclass{book}
  103.  
  104. usepackage{xpatch}
  105.  
  106. makeatletter
  107.  
  108. xpatchcmd{@makechapterhead}{%
  109. hugebfseries @chapappspace thechapter}{ hugebfseries @chapappspace Numberstring{chapter}}{}{}
  110. makeatother
  111.  
  112. usepackage{fmtcount}%
  113.  
  114. begin{document}
  115. tableofcontents
  116. chapter{First}
  117. end{document}
  118.  
  119. {{color{chapterNumColor} {chaptertitlename}~thechapter}} % label
  120.  
  121. {{color{chapterNumColor} {chaptertitlename}~Numberstring{chapter}}} % label
  122.  
  123.  
  124.  
  125. documentclass[12pt, oneside,a4paper]{book} % The default font size and one-sided printing (no margin offsets)
  126. usepackage{graphics}
  127. graphicspath{ {images/} } % Specifies the directory where pictures are stored
  128. usepackage{multirow}
  129. usepackage{booktabs} % Horizontal rules in tables
  130. usepackage{url}
  131. usepackage[font=large]{subcaption}
  132. usepackage[font=large]{caption}
  133. usepackage{pbox}
  134. usepackage[usenames,dvipsnames]{xcolor,colortbl}
  135. definecolor{PaleGreen}{HTML}{E6E6E6}
  136.  
  137. usepackage{manyfoot} % NOTE: manyfoot and DeclareNewFootnote MUST be declared before the BibLatex package,
  138. DeclareNewFootnote{A} % otherwise, you get an error about no room for a new counter
  139. % Vanilla footnotes: use footnoteB
  140. DeclareNewFootnote{B}
  141.  
  142. usepackage[backend=bibtex,
  143. hyperref=true,
  144. url=false,
  145. isbn=false,
  146. backref=false,
  147. style=ieee,
  148. citereset=chapter,
  149. maxcitenames=3,
  150. maxbibnames=100,
  151. block=none]{biblatex}
  152. %%%%%%%%%
  153. % the command sbc (short bracketed cite) defined below prints footnote citation with brackets
  154. newcommand{sbc}[1]{bfcite{#1}}
  155. %%%%%%%%%
  156.  
  157. usepackage{rotating}
  158.  
  159. usepackage{libertine}
  160. usepackage[T1]{fontenc}
  161.  
  162. title{ttitle} % Defines the thesis title - don't touch this
  163. usepackage{fmtcount}%
  164.  
  165. usepackage{titlesec}
  166. newcommand{hsp}{hspace{10pt}}
  167. definecolor{chapterSepLine}{HTML}{41B6c4}
  168. definecolor{chapterNumColor}{HTML}{212121}
  169. newcommand{blackTBar}{{color{black}titlerule[0.75pt]}}
  170. newcommand{royalBlueTBar}{{color{chapterSepLine}titlerule[0.75pt]}}
  171.  
  172. %--------- Chapter heading format ---------
  173. titleformat{chapter}
  174. [hang] % shape
  175. {centerLARGEusefont{T1}{bch}{b}{n}selectfont} % format
  176. {{color{chapterNumColor} {chaptertitlename}~Numberstring{chapter}}} % label
  177. {0pt} % sep
  178. {centerHugebfseries } % before
  179. [hrulevspace{1pt}royalBlueTBar] % after
  180. titlespacing*{chapter}{0pt}{-35pt}{40pt} % titlespacing[*]{<command>}{<left>}{<before-sep>}{<after-sep>}[<right-sep>]
  181.  
  182. %--------- Section heading format ---------
  183. titleformat{section}[hang]{
  184. usefont{T1}{bch}{b}{n}selectfont} % bch for Bitstream Charter, and ppl for Palatino
  185. {}
  186. {0em}
  187. {hspace{-0.4pt}Large thesectionhspace{0.6em}}
  188.  
  189. %--------- Subsection heading format ---------
  190. titleformat{subsection}[hang]{
  191. usefont{T1}{bch}{b}{n}selectfont} % bch for Bitstream Charter, and ppl for Palatino
  192. {}
  193. {0em}
  194. {hspace{-0.4pt}large thesubsectionhspace{0.6em}}
  195.  
  196. %--------- paragraph heading format ---------
  197. titleformat{paragraph}[runin]{
  198. usefont{T1}{bch}{b}{n}selectfont} % bch for Bitstream Charter, and ppl for Palatino
  199. {}
  200. {0em}
  201. {hspace{-0.4pt}largehspace{0.6em}}
  202.  
  203.  
  204. usepackage[activate={true,nocompatibility},final,tracking=true,kerning=true,spacing=true,factor=1100,stretch=10,shrink=10]{microtype}
  205.  
  206. renewcommand{contentsname}{Table of Contents}
  207.  
  208. usepackage{inconsolata} % monofont only, which replaces the current mono (Libertine) font
  209.  
  210. makeatletter
  211.  
  212. patchcmd{@makechapterhead}{%
  213. hugebfseries @chapappspace thechapter}{ hugebfseries @chapappspace Numberstring{chapter}}{}{}
  214. makeatother
  215.  
  216.  
  217. addbibresource{Bibliography.bib}
  218.  
  219. % ----------------------------------------------------------------
  220. % BEGIN DOCUMENT
  221. % ----------------------------------------------------------------
  222. begin{document}
  223. chapter{Hello}
  224. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement