File: test-amsthm.tex

package info (click to toggle)
vim-vimtex 2.17-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,844 kB
  • sloc: makefile: 360; python: 103
file content (27 lines) | stat: -rw-r--r-- 467 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
\documentclass{article}
\usepackage{amsthm}

\theoremstyle{plain}
\newtheorem{thm}{Theorem}[section]
\newtheorem{prp}[thm]{Proposition}
\newtheorem{lemma}{Lemma}

\begin{document}

\begin{thm}[description of theorem abc \cite{abc}]
  My theorem goes here.
\end{thm}

\begin{prp}[pleaze spelll check]
  My proposition goes here.
\end{prp}

\begin{lemma}
  A lemma here.
\end{lemma}

\begin{proof}[Proof of theorem abc]
    Proof goes here.
\end{proof}

\end{document}