2015-06-23 23:27:03 +00:00
\usepackage [T1] { fontenc}
2015-06-24 16:33:43 +00:00
\usepackage [utf8] { inputenc}
2015-06-25 10:03:26 +00:00
\usepackage { baskervald} % Default font
2015-06-23 23:27:03 +00:00
\usepackage { setspace} \onehalfspacing
\usepackage { graphicx}
2015-06-25 23:36:34 +00:00
\usepackage { color}
2015-06-23 23:27:03 +00:00
\usepackage { textcomp}
\usepackage { hyperref}
2015-06-24 16:33:43 +00:00
% This macro produces a "Snap!" logo.
%
% Note that in Polish (and other languages), nouns are inflected. The form "Snap!" with suffix looks plain stupid, so the macro takes a suffix as argument. If the suffix is non-empty, no exclamation mark is generated, and the suffix is used instead.
\newcommand { \Snap } [1]{ %
2015-06-24 16:55:24 +00:00
\textsf { %
2015-06-24 16:33:43 +00:00
Snap%
2015-06-25 07:50:52 +00:00
\ifx \\ #1\\ \textit { !\@ } %
2015-06-24 16:33:43 +00:00
\else #1%
\fi %
} %
}
2015-06-23 23:27:03 +00:00
\newcommand { \code } [1]{ \textsf { #1} }
\newcommand { \defaultGraphicsScale } { 0.6}
2015-06-24 16:33:43 +00:00
\renewcommand { \thechapter } { \Roman { chapter} }
\renewcommand { \thesection } { \Alph { section} }
\renewcommand { \thesubsection } { }
2015-06-23 23:27:03 +00:00
\newcommand { \inlinepic } [1]{ %
\raisebox { -4pt} { %
\includegraphics [scale=\defaultGraphicsScale] { #1} %
} %
}
\newcommand { \bigpic } [1]{
\begin { center}
\includegraphics [scale=\defaultGraphicsScale] { #1}
\end { center}
2015-06-25 10:03:26 +00:00
}