forked from burakbayramli/books
-
Notifications
You must be signed in to change notification settings - Fork 0
/
common.sty
35 lines (35 loc) · 1.16 KB
/
common.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
\usepackage{palatino,eulervm}
\usepackage{showkeys}\renewcommand*\showkeyslabelformat[1]{(#1)}
\usepackage{anysize}
\marginsize{3cm}{3cm}{1cm}{3cm}
\setlength{\parindent}{0pt}
\usepackage{graphicx}
\usepackage{cancel}
\usepackage[latin5]{inputenc}
\usepackage{color}
\setlength{\parskip}{8pt}
\setlength{\parsep}{0pt}
\setlength{\headsep}{0pt}
\setlength{\topskip}{0pt}
\setlength{\topmargin}{0pt}
\setlength{\topsep}{0pt}
\setlength{\partopsep}{0pt}
\setlength{\mathindent}{0cm}
\usepackage{latexsym}
\usepackage{amsfonts}
\usepackage{mathrsfs}
\definecolor{lbcolor}{rgb}{0.9,0.9,0.9}
\usepackage{minted}
\usepackage{marginnote}
\newcommand*\mlabel[1]{\marginnote{(#1)}}
\usepackage[hyphens]{url}
\usepackage{hyperref}
\makeatletter \renewcommand\verbatim@font{\footnotesize\ttfamily} \makeatother
% pseudocode
\usepackage{algorithm}
\newcommand{\code}[1]{\mbox{\texttt{#1}}}
\newcounter{lineno}
\newenvironment{pseudocode}{\begin{small}\begin{tabbing}\textbf{mm}\=mm\=mm\=mm\=mm\=mm\=mm\=mm\=mm\=\kill}{\end{tabbing}\end{small}}
\newcommand{\codename}{\setcounter{lineno}{0}\>}
\newcommand{\codeline}{\>\stepcounter{lineno}\textbf{\arabic{lineno}}\'\>}
\newcommand{\codeskip}{\>\>}