File: minimal.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 (127 lines) | stat: -rw-r--r-- 8,808 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
\documentclass{article}
\begin{document}

\section{Commands}
a \cmd{ bbbbbbbb }  \cmd{ ccccccc }  \cmd{ dddddd }  \cmd{ eeeeeee } \cmd{ ffffffff }

%                                    ^^^^^^^^^^^^^^
%
% │    │└ 2Ilc ┘││ ││    │└ Ilc ┘││ ││    │└ Ic ┘││ ││    │└ Inc ┘││││    │└ 2Inc ┘││
% │    └─ 2ilc ─┘│ ││    └─ ilc ─┘│ ││    └─ ic ─┘│ ││    └─ inc ─┘│││    └─ 2inc ─┘│
% ├────── 2alc ──┘ │├────── alc ──┘ │├────── ac ──┘ │├────── anc ──┘│└────── 2anc ──┤
% └────── 2Alc ────┘└────── Alc ────┘└────── Ac ────┘└────── Anc ───┤               │
%                                                                   └─────── 2Anc ──┘

a \cmd{ bbbbbbbb }  \cmd{
ccccccc }  \cmd{ dddddd}  \cmd{eeeeeee } \cmd{ffffffff}

%           ^^^^^^^^^^^^^^

\section{Nested commands}
a \cmd{ b \cmd{ cccccccc } d } \cmd{ e \cmd{ ffffff } g } \cmd{ h \cmd{ iiiiiiii }j }

%                                      ^^^^^^^^^^^^^^^^^^
%
% │    ││ │    │└ 2Ilc ┘││││││││    ││ │    │└ Ic ┘││││││││    ││││    │└ 2Inc ┘│││││
% │    ││ │    └─ 2ilc ─┘│││││││    ││ │    └─ ic ─┘│││││││    ││││    └─ 2inc ─┘││││
% │    ││ ├────── 2alc ──┘││││││    ││ ├────── ac ──┘││││││    │││└────── 2anc ──┤│││
% │    ││ └────── 2Alc ───┘│││││    ││ └────── Ac ───┘│││││    ││└─────── 2Anc ──┘│││
% │    │└───────── Ilc ────┘││││    │└─────── 2Ic ────┘││││    │└───────── Inc ───┘││
% │    └────────── ilc ─────┘│││    └──────── 2ic ─────┘│││    └────────── inc ────┘│
% ├─────────────── alc ──────┘│├───────────── 2ac ──────┘│└─────────────── anc ─────┤
% └─────────────── Alc ───────┘└───────────── 2Ac ───────┤                          │
%                                                        └──────────────── Anc ─────┘

\section{Environments}

\begin{A} % ────────────┬────┐
          % ───────┐    │    │
  a       % ──┐    │    │    │
  a       %  2Ile 2ile 2ale 2Ale
  a       % ──┘    │    │    │
          % ───────┘    │    │
\end{A}   % ────────────┘    │
          % ─────────────────┘
\begin{B} % ─────────┬───┐
          % ─────┐   │   │
  b       % ─┐   │   │   │
  b       %  Ile ile ale Ale
  b       % ─┘   │   │   │
          % ─────┘   │   │
\end{B}   % ─────────┘   │
          % ─────────────┘
\begin{C} % ───────┬──┐
          % ────┐  │  │
  c       % ─┐  │  │  │
  c       %  Ie ie ae Ae      < Cursor
  c       % ─┘  │  │  │
          % ────┘  │  │
\end{C}   % ───────┘  │
          % ──────────┘
\begin{D} % ─────────┬───┐
          % ─────┐   │   │
  d       % ─┐   │   │   │
  d       %  Ine ine ane Ane
  d       % ─┘   │   │   │
          % ─────┘   │   │
\end{D}   % ─────────┘   │
          % ─────────────┴───┐
\begin{E} % ────────────┐    │
          % ───────┐    │    │
  e       % ──┐    │    │    │
  e       %  2Ine 2ine 2ane 2Ane
  e       % ──┘    │    │    │
          % ───────┘    │    │
\end{E}   % ────────────┴────┘

\section{Nested environments}

\begin{A}      % ────────────────────────────┬───┐
               % ────────────────────────┐   │   │
    a          % ────────────────────┐   │   │   │
               %                     │   │   │   │
    \begin{B}  % ───────────┬────┐   │   │   │   │
               % ──────┐    │    │   │   │   │   │
    b          % ─┐    │    │    │   │   │   │   │
    b          % 2Ile 2ile 2ale 2Ale Ile ile ale Ale
    b          % ─┘    │    │    │   │   │   │   │
               % ──────┘    │    │   │   │   │   │
    \end{B}    % ───────────┘    │   │   │   │   │
               % ────────────────┘   │   │   │   │
    a          % ────────────────────┘   │   │   │
               % ────────────────────────┘   │   │
\end{A}        % ────────────────────────────┘   │
               % ────────────────────────────────┘
\begin{C}      % ──────────────────────┬───┐
               % ──────────────────┐   │   │
    c          % ──────────────┐   │   │   │
               %               │   │   │   │
    \begin{D}  % ───────┬──┐   │   │   │   │
               % ────┐  │  │   │   │   │   │
    d          % ─┐  │  │  │   │   │   │   │
    d          %  Ie ie ae Ae 2Ie 2ie 2ae 2Ae    < Cursor
    d          % ─┘  │  │  │   │   │   │   │
               % ────┘  │  │   │   │   │   │
    \end{D}    % ───────┘  │   │   │   │   │
               % ──────────┘   │   │   │   │
    c          % ──────────────┘   │   │   │
               % ──────────────────┘   │   │
\end{C}        % ──────────────────────┘   │
               % ──────────────────────────┴──────┐
\begin{E}      % ─────────────────────────────┐   │
               % ─────────────────────────┐   │   │
    e          % ─────────────────────┐   │   │   │
               %                      │   │   │   │
    \begin{F}  % ────────────┬────┐   │   │   │   │
               % ───────┐    │    │   │   │   │   │
    f          % ──┐    │    │    │   │   │   │   │
    f          %  2Ine 2ine 2ane 2Ane Ine ine ane Ane
    f          % ──┘    │    │    │   │   │   │   │
               % ───────┘    │    │   │   │   │   │
    \end{F}    % ────────────┘    │   │   │   │   │
               % ─────────────────┘   │   │   │   │
    e          % ─────────────────────┘   │   │   │
               % ─────────────────────────┘   │   │
\end{E}        % ─────────────────────────────┴───┘

\end{document}