new config for "one page" docs

This commit is contained in:
Thomas Klaehn 2016-05-17 10:32:51 +02:00
parent 894a564e9a
commit 3e11219575
5 changed files with 62 additions and 5 deletions

View File

@ -3,13 +3,16 @@ SRC := config/$(basename $(MAIN)).tex
DEP := \ DEP := \
config/headfoot.tex \ config/headfoot.tex \
config/sourcelst.tex \ config/sourcelst.tex \
config/titlepage.tex \
content.tex \ content.tex \
title.tex \
Makefile Makefile
all: $(MAIN) all: $(MAIN)
one_page: $(DEP)
@latex config/framework_one_page.tex
latex config/framework_one_page.tex
dvipdf framework_one_page.dvi framework_one_page.pdf
clean: clean:
rm -f \ rm -f \
$(basename $(MAIN)).aux \ $(basename $(MAIN)).aux \
@ -17,7 +20,8 @@ clean:
$(basename $(MAIN)).log \ $(basename $(MAIN)).log \
$(basename $(MAIN)).out \ $(basename $(MAIN)).out \
$(basename $(MAIN)).toc \ $(basename $(MAIN)).toc \
$(MAIN) $(MAIN) \
framework_one_page.*
$(MAIN): $(DEP) $(MAIN): $(DEP)
@latex $(SRC) @latex $(SRC)

View File

@ -40,5 +40,6 @@ citecolor = black]{hyperref}%
\input{config/headfoot.tex} \input{config/headfoot.tex}
\newpage \newpage
\input{content.tex} \input{content.tex}
\lstsetdefault
\end{document} \end{document}

View File

@ -0,0 +1,40 @@
\documentclass[a4paper,12pt,oneside]{article}%
\usepackage[utf8]{inputenc}%
\usepackage[T1]{fontenc}%
\usepackage{caption}%
\usepackage{placeins}%
\usepackage{graphicx}%
\usepackage[colorlinks,
pdfpagelabels,
pdfstartview = FitH,
bookmarksopen = true,
bookmarksnumbered = true,
linkcolor = black,
plainpages = false,
hypertexnames = false,
citecolor = black]{hyperref}%
\usepackage{amsmath}%
\usepackage{amssymb}%
\usepackage{amstext}%
\usepackage{amsfonts}%
\usepackage{mathrsfs}%
\usepackage{hyperref}%
\usepackage{xcolor}%
\usepackage{scrpage2}%
\newcommand*\euler{\mathrm{e}}
%\input{title.tex}
\input{config/font.tex}
\input{config/sourcelst.tex}
\begin{document}
\clearscrheadfoot
\clearscrplain
\clearscrheadings
\pagestyle{scrheadings} % switch on head and foot line
\input{config/headfoot.tex}
\lstsetdefault
\input{content.tex}
\end{document}

View File

@ -2,6 +2,6 @@
%\ihead{\includegraphics[scale=0.16]{config/novero_logo_web_500px.eps}} %\ihead{\includegraphics[scale=0.16]{config/novero_logo_web_500px.eps}}
\ohead{\today} \ohead{\today}
\setheadsepline{1pt} \setheadsepline{1pt}
\ofoot{\pagemark} %\ofoot{\pagemark}
\setfootsepline{1pt} %\setfootsepline{1pt}

View File

@ -1,6 +1,18 @@
\usepackage{listings}% \usepackage{listings}%
\usepackage{courier}% \usepackage{courier}%
\newcommand{\lstsetdefault}
{\lstset
{
language=bash,
tabsize=4,
frame=single,
basicstyle=\ttfamily\small,
commentstyle=\color{black},
keywordstyle=\color{black}
}
}
\newcommand{\lstsetc} \newcommand{\lstsetc}
{\lstset {\lstset
{ {