summaryrefslogtreecommitdiff
path: root/support/check-parens/check-parens.conf
blob: 21d946b8eeeb02e343db8bef7f1f17593ed2bf2e (plain)
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
# This is the default configuration file for 'check-parens'.
#
# Lines beginning with '#' are comments and ignored.
# The following configuration commands are recognized:
#
# paren = <left> <right> [soft]
#
#   declares a parentheses pair; the optional keyword "soft" indicates
#   that a matching failure will generate a warning only.
#
# delimsize = <size> [<size_alt> ...]
#
#   declares a delimiter size modifier such as "\left" and "\big",
#   optionally followed by a list of alternative equivalents, e.g.
#   "\bigr" for "\big".
#
# Each command must be specified on a single line and tokens must be
# separated by whitespace. Content tokens must either be single
# characters or be valid Tex tokens starting with a backslash.
# Note that obsolete double $$'s for displayed math are not supported.
#
# Note that the following are detected automatically:
# - \begin{env} \end{env} pairs
# - \verb and verbatim environments (their contents is ignored)

paren = { }
paren = ( )    soft
paren = [ ]    soft
paren = \{ \}  soft
paren = \( \)
paren = \[ \]
paren = $ $
paren = \langle \rangle  soft
paren = \lceil  \rceil   soft
paren = \lfloor \rfloor  soft
paren = \lgroup \rgroup  soft
paren = \lvert  \rvert   soft
paren = \lVert  \rVert   soft

delimsize = \big   \bigl   \bigr
delimsize = \Big   \Bigl   \Bigr
delimsize = \bigg  \biggl  \biggr
delimsize = \Bigg  \Biggl  \Biggr
delimsize = \left  \right