File: test_verbatim_reference.tex

package info (click to toggle)
vim-vimtex 2.16-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 8,660 kB
  • sloc: makefile: 367; python: 103
file content (41 lines) | stat: -rw-r--r-- 583 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
\documentclass{minimal}
\usepackage{markdown}
\usepackage{listings}
\usepackage{minted}

\begin{document}

\begin{verbatim}
#!/bin/bash
echo "test"
\end{verbatim}

\begin{lstlisting}
Indent
  should
    not affect verbatim environments!
\end{lstlisting}

\begin{markdown}
An h1 header
============

Paragraphs are separated by a blank line.

2nd paragraph.
*Italic*, **bold**, and `monospace`.
Itemized lists look like:

* this one
* that one
* the other one
\end{markdown}

\begin{minted}{c}
  int main() {
    printf("hello, world");
    return 0;
  }
\end{minted}

\end{document}