Advertisement
frostyy__

Modified Preamble

Mar 15th, 2024 (edited)
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 2.82 KB | None | 0 0
  1. \documentclass[12pt,oneside,letter]{article}
  2.  
  3. % Modified Preamble
  4. \usepackage{amssymb}
  5. \usepackage{graphicx,rotating}
  6. \usepackage{amscd}
  7. \usepackage{color}
  8. \usepackage{newtxtext}
  9. \usepackage{float}
  10. %\usepackage{psfig}
  11. \usepackage{graphics}
  12. \usepackage{amsmath}
  13. \usepackage{amssymb}
  14. \usepackage{mathrsfs}
  15. \usepackage{amsthm}
  16. \usepackage{amsfonts}
  17. \usepackage{latexsym}
  18. \usepackage{epsf}
  19. \usepackage[center]{titlesec}
  20. \usepackage[]{hyperref}
  21. \usepackage{mathptmx}
  22. \usepackage{longtable}
  23. \usepackage{array}
  24. \usepackage{csquotes}
  25. \usepackage{verbatim}
  26. \usepackage{enumerate}
  27. \usepackage[left=1.5in, top=1in, right=1in, bottom=1in]{geometry}
  28. \usepackage{rotating}
  29. \usepackage{caption}
  30. \usepackage{mdframed}
  31. \usepackage{colortbl}
  32. \usepackage{setspace}
  33. \usepackage{mathptmx}                  
  34. \usepackage{setspace}
  35. \usepackage[mathscr]{euscript}
  36. \usepackage{fancyhdr}
  37. \usepackage{sectsty}
  38.  
  39.  
  40. \pagestyle{fancy}
  41. \fancyhf{}
  42. \fancyheadoffset{0cm}
  43. \renewcommand{\headrulewidth}{0pt}
  44. \renewcommand{\footrulewidth}{0pt}
  45. \fancyhead[R]{\thepage}
  46. \fancypagestyle{plain}{%
  47.     \fancyhf{}%
  48.     \fancyhead[R]{\thepage}%
  49. }
  50.  
  51.  
  52. \allsectionsfont{\centering \fontsize{12}{15}\selectfont}
  53. \subsectionfont{\centering \fontsize{12}{15}\selectfont }
  54. \setcounter{secnumdepth}{0}
  55.  
  56.  
  57. \newcolumntype{P}[1]{>{\centering\arraybackslash}p{#1}}
  58. \newmdtheoremenv{theo}{Theorem}
  59. \def\nams{\\ \noalign{\medskip}}
  60. \def\mybibitem{%
  61.     \vskip\baselineskip% % space above
  62.     \noindent%           % suppress regular indent
  63.     \hangindent=1.5em%   % indent same amount as `quotation` environment
  64. }
  65.  
  66. % -------------------------------------------------------------------------------------------------
  67. \renewcommand{\baselinestretch}{1}
  68. \renewcommand{\contentsname}{CONTENTS}
  69. \pagestyle{myheadings}
  70. \thispagestyle{empty}
  71. \date{}
  72.  
  73. %-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  74. % Define a new theorem style with normal font
  75. \newtheoremstyle{mystyle}% name
  76. {\topsep}%      Space above
  77. {\topsep}%      Space below
  78. {\normalfont}%  Body font
  79. {}%             Indent amount
  80. {\bfseries}%    Theorem head font
  81. {.}%            Punctuation after theorem head
  82. {.5em}%         Space after theorem head
  83. {}%             Theorem head spec (can be left empty, meaning 'normal')
  84.  
  85. % Use the new theorem style for all theorem-like environments
  86. \theoremstyle{mystyle}
  87. \newtheorem{result}{Theorem}
  88. \newtheorem{theorem}{Theorem}
  89. \newtheorem{lemma}{Lemma}
  90. \newtheorem{corollary}{Corollary}
  91. \newtheorem{proposition}{Proposition}
  92. \newtheorem{definition}{Definition}
  93. \newtheorem{example}{Example}
  94. \newtheorem{remark}{Remark}
  95. \newtheorem{illustration}{Illustration}
  96. \date{}
  97.  
  98. \doublespacing
  99. \begin{document}
  100. \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement