File: test-env-options.tex

package info (click to toggle)
vim-vimtex 2.16-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,660 kB
  • sloc: makefile: 367; python: 103
file content (42 lines) | stat: -rw-r--r-- 915 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
\documentclass{minimal}
\begin{document}

\begin{defn}[Definition 1]
  \label{defn:definition_1}
  A simple environment with simple contents.
\end{defn}

\begin{figure}[ht] % A standalone figure with label and caption
  \centering
  %\input{proof}
  \caption{Simple figure}
  \label{fig:simple_figure}
\end{figure}

\begin{thm}[Example Title of Theorem]
  \label{thm:example_title_of_theorem}
  Suppose A and B.

  \begin{itemize}
    \item If C, then D
    \item \(A \wedge B \implies D \iff A \wedge B \implies C\)
  \end{itemize}

  We demonstrate this by the figure.

  \begin{figure}[ht] % Comment
    \centering
    %\input{proof}
    \caption{A visual proof of Example Theorem}
    \label{fig:visual_theorem}
  \end{figure}
\end{thm}

\begin{defn}[Definition 2]
  \label{defn:definition_2}
  A sample definition.

  \caption{A caption for an environment typically without caption}
\end{defn}

\end{document}