Merge branch 'one_page'
This commit is contained in:
commit
1c73229183
10
Makefile
10
Makefile
@ -3,13 +3,16 @@ SRC := config/$(basename $(MAIN)).tex
|
||||
DEP := \
|
||||
config/headfoot.tex \
|
||||
config/sourcelst.tex \
|
||||
config/titlepage.tex \
|
||||
content.tex \
|
||||
title.tex \
|
||||
Makefile
|
||||
|
||||
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:
|
||||
rm -f \
|
||||
$(basename $(MAIN)).aux \
|
||||
@ -17,7 +20,8 @@ clean:
|
||||
$(basename $(MAIN)).log \
|
||||
$(basename $(MAIN)).out \
|
||||
$(basename $(MAIN)).toc \
|
||||
$(MAIN)
|
||||
$(MAIN) \
|
||||
framework_one_page.*
|
||||
|
||||
$(MAIN): $(DEP)
|
||||
@latex $(SRC)
|
||||
|
@ -40,5 +40,6 @@ citecolor = black]{hyperref}%
|
||||
\input{config/headfoot.tex}
|
||||
\newpage
|
||||
\input{content.tex}
|
||||
\lstsetdefault
|
||||
\end{document}
|
||||
|
||||
|
40
config/framework_one_page.tex
Normal file
40
config/framework_one_page.tex
Normal 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}
|
||||
|
@ -2,6 +2,6 @@
|
||||
%\ihead{\includegraphics[scale=0.16]{config/novero_logo_web_500px.eps}}
|
||||
\ohead{\today}
|
||||
\setheadsepline{1pt}
|
||||
\ofoot{\pagemark}
|
||||
\setfootsepline{1pt}
|
||||
%\ofoot{\pagemark}
|
||||
%\setfootsepline{1pt}
|
||||
|
||||
|
@ -1,6 +1,18 @@
|
||||
\usepackage{listings}%
|
||||
\usepackage{courier}%
|
||||
|
||||
\newcommand{\lstsetdefault}
|
||||
{\lstset
|
||||
{
|
||||
language=bash,
|
||||
tabsize=4,
|
||||
frame=single,
|
||||
basicstyle=\ttfamily\small,
|
||||
commentstyle=\color{black},
|
||||
keywordstyle=\color{black}
|
||||
}
|
||||
}
|
||||
|
||||
\newcommand{\lstsetc}
|
||||
{\lstset
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user