-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathswustextra.sty
52 lines (52 loc) · 1.44 KB
/
swustextra.sty
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
%%
%% This is file `swustextra.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% swustthesis.dtx (with options: `package')
%%
%% Copyright (C) 2016 by japinli <[email protected]>
%%
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
%% version 1.3 of this license or (at your option) any later
%% version. The latest version of this license is in:
%%
%% http://www.latex-project.org/lppl.txt
%%
%% and version 1.3 or later is part of all distributions of
%% LaTeX version 2005/12/01 or later.
%%
\NeedsTeXFormat{LaTeX2e}[2005/12/01]
\ProvidesPackage{swustextra}
[2016/08/21 v0.0.2 SWUST Thesis Extra Package]
\RequirePackage{tabu}
\RequirePackage{enumitem}
\renewcommand{\labelenumi}{(\arabic{enumi})}
\setitemize[1]{itemindent=4em,itemsep=0ex,parsep=0ex,topsep=0ex,listparindent=2em,leftmargin=0em}
\setenumerate[1]{itemindent=4em,itemsep=0ex,parsep=0ex,topsep=0ex,listparindent=2em,leftmargin=0em}
\RequirePackage{color}
\RequirePackage{listings}
\lstset{
language={[ANSI]C},
tabsize=2,
numbers=left,
xleftmargin=1em,
xrightmargin=1em,
breaklines=true,
breakatwhitespace=true,
basicstyle=\tt,
directivestyle=\tt,
identifierstyle=\tt,
commentstyle=\tt,
stringstyle=\tt,
keywordstyle=\color{blue}\tt
}
\lstdefinestyle{swustsql}{
language=SQL
}
\bibliographystyle{swustthesis}
\endinput
%%
%% End of file `swustextra.sty'.