Advertisement
Guest User

Untitled

a guest
Dec 5th, 2016
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 1.06 KB | None | 0 0
  1. \documentclass{report}
  2.  
  3. \usepackage{amsmath,amsthm}
  4.  
  5. \setlength{\parindent}{0pt}
  6.  
  7. \newtheoremstyle{mytheoremstyle}{0pt}{0pt}{\itshape}{}{\bfseries}{.}{.5em}{}
  8.  
  9. \theoremstyle{mytheoremstyle}
  10.  
  11. \newtheorem{theorem}{Theorem}[chapter]
  12. \newtheorem{lemma}[theorem]{Lemma}
  13.  
  14. \AtBeginDocument{%
  15.   \setlength{\abovedisplayskip}{0pt}%
  16.   \setlength{\belowdisplayskip}{0pt}%
  17.   \setlength{\abovedisplayshortskip}{0pt}%
  18.   \setlength{\belowdisplayshortskip}{0pt}%
  19. }
  20.  
  21. \begin{document}
  22. Some normal text goes here, with a lemma immediately below.
  23.  
  24. \begin{lemma}
  25. This is the statement of the lemma.
  26. \begin{align*}
  27.  x_1 + x_2 + x_3 + x_4                        &\leq 10 \\
  28.                         x_5 + x_6             &\leq 8 \\
  29.                                    x_7 + x_8  &\leq 5
  30. \end{align*}
  31. \end{lemma}
  32. \begin{proof}
  33. It is possible to derive the following:
  34. This is the proof of the lemma, with a mysterious space above.
  35. \end{proof}
  36.  
  37. Some normal text goes here, with a mysterious space above.
  38.  
  39. The next paragraph comes immediately below.
  40.  
  41. \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement