Commit 03b63deb authored by Chris Cantwell's avatar Chris Cantwell
Browse files

Removed generated fonts, added styling to lstlisting.

parent 9df021c0
......@@ -6,7 +6,7 @@ FILE(MAKE_DIRECTORY ${USERGUIDE}/html)
FIND_PROGRAM(HTLATEX htlatex)
ADD_CUSTOM_TARGET(user-guide-html
export TEXINPUTS=${USERGUIDESRC}//: && ${HTLATEX} ${USERGUIDESRC}/user-guide.tex
"${USERGUIDESRC}/styling.cfg,html,3,next"
"${USERGUIDESRC}/styling.cfg,html,2,next,NoFonts"
WORKING_DIRECTORY ${USERGUIDE}/html
)
......
......@@ -9,5 +9,17 @@
a:hover {
color: \#0000ff;
}
.lstlisting {
background: \#eeeeee;
margin-left: 20px;
margin-right: 20px;
padding: 5px;
font-family: "Lucida Console", Monaco, monospace;
}
.lstinline {
padding: 2px;
font-family: "Lucida Console", Monaco, monospace;
}
}
\EndPreamble
......@@ -31,8 +31,7 @@ openany, % A chapter may start on either a recto or verso page.
%%% PAGE LAYOUT
%%%------------------------------------------------------------------------------
%%%-----------------------------------------------------------------------------
\setlrmarginsandblock{0.15\paperwidth}{*}{1} % Left and right margin
\setulmarginsandblock{0.2\paperwidth}{*}{1} % Upper and lower margin
\checkandfixthelayout
......@@ -43,6 +42,7 @@ openany, % A chapter may start on either a recto or verso page.
\renewcommand{\indent}{\hspace*{\forceindent}}
\setlength{\parskip}{1em}
%%% SECTIONAL DIVISIONS
%%%------------------------------------------------------------------------------
......@@ -138,9 +138,11 @@ openany, % A chapter may start on either a recto or verso page.
\pagestyle{standard} % Choosing pagestyle and chapter pagestyle
\aliaspagestyle{chapter}{chap} %
%%% NEW COMMANDS
%%%-----------------------------------------------------------------------------
\newcommand{\p}{\partial} %Partial
% Or what ever you want
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment