Guest User

Untitled

a guest
Feb 20th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.95 KB | None | 0 0
  1. documentclass[12pt, a4paper, twoside, openright]{book}
  2.  
  3. title{}
  4. author{}
  5. date{}
  6.  
  7. usepackage[utf8]{inputenc}
  8. usepackage[T1]{fontenc}
  9. usepackage[french, english]{babel}
  10. usepackage{amsfonts, amssymb, amsmath}
  11. usepackage{color}
  12. usepackage{graphicx}
  13. usepackage[all, cmtip]{xy}
  14. usepackage{amsthm}
  15. usepackage{stmaryrd}
  16. usepackage{appendix}
  17. usepackage{scrextend}
  18. usepackage{lipsum}
  19. usepackage[linkcolor=blue, citecolor=green, colorlinks=true]{hyperref}
  20. usepackage{array}
  21. usepackage{makeidx}
  22. usepackage[Lenny]{fncychap}
  23. makeindex
  24. usepackage{minitoc}
  25. usepackage{enumitem}
  26. usepackage[intoc]{nomentbl}
  27.  
  28. makenomenclature
  29. renewcommand{nomname}{List of Abbreviations and Symbols}
  30. setlength{nomitemsep}{-parsep}
  31. usepackage{titlesec}
  32. newcolumntype{L}{>{$}c<{$}}
  33. numberwithin{equation}{section}
  34. allowdisplaybreaks
  35.  
  36. usepackage{newtxtext, newtxmath}
  37. usepackage{fullpage}
  38.  
  39. setlength{footskip}{1.95cm}
  40. setlength{parindent}{1em}
  41. setlength{parskip}{0em}
  42.  
  43. newenvironment{myitemize}
  44. { begin{itemize}
  45. setlength{itemsep}{0pt}
  46. setlength{parskip}{0pt}
  47. setlength{parsep}{0pt} }
  48. { end{itemize} }
  49.  
  50. newcommand{nocontentsline}[3]{}
  51. %newcommand{tocless}[2]{bgroupletaddcontentsline=nocontentsline#1{#2}egroup}
  52.  
  53. %environnements mathématiques
  54. theoremstyle{plain}
  55. newtheorem{thm}{Theorem}
  56. newtheorem{mythm}{Theorem}
  57. newtheorem{coro}[mythm]{Corollary}
  58. renewcommand*{themythm}{Alph{mythm}}
  59. newtheorem{mythmfr}{Théorème}
  60. renewcommand*{themythmfr}{Alph{mythmfr}}
  61. newtheorem{corofr}[mythmfr]{Corollaire}
  62. newtheorem{lem}{Lemma}
  63. newtheorem{prop}{Proposition}
  64. newtheorem{conj}{Conjecture}
  65. newtheorem{myconj}{Conjecture}
  66. renewcommand*{theconj}{Alph{myconj}}
  67. newtheorem{myconjfr}{Conjecture}
  68. renewcommand*{themyconjfr}{Alph{myconjfr}}
  69. newtheorem{pb}{textbf{Problem}}
  70. theoremstyle{definition}
  71. newtheorem{defi}{Definition}
  72. theoremstyle{plain}
  73. newtheorem{thmfr}{Théorème}
  74. newtheorem{lemfr}{Lemme}
  75. newtheorem{propfr}{Proposition}
  76. newtheorem{conjfr}{Conjecture}
  77. newtheorem{pbfr}{textbf{Problème}}
  78. theoremstyle{definition}
  79. newtheorem{defifr}{Définition}
  80.  
  81. newenvironment{note}{begin{minipage}{dimexprlinewidth - 1cm} small textsc{Note.}}{end{minipage} normalsize}
  82. newcommand{didier}[1]{{sf $spadesuitspadesuitspadesuit$ Didier: [#1]}}
  83. newcommand{ian}[1]{{sf $ clubsuitclubsuitclubsuit$ Ian: [#1]}}
  84.  
  85. usepackage{fancyhdr}
  86. pagestyle{plain}
  87.  
  88. renewenvironment{note}{begin{minipage}{dimexprlinewidth - 1cm} small textsc{Note.}}{end{minipage} normalsize}
  89.  
  90. %numberwithin{equation}{chapter}
  91.  
  92. usepackage{chngcntr}
  93. counterwithout{equation}{section}
  94. renewcommand{theequation}{thechapter.arabic{equation}}
  95.  
  96. setcounter{minitocdepth}{1}
  97.  
  98. usepackage{tocloft}
  99. %
  100. setlengthcftparskip{1pt}
  101. setlengthcftbeforechapskip{5pt}
  102.  
  103. usepackage{fancyhdr}
  104. setlength{headheight}{15.2pt}
  105. pagestyle{fancy}
  106. fancypagestyle{fancybook}{
  107. fancyhf{}%
  108. addtokomafont{pagehead}{tiny}
  109. % Note the ## here. It's required because fancypagestyle is making a macro (ps@fancybook).
  110. % If we just wrote #1, TeX would think that it's the argument to ps@fancybook, but
  111. % ps@fancybook doesn't take any arguments, so TeX would complain with an error message.
  112. % You are not expected to understand this.
  113. renewcommand*{sectionmark}[1]{ markright{thesection ##1} }%
  114. renewcommand*{chaptermark}[1]{ markboth{chaptername thechapter: ##1}{} }%
  115. % Increase the length of the header such that the folios
  116. % (typography jargon for page numbers) move into the margin
  117. fancyhfoffset[LE]{6mm}% slightly less than 0.25in
  118. fancyhfoffset[RO]{6mm}%
  119. % Put some space and a vertical bar between the folio and the rest of the header
  120. }
  121.  
  122. renewcommand{headrulewidth}{1.5pt}
  123.  
  124. fancyhead[lo]{slshapenouppercase{rightmark}}
  125. fancyhead[re]{slshapenouppercase{leftmark}}
  126. fancyhead[ro, le]{thepage}
  127.  
  128. makeatletter
  129. let@oddfoot@empty
  130. let@evenfoot@empty
  131. makeatother
  132.  
  133. usepackage{longtable}
  134.  
  135. usepackage[headsep=.25in, textheight=675pt]{geometry}
  136.  
  137. dominitoc
  138. titleformat*{subsubsection}{normalsizeitshape}
  139. usepackage{thmtools}
  140. renewcommand{listtheoremname}{List of theorems}
  141.  
  142. begin{document}
Add Comment
Please, Sign In to add comment