Advertisement
Guest User

Untitled

a guest
Aug 4th, 2022
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 3.78 KB | None | 0 0
  1.  
  2. \documentclass[12pt,a4paper]{report}
  3. \usepackage[top = 1in , left =1.5in, right=1in, bottom=1in]{geometry}
  4. %\usepackage{newtxtext,mathptmx}
  5. \usepackage{graphicx,float}
  6. \usepackage[hidelinks]{hyperref}
  7. \setlength{\parskip}{0.75em}
  8. \usepackage{setspace}
  9. \setstretch{1.5}
  10. \usepackage[T1]{fontenc}
  11. \usepackage[utf8]{inputenc}
  12. \usepackage{amsmath,amssymb}
  13. \DeclareMathOperator*{\argmin}{arg\,min}
  14. \usepackage{booktabs}
  15. \usepackage{tabularx}
  16. \usepackage{adjustbox}
  17. \usepackage{breakcites}
  18. \usepackage{pdfpages}
  19. %\usepackage[english]{babel}
  20. %\usepackage{subfig}
  21. %\usepackage[backend=biber,style=authoryear,]{biblatex}
  22. \usepackage{natbib}
  23. \usepackage[tableposition=top]{caption}
  24. \usepackage{subcaption}
  25. %\usepackage{fancyhdr}
  26. %\pagestyle{fancy}
  27. \renewcommand\bibsection{%
  28.     \chapter*{{\hfill \centering\hfill \Large \textbf{References}\hfill}}%
  29.    
  30.     \markboth{\MakeUppercase{\refname}}{\MakeUppercase{\refname}}%
  31. }%
  32.  
  33. \usepackage{tocloft}
  34. %%    Creating a 2 inch margin
  35.  
  36.  
  37. %\renewcommand{\cftchappresnum}{Chapter \\}
  38. %\AtBeginDocument{\addtolength\cftchapnumwidth{\widthof{\bfseries Chapter }}}
  39. \renewcommand\cftlottitlefont{\large\bfseries}
  40. \renewcommand\cfttabfont{\small}
  41. \renewcommand\cfttabpagefont{\small}
  42. \renewcommand{\cftdot}{} %empty {} for no dots. you can have any symbol inside. For example put {\ensuremath{\ast}} and see what happens.
  43. % ------------------------------
  44.  
  45. \renewcommand{\contentsname}{\vspace*{-1.5cm}\hfill \Large Contents\hfill}  
  46. \renewcommand{\cftaftertoctitle}{\hfill}
  47.  
  48. \renewcommand{\listtablename}{\vspace*{-1cm}\hfill\bfseries\Large List of Tables} % no ending \hfill <<<<<<
  49. \renewcommand{\cftafterlottitle}{\hfill}
  50.  
  51. \renewcommand{\listfigurename}{\vspace*{-1cm}\hfill\bfseries\Large List of Figures} % no ending \hfill <<<<<<
  52. \renewcommand{\cftafterloftitle}{\hfill}
  53. \makeatletter
  54. %\let\stdl@chapter\l@chapter
  55. %\renewcommand*{\l@chapter}[1]{\stdl@chapter{\hfill\underline{#1}}{}}
  56. \makeatother
  57. \setcounter{tocdepth}{2}
  58.  
  59. %% eventually the number of the next chapter
  60. \newcounter{nextchap}
  61.  
  62. %% set nextchap to the number of the next chapter
  63. \newcommand{\incchap}{\setcounter{nextchap}{\value{chapter}}\addtocounter{nextchap}{1}}
  64.  
  65. %% add centered Chapter number into the ToC
  66. %\newcommand{\addchaptoc}{\addtocontents{toc}{%
  67.         %    \vspace{\baselineskip}\centering \underline{\textbf{Chapter \Roman{nextchap}}}\par}
  68.  
  69. \usepackage{titlesec}
  70. %\renewcommand{\thechapter}{\Roman{chapter}}
  71. %\titleformat{\chapter}
  72. %{\huge\bf\uppercase}{CHAPTER \thechapter}{0.5em}{}
  73.  
  74. \titleformat
  75. {\chapter} % command
  76. [display] % shape
  77. {\bfseries\Large} % format
  78. {\centering CHAPTER \thechapter} % label
  79. {-2ex} % se\
  80. {
  81.     \rule{\textwidth}{0pt}
  82.     \centering
  83. } % before-code
  84. [
  85. \vspace{-8ex}%
  86. \rule{\textwidth}{0pt}
  87. ] % after-code
  88.  
  89. \titlespacing{\chapter}{0pt}{-50pt}{40pt}
  90. \titleformat{\section}[hang]{\bfseries\large\itshape}{\thesection}{0.5em}{}
  91.  
  92. \titleformat{\subsection}[hang]{\bfseries\itshape}{\thesubsection}{0.5em}{}
  93.  
  94.  
  95. \renewcommand{\cftchappresnum}{\large CHAPTER }
  96. \renewcommand{\cftchapaftersnumb}{\par}
  97. \renewcommand{\cftfigpresnum}{Figure }
  98. \renewcommand{\cftfigaftersnumb}{\qquad: \quad}
  99. \renewcommand{\cfttabpresnum}{Table }
  100. \renewcommand{\cfttabaftersnumb}{\qquad: \quad}
  101. \usepackage[toc, nonumberlist, nopostdot, nogroupskip]{glossaries}
  102. \makeglossaries
  103. \setlength\LTleft{0pt}
  104. \newacronym{OD}{OD}{Optical Depth}
  105. \newacronym{AOD}{AOD}{Aerosol Optical Depth}
  106. \newacronym{AERONET}{AERONET}{AErosol RObotic NETwork}
  107. \newacronym{ISN}{ISN}{International Sunspot Number}
  108. \newacronym{WSN}{WSN}{Wolf Sunspot Number}
  109. \newacronym{CME}{CME}{Coronary Mass Ejections}
  110. \newacronym{PWV}{PWV}{Precipitable Water Vapor}
  111.  
  112. %\renewcommand{\listfigurename}{\centering \Large \centering List of Figures}
  113. %\renewcommand{\listtablename}{\centering \Large List of Tables}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement