
diff -r 79e5b6eec425 -r f5d9bceb4dc0 src/Doc/isac/msteger/bakk-arbeit/thesis-macros.tex
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/Doc/isac/msteger/bakk-arbeit/thesis-macros.tex	Sun Jul 14 14:48:14 2013 +0200
@@ -0,0 +1,67 @@
+% macros and definitions
+
+\newcommand\fname{\begingroup \smaller\urlstyle{tt}\Url}
+
+\newcommand\vname{\begingroup \smaller\urlstyle{tt}\Url}
+
+
+% for class names, define our own url style
+
+\makeatletter  % protect @ names
+
+% \url@letstyle: New URL sty to premit break at any letters.
+% Based on \url@ttstyle
+
+\def\Url@letdo{% style assignments for tt fonts or T1 encoding
+\def\UrlBreaks{\do\a\do\b\do\c\do\d\do\e\do\f\do\g\do\h\do\i\do\j\do\k\do\l%
+               \do\m\do\n\do\o\do\p\do\q\do\r\do\s\do\t\do\u\do\v\do\w\do\x%
+               \do\y\do\z%
+               \do\A\do\B\do\C\do\D\do\E\do\F\do\G\do\H\do\I\do\J\do\K\do\L%
+               \do\M\do\N\do\O\do\P\do\Q\do\R\do\S\do\T\do\U\do\V\do\W\do\X%
+               \do\Y\do\Z%
+}%
+\def\UrlBigBreaks{\do\.\do\@\do\\\do\/\do\!\do\_\do\|\do\%\do\;\do\>\do\]%
+ \do\)\do\,\do\?\do\'\do\+\do\=\do\#\do\:\do@url@hyp}%
+\def\UrlNoBreaks{\do\(\do\[\do\{\do\<}% (unnecessary)
+\def\UrlSpecials{\do\ {\ }}%
+\def\UrlOrds{\do\*\do\-\do\~}% any ordinary characters that aren't usually
+\Urlmuskip = 0mu plus 1mu%
+}
+
+\def\url@letstyle{%
+\@ifundefined{selectfont}{\def\UrlFont{\sf}}{\def\UrlFont{\sffamily}}\Url@letdo
+}
+
+\makeatother  % unprotect @ names
+
+
+\newcommand\cname{\begingroup \smaller\urlstyle{let}\Url}
+
+
+\newcommand{\imgcredit}[1]
+{%
+\small
+[#1]
+}
+
+
+\newcommand{\chapquote}[2]
+{%
+\begin{quote}
+\emph{%
+``#1''%
+}%
+\begin{flushright}
+{\scriptsize \sffamily [#2]}%
+\end{flushright}
+\end{quote}
+}
+
+
+% \urlfootnote{url}{day}{month}{year}
+\newcommand{\murlfootnote}[4]{\footnote{\url{{#1}} (last visit {#4}-{#3}-{#2})}}
+\newcommand{\murlfootnotebreak}[4]{\footnote{\url{{#1}}\\ \hspace*{6mm}(last visit {#4}-{#3}-{#2})}}
+
+% change margin command
+\def\changemargin#1#2{\list{}{\rightmargin#2\leftmargin#1}\item[]}
+\let\endchangemargin=\endlist
\ No newline at end of file




