Skip to content

Commit e30f185

Browse files
Add syntax highlighting
1 parent c6ee84a commit e30f185

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

freephoenix888/documentation.tex

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
\usepackage{xcolor}
1212
\usepackage{listings}
1313
\usepackage{listingsutf8}
14-
\usepackage{babel}
14+
1515
\lstdefinelanguage{TypeScript}{
1616
keywords=[1]{break, case, catch, continue, debugger, default, delete, do, else, false, finally, for, function, if, in, instanceof, new, null, return, switch, this, throw, true, try, typeof, var, void, while, with},
1717
keywordstyle=[1]\color{blue}\bfseries,
18-
keywords=[2]{abstract, as, constructor, declare, enum, export, extends, from, get, implements, import, interface, let, module, private, protected, public, set, static, yield},
18+
keywords=[2]{abstract, as, constructor, declare, enum, export, extends, from, get, implements, import, interface, let, module, private, protected, public, set, static, yield, in},
1919
keywordstyle=[2]\color{teal}\bfseries,
2020
identifierstyle=\color{black},
2121
commentstyle=\color{green!40!black},
@@ -34,9 +34,11 @@
3434
numbersep=5pt,
3535
tabsize=2,
3636
breaklines=true,
37-
showtabs=false
37+
showtabs=false,
38+
xleftmargin=2em, % Adjust the value according to your indentation style
3839
}
3940

41+
4042
\renewcommand{\contentsname}{Содержание} % Change the name of the table of contents
4143

4244
\title{Deep Foundation}

0 commit comments

Comments
 (0)