This repository was archived by the owner on May 26, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 98
98
}
99
99
100
100
\makeatletter
101
+
101
102
\gdef\lst@SkipOrPrintLabel {%
102
103
\ifnum \lst@skipnumbers =\z@
103
104
\global\advance\lst@skipnumbers -\lst@stepnumber\relax
112
113
\fi
113
114
\fi
114
115
\global\advance\lst@skipnumbers\@ne }%
116
+
115
117
\def\lst@maketitle #1{
116
118
\vskip\abovecaptionskip
117
119
\colorbox {titlebox}{
120
122
\color {download}\ttfamily \href {http://postgresql.leopard.in.ua/example_code/#1}{Скачать}
121
123
\color {title}\sffamily\bfseries #1}
122
124
\vskip\belowcaptionskip }
125
+
123
126
\def\lst@makecaption #1#2{
124
127
\vskip\abovecaptionskip
125
128
\colorbox {titlebox}{
128
131
\color {code_title}\ttfamily #1
129
132
\color {title}\sffamily\bfseries #2}
130
133
\vskip\belowcaptionskip }
134
+
131
135
\makeatother
132
136
133
137
\let\olditemize =\itemize
142
146
\setlength {\itemsep }{-1ex}
143
147
}
144
148
145
- \MakePerPage {footnote} % the perpage package command
149
+ \MakePerPage {footnote} % the perpage package command
Original file line number Diff line number Diff line change 11
11
\setcounter {page}{1}
12
12
\pagestyle {myindex}
13
13
\chapterstyle {ell}
14
- \setcounter {tocdepth}{2} % subsections and above
14
+
15
+ \setcounter {tocdepth}{1} % sections and above
16
+ \setlength\cftsectionnumwidth {3em}
15
17
\tableofcontents
16
18
17
19
\input {postgresql_introduction }
You can’t perform that action at this time.
0 commit comments