summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTong Hui <tonghuix@gmail.com>2016-10-06 20:51:14 +0800
committerTong Hui <tonghuix@gmail.com>2016-10-06 20:51:14 +0800
commite0ed73db63f0bfe4a0cc116f87348d39c438fa5a (patch)
treecb298830b2c9dd29848506f2172201439920b3c8
parentdb20cc0b5369acb7f29c717fb1e87be0bc157533 (diff)
downloadfsfs-zh-e0ed73db63f0bfe4a0cc116f87348d39c438fa5a.tar.xz
clean up template
-rw-r--r--pdf/template.tex101
1 files changed, 0 insertions, 101 deletions
diff --git a/pdf/template.tex b/pdf/template.tex
index bbf3f8b..5e4e1ed 100644
--- a/pdf/template.tex
+++ b/pdf/template.tex
@@ -52,107 +52,6 @@
\providecommand{\tightlist}{%
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
-\lstdefinelanguage{JavaScript}{
- keywords={typeof, new, true, false, catch, function, return, null, catch, switch, var, if, in, while, do, else, case, break},
- keywordstyle=\color{blue}\bfseries,
- ndkeywords={class, export, boolean, throw, implements, import, this, public, static, int, char, string, ref, float, double},
- ndkeywordstyle=\color{editorGreen}\bfseries,
- identifierstyle=\color{black},
- sensitive=false,
- comment=[l]{//},
- morecomment=[s]{/*}{*/},
- commentstyle=\color{purple}\ttfamily,
- stringstyle=\color{red}\ttfamily,
- morestring=[b]',
- morestring=[b]"
-}
-
-\lstset{
- language=JavaScript,
- backgroundcolor=\color{lightgray},
- extendedchars=true,
- basicstyle=\footnotesize\ttfamily,
- showstringspaces=false,
- showspaces=false,
- numbers=left,
- numberstyle=\footnotesize,
- numbersep=5pt,
- tabsize=2,
- breaklines=true,
- showtabs=false,
- captionpos=b,
-xleftmargin=20pt,
-frame=tb,
-framexleftmargin=20pt
-}
-
-\lstdefinelanguage{JS}{
- morekeywords={typeof, new, true, false, catch, function, return, null, catch, switch, var, if, in, while, do, else, case, break},
- morecomment=[s]{/*}{*/},
- morecomment=[l]//,
- morestring=[b]",
- morestring=[b]'
-}
-
-\lstdefinelanguage{HTML5}{
- language=html,
- sensitive=true,
- alsoletter={<>=-},
- otherkeywords={
- % HTML tags
- <html>, <head>, <title>, </title>, <meta, />, </head>, <body>,
- <canvas, \/canvas>, <script>, </script>, </body>, </html>, <!, html>, <style>, </style>, ><
- },
- ndkeywords={
- % General
- =,
- % HTML attributes
- charset=, id=, width=, height=,
- % CSS properties
- border:, transform:, -moz-transform:, transition-duration:, transition-property:, transition-timing-function:
- },
- morecomment=[s]{<!--}{-->},
- tag=[s]
-}
-
-\lstset{%
- % Basic design
- backgroundcolor=\color{editorGray},
- basicstyle={\small\ttfamily},
- frame=l,
- % Line numbers
- xleftmargin={0.75cm},
- numbers=left,
- stepnumber=1,
- firstnumber=1,
- numberfirstline=true,
- % Code design
- keywordstyle=\color{blue}\bfseries,
- commentstyle=\color{darkgray}\ttfamily,
- ndkeywordstyle=\color{editorGreen}\bfseries,
- stringstyle=\color{editorOcher},
- % Code
- language=HTML5,
- alsolanguage=JavaScript,
- alsodigit={.:;},
- tabsize=2,
- showtabs=false,
- showspaces=false,
- showstringspaces=false,
- extendedchars=true,
- breaklines=true,
- % Support for German umlauts
- literate=%
- {Ö}{{\"O}}1
- {Ä}{{\"A}}1
- {Ü}{{\"U}}1
- {ß}{{\ss}}1
- {ü}{{\"u}}1
- {ä}{{\"a}}1
- {ö}{{\"o}}1
-}
-
-
\lstset{
%language=C++,
basicstyle=\small\ttfamily,