Advertisement
Guest User

Untitled

a guest
Jul 25th, 2024
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 4.44 KB | Source Code | 0 0
  1. % Document Class And Settings %
  2.  
  3. \documentclass[
  4.    letterpaper,
  5.    12pt
  6. ]{article}
  7.  
  8. % Packages %
  9.  
  10. % \usepackage{graphicx}
  11. % \usepackage{showframe}
  12. % \usepackage{tikz} % loads pgf and pgffor
  13. % \usepackage{pgfplots}
  14. % \usepackage{amssymb} % already loads amsfonts
  15. % \usepackage{thmtools}
  16. % \usepackage{amsthm}
  17. % \usepackage{newfloat} % replaces float
  18. \usepackage[
  19.    left=1.5cm,
  20.    right=1.5cm,
  21.    top=1.5cm,
  22.    bottom=1.5cm
  23. ]{geometry}
  24. \usepackage{indentfirst}
  25. % \usepackage{setspace}
  26. % \usepackage{lua-ul} % better for lualatex than soul
  27. % \usepackage[
  28. %     backend=biber
  29. % ]{biblatex}
  30. % \usepackage{subcaption} % has caption
  31. % \usepackage{cancel}
  32. % \usepackage{stackengine}
  33. % \usepackage{hyperref}
  34. % \usepackage{cleveref}
  35. % \usepackage[
  36. %     version=4
  37. % ]{mhchem}
  38. % \usepackage{pdfpages}
  39. % \usepackage{siunitx}
  40. \usepackage{fancyhdr}
  41. % \usepackage{mhsetup}
  42. % \usepackage{mathtools} % loads amsmath and graphicx
  43. % \usepackage{empheq}
  44. % \usepackage{derivative}
  45. % \usepackage{tensor}
  46. % \usepackage{xcolor}
  47. % \usepackage{tcolorbox}
  48. % \usepackage{multirow} % might not need
  49. % \usepackage{adjustbox} % better than rotating?
  50. % \usepackage{tabularray}
  51. % \usepackage{nicematrix} % loads array, l3keys2e, pgfcore, amsmath, and module shapes of pgf
  52. % \usepackage{enumitem}
  53. % \usepackage{ragged2e}
  54. % \usepackage{verbatim}
  55. % \usepackage{circledsteps}
  56. % \usepackage{titlesec} % might add titleps and titletoc
  57. % \usepackage{csquotes}
  58. \usepackage{microtype}
  59. \usepackage{lipsum}
  60. \usepackage[
  61.    warnings-off={mathtools-colon,mathtools-overbracket}
  62. ]{unicode-math} % loads fontspec, and takes away the warning for the unicode-math & mathtools clash
  63. % \usepackage[
  64. %     main=english
  65. % ]{babel} % english is using american english
  66.  
  67. % Commands And Envirionments %
  68.  
  69. \makeatletter
  70. \renewcommand{\maketitle}{
  71.    {\centering
  72.    \normalsize{\@title} \par
  73.    \normalsize{\@author} \par
  74.    \normalsize{\@date} \\ \vspace{\baselineskip}
  75.    }
  76. }
  77. \makeatother
  78.  
  79. \renewcommand{\section}[1]{
  80.    \refstepcounter{section}
  81.    \setcounter{subsection}{0}
  82.    \setcounter{subsubsection}{0}
  83.    \setcounter{paragraph}{0}
  84.    \setcounter{subparagraph}{0}
  85.    {\centering\textsc{\Roman{section}. #1}\par}
  86. }
  87.  
  88. \renewcommand{\subsection}[1]{
  89.    \refstepcounter{subsection}
  90.    \setcounter{subsubsection}{0}
  91.    \setcounter{paragraph}{0}
  92.    \setcounter{subparagraph}{0}
  93.    {\centering\textsc{\Roman{section}.\Roman{subsection}. #1}\par}
  94. }
  95.  
  96. \renewcommand{\subsubsection}[1]{
  97.    \refstepcounter{subsubsection}
  98.    \setcounter{paragraph}{0}
  99.    \setcounter{subparagraph}{0}
  100.    {\centering\textsc{\Roman{section}.\Roman{subsection}.\Roman{subsubsection}. #1}\par}
  101. }
  102.  
  103. \renewcommand{\paragraph}[1]{
  104.    \refstepcounter{paragraph}
  105.    \setcounter{subparagraph}{0}
  106.    {\centering\textsc{\Roman{section}.\Roman{subsection}.\Roman{subsubsection}.\Roman{paragraph}. #1}\par}
  107. }
  108.  
  109. \renewcommand{\subparagraph}[1]{
  110.    \refstepcounter{subparagraph}
  111.    {\centering\textsc{\Roman{section}.\Roman{subsection}.\Roman{subsubsection}.\Roman{paragraph}.\Roman{subparagraph}. #1}\par}
  112. }
  113.  
  114. \newcommand{\blk}{
  115.    \vspace{
  116.        \baselineskip
  117.    }
  118. }
  119.  
  120. \newcommand{\ds}{
  121.    \displaystyle
  122. }
  123.  
  124. % Header and Foot
  125.  
  126. \pagestyle{fancy}
  127. \fancyhf{} % clear all header and footers
  128. \cfoot{\thepage} % put the page number in the center footer
  129. \renewcommand{\headrulewidth}{
  130.    0pt
  131. } % remove the header rule
  132. \addtolength{\footskip}{
  133.    -.375cm
  134. } % shift the footer down which will shift the page number up
  135.  
  136. % Final Settings %
  137.  
  138. \setlength\parindent{.25cm}
  139. % \setlength{\jot}{
  140.     % .25cm
  141. % } % spaces inbetween align, gather, etc
  142. % \pgfplotsset{compat=1.18}
  143. % \UseTblrLibrary{booktabs}
  144. % \newlength{\tblrwidth}
  145. % \setlength{\tblrwidth}{
  146.     % \dimexpr\linewidth-2\parindent
  147. % }
  148. % \newlist{checkboxlist}{itemize}{1}
  149. % \setlist[checkboxlist]{label=$\square$} % requires asmsymb
  150. % \newlist{alphabetization}{enumerate}{1}
  151. % \setlist[alphabetization]{label=\alph*.)}
  152. % \setlist{nosep}
  153. % \declaretheorem{theorem}
  154.  
  155. % Fonts and Languages %
  156.  
  157. \setmainfont{Times.ttf}[
  158.    Ligatures=TeX,
  159.    BoldFont=Timesbd.ttf,
  160.    ItalicFont=Timesi.ttf,
  161.    BoldItalicFont=Timesbi.ttf
  162. ]
  163. \setmathfont{STIXTwoMath-Regular.otf}
  164. % \newfontfamily\secondfont{STIX Two Text}[
  165. %     Ligatures=TeX
  166. % ]
  167. % \babelprovide[
  168. %     import=es-MX
  169. % ]{spanish}
  170.  
  171. % maketitle %
  172.  
  173. \title{}
  174. \author{}
  175. \date{\today}
  176.  
  177. \begin{document}
  178.  
  179. \maketitle
  180.  
  181.  
  182. \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement