summaryrefslogtreecommitdiff
path: root/styles
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2013-08-27 16:14:15 -0400
committerEugeniy Mikhailov <evgmik@gmail.com>2013-08-27 16:14:15 -0400
commit1273c595b8f3d6e689e69a7b09e2a465816234dd (patch)
tree6b18ed2713956970d9f7510ae553b08043986f51 /styles
parentd336626d00b1011cbc3520276aaab62d09ddd1c3 (diff)
downloadmanual_for_Experimental_Atomic_Physics-1273c595b8f3d6e689e69a7b09e2a465816234dd.tar.gz
manual_for_Experimental_Atomic_Physics-1273c595b8f3d6e689e69a7b09e2a465816234dd.zip
added syllabus draft
Diffstat (limited to 'styles')
-rw-r--r--styles/evmik.sty10
-rw-r--r--styles/evmikcompact.sty189
-rw-r--r--styles/listing_defs.tex20
3 files changed, 219 insertions, 0 deletions
diff --git a/styles/evmik.sty b/styles/evmik.sty
new file mode 100644
index 0000000..95c53d7
--- /dev/null
+++ b/styles/evmik.sty
@@ -0,0 +1,10 @@
+% -*- latex -*-
+% FILE: "/home/evmik/jobs/wm/2013_fall_Experimental_Atomic_Physics_251/styles/evmik.sty"
+% LAST MODIFICATION: "Tue, 27 Aug 2013 16:11:58 -0400 (evmik)"
+% (C) 2008 by Eugeniy Mikhailov, <evgmik@gmail.com>
+% $Id:$
+
+\usepackage[margin=1in,letterpaper]{geometry}
+%\usepackage{setspace} %to adjust line spacing adjust parameter in the next line
+%\setstretch{1.0}
+
diff --git a/styles/evmikcompact.sty b/styles/evmikcompact.sty
new file mode 100644
index 0000000..640c428
--- /dev/null
+++ b/styles/evmikcompact.sty
@@ -0,0 +1,189 @@
+%%
+%% This is file `fullpage.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% fullpage.dtx (with options: `package')
+%% =============================================
+%% IMPORTANT NOTICE:
+%%
+%% This program can be redistributed and/or modified under the terms
+%% of the LaTeX Project Public License Distributed from CTAN
+%% archives in directory macros/latex/base/lppl.txt; either
+%% version 1 of the License, or any later version.
+%%
+%% This is a generated file.
+%% It may not be distributed without the original source file fullpage.dtx.
+%%
+%% Full documentation can be obtained by LaTeXing that original file.
+%% Only a few abbreviated comments remain here to describe the usage.
+%% =============================================
+%% by Eugeniy E. Mikhailov
+%% this package try to shrink all unnesesary spaces
+%% it is all very crude and suitable only for very tailored cases
+\NeedsTeXFormat{LaTeX2e}[1994/06/01]
+\ProvidesPackage{evmikcompact}
+ [2010/09/17 1.0]
+
+\def\maketitle{%
+{\flushleft\Large \bf \@title\par}%
+\vskip 1em
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% section definition
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\def\section{\@ifstar\unnumberedsection\numberedsection}
+\def\numberedsection{\@ifnextchar[%]
+ \numberedsectionwithtwoarguments\numberedsectionwithoneargument}
+\def\unnumberedsection{\@ifnextchar[%]
+ \unnumberedsectionwithtwoarguments\unnumberedsectionwithoneargument}
+\def\numberedsectionwithoneargument#1{\numberedsectionwithtwoarguments[#1]{#1}}
+\def\unnumberedsectionwithoneargument#1{\unnumberedsectionwithtwoarguments[#1]{#1}}
+\def\numberedsectionwithtwoarguments[#1]#2{%
+ \ifhmode\par\fi
+ \removelastskip
+ \vskip 3ex\goodbreak
+ \refstepcounter{section}%
+ \noindent
+ \leavevmode
+ \begingroup
+ \large
+ \bfseries
+ \thesection\
+ #2.\quad
+ \endgroup
+ \addcontentsline{toc}{section}{%
+ \protect\numberline{\thesection}%
+ #1}%
+ }
+\def\unnumberedsectionwithtwoarguments[#1]#2{%
+ \ifhmode\par\fi
+ \removelastskip
+ \vskip 3ex\goodbreak
+% \refstepcounter{section}%
+ \noindent
+ \leavevmode
+ \begingroup
+ \large
+ \bfseries
+% \thesection\
+ #2.\quad
+ \endgroup
+ \addcontentsline{toc}{section}{%
+% \protect\numberline{\thesection}%
+ #1}%
+ }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% subsection definition
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\def\subsection{\@ifstar\unnumberedsubsection\numberedsubsection}
+\def\numberedsubsection{\@ifnextchar[%]
+ \numberedsubsectionwithtwoarguments\numberedsubsectionwithoneargument}
+\def\unnumberedsubsection{\@ifnextchar[%]
+ \unnumberedsubsectionwithtwoarguments\unnumberedsubsectionwithoneargument}
+\def\numberedsubsectionwithoneargument#1{\numberedsubsectionwithtwoarguments[#1]{#1}}
+\def\unnumberedsubsectionwithoneargument#1{\unnumberedsubsectionwithtwoarguments[#1]{#1}}
+\def\numberedsubsectionwithtwoarguments[#1]#2{%
+ \ifhmode\par\fi
+ \removelastskip
+ \vskip 3ex\goodbreak
+ \refstepcounter{subsection}%
+ \noindent
+ \leavevmode
+ \begingroup
+ \bfseries
+ \thesubsection\
+ #2.\quad
+ \endgroup
+ \addcontentsline{toc}{subsection}{%
+ \protect\numberline{\thesubsection}%
+ #1}%
+ }
+\def\unnumberedsubsectionwithtwoarguments[#1]#2{%
+ \ifhmode\par\fi
+ \removelastskip
+ \vskip 3ex\goodbreak
+% \refstepcounter{subsection}%
+ \noindent
+ \leavevmode
+ \begingroup
+ \bfseries
+% \thesubsection\
+ #2.\quad
+ \endgroup
+ \addcontentsline{toc}{subsection}{%
+% \protect\numberline{\thesubsection}%
+ #1}%
+ }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% subsubsection definition
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\def\subsubsection{\@ifstar\unnumberedsubsubsection\numberedsubsubsection}
+\def\numberedsubsubsection{\@ifnextchar[%]
+ \numberedsubsubsectionwithtwoarguments\numberedsubsubsectionwithoneargument}
+\def\unnumberedsubsubsection{\@ifnextchar[%]
+ \unnumberedsubsubsectionwithtwoarguments\unnumberedsubsubsectionwithoneargument}
+\def\numberedsubsubsectionwithoneargument#1{\numberedsubsubsectionwithtwoarguments[#1]{#1}}
+\def\unnumberedsubsubsectionwithoneargument#1{\unnumberedsubsubsectionwithtwoarguments[#1]{#1}}
+\def\numberedsubsubsectionwithtwoarguments[#1]#2{%
+ \ifhmode\par\fi
+ \removelastskip
+ \vskip 3ex\goodbreak
+ \refstepcounter{subsubsection}%
+ \noindent
+ \leavevmode
+ \begingroup
+ \bfseries
+ \thesubsubsection\
+ #2.\quad
+ \endgroup
+ \addcontentsline{toc}{subsubsection}{%
+ \protect\numberline{\thesubsubsection}%
+ #1}%
+ }
+\def\unnumberedsubsubsectionwithtwoarguments[#1]#2{%
+ \ifhmode\par\fi
+ \removelastskip
+ \vskip 3ex\goodbreak
+% \refstepcounter{subsubsection}%
+ \noindent
+ \leavevmode
+ \begingroup
+ \bfseries
+% \thesubsubsection\
+ #2.\quad
+ \endgroup
+ \addcontentsline{toc}{subsubsection}{%
+% \protect\numberline{\thesubsubsection}%
+ #1}%
+ }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% list items config
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%\def\@listi{\leftmargin\leftmargini
+ %\parsep 5\p@ \@plus2.5\p@ \@minus\p@
+ %\topsep 2.5\p@ \@plus4\p@ \@minus6\p@
+ %\itemsep0.0\p@ \@plus2.5\p@ \@minus\p@}
+%\let\@listI\@listi
+
+\AtBeginDocument{%
+ \renewcommand{\@listi}
+ {\setlength{\leftmargin}{\leftmargini}
+ \setlength{\topsep} {0pt}
+ \setlength{\parsep} {\parskip}
+ \setlength{\itemsep}{0pt}}
+ \renewcommand{\@listii}
+ {\setlength{\leftmargin}{\leftmarginii}
+ \setlength{\labelwidth}{\leftmarginii}
+ \addtolength{\labelwidth}{-\labelsep}}
+ \renewcommand{\@listiii}
+ {\setlength{\leftmargin}{\leftmarginiii}
+ \setlength{\labelwidth}{\leftmarginiii}
+ \addtolength{\labelwidth}{-\labelsep}}}
+\makeatother
+
diff --git a/styles/listing_defs.tex b/styles/listing_defs.tex
new file mode 100644
index 0000000..893f88b
--- /dev/null
+++ b/styles/listing_defs.tex
@@ -0,0 +1,20 @@
+% -*- latex -*-
+% FILE: "/home/evmik/jobs/wm/2011_fall_practical_computing_for_scientists/styles/listing_defs.tex"
+% LAST MODIFICATION: "Fri, 16 Sep 2011 11:03:13 -0400 (evmik)"
+% (C) 2010 by Eugeniy Mikhailov, <evgmik@gmail.com>
+% $Id:$
+
+
+% {{{ listing color schem definitions
+\definecolor{listcommentcolor}{rgb}{0.0,0.4,0} %dark green
+%\definecolor{listbg}{rgb}{0.67,0.90,0.64} %pale green
+\definecolor{listbg}{rgb}{0.90,0.90,0.90} %light grey
+\lstset{backgroundcolor=\color{listbg}}
+\lstset{commentstyle=\color{listcommentcolor}}
+\lstset{keywordstyle=\color{blue}}
+\lstset{stringstyle=\color{magenta}}
+\lstset{language=matlab}
+\lstset{tabsize=2}
+\lstset{showstringspaces=false}
+\lstset{basicstyle = \ttfamily}
+% }}}