summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordeva <deva>2007-07-13 09:43:39 +0000
committerdeva <deva>2007-07-13 09:43:39 +0000
commitcbabe2ded759c4bac140e798432a5d6e35c4a9ae (patch)
treeeeeba676655fff7b9396111cd4732965e7bd0d30
Initial revision
-rw-r--r--design/Makefile44
-rw-r--r--design/preamble.tex138
2 files changed, 182 insertions, 0 deletions
diff --git a/design/Makefile b/design/Makefile
new file mode 100644
index 0000000..267be51
--- /dev/null
+++ b/design/Makefile
@@ -0,0 +1,44 @@
+SOURCE=preamble.tex
+TARGET=designdokument
+FLAGS=-halt-on-error -file-line-error -c-style-errors
+#PNGs := $(patsubst %.png,%.eps, $(wildcard *.png))
+JPGs := $(patsubst %.jpg,%.eps, $(wildcard *.jpg))
+FIGs := $(patsubst %.fig,%.eps, $(wildcard *.fig))
+TEXs := *.tex #$(patsubst %.fig,%.eps, $(wildcard *.fig))
+.PHONY =dvi ps pdf mpost clean cleanall
+
+all: dvi ps pdf
+
+dvi: $(TARGET).dvi
+ps: $(TARGET).ps
+pdf: $(TARGET).pdf
+
+$(TARGET).dvi: $(JPGs) $(FIGs) $(TEXs)
+ latex $(FLAGS) -jobname $(TARGET) $(SOURCE)
+ latex $(FLAGS) -jobname $(TARGET) $(SOURCE)
+
+$(TARGET).ps: $(TARGET).dvi
+ dvips -t a4 $(TARGET).dvi -o
+
+$(TARGET).pdf: $(TARGET).ps
+ ps2pdf14 $(TARGET).ps $(TARGET).pdf
+
+clean:
+ rm -f \#*
+ rm -f *~
+ rm -f *.log
+ rm -f *.toc
+ rm -f *.aux
+ rm -f $(TARGET).dvi
+ rm -f $(TARGET).ps
+ rm -f $(TARGET).pdf
+ rm -f *.eps
+
+%.eps: %.jpg
+ convert $< $@
+
+%.eps: %.png
+ convert $< $@
+
+%.eps: %.fig
+ fig2dev -L eps $< $@
diff --git a/design/preamble.tex b/design/preamble.tex
new file mode 100644
index 0000000..e746994
--- /dev/null
+++ b/design/preamble.tex
@@ -0,0 +1,138 @@
+\documentclass[
+%*********************************************
+%* Paper type (letterpaper) *
+%*********************************************
+ a4paper,
+% letterpaper,
+% a5paper,
+% b5paper,
+% executivepaper,
+% legalpaper,
+%
+%*********************************************
+%* Font size (10pt) *
+%*********************************************
+% 10pt,
+ 11pt,
+% 12pt,
+%
+%*********************************************
+%* Paging (document dependent) *
+%*********************************************
+ oneside,
+% twoside,
+%
+%*********************************************
+%* Equation alignment (center) *
+%*********************************************
+% fleqn, %placerer fomlerne i venstre siden istedet for centreret.
+% leqno, %Placerer formelnummereringen på venstre side (istedet for højre)
+%
+%*********************************************
+%* Chapter positioning (document dependent) *
+%*********************************************
+ openany, %openany starter chapters på næstkommende side.
+% openright,
+%
+%*********************************************
+%* Language (none) *
+%*********************************************
+% english]
+ danish]
+%
+%*********************************************
+%* Document type (none) *
+%*********************************************
+% {book}
+% {article}
+% {slides}
+ {report}
+
+
+%*********************************************
+%* Userpackages *
+%*********************************************
+\usepackage[latin1]{inputenc} %Bruges til
+%\usepackage[T1]{fontenc}
+\usepackage[danish]{babel}
+\usepackage{amsfonts}
+\usepackage{mathrsfs}
+%\usepackage[xdvi]{epsfig}
+%\usepackage{ifthen}
+%\usepackage{latexsym}
+%\usepackage{theorem}
+\usepackage[dvips]{graphicx} %Used when including .eps (graphics) files
+%\usepackage{varioref}
+%\usepackage{epic}
+%\usepackage{eepic}
+%\usepackage{rotfloat}
+%\usepackage{multicol}
+%\usepackage{wrapfig}
+%\usepackage{syntonly} %Use this to check for proper syntax, makes output file.
+%\syntaxonly %Use this to check for proper syntax, makes NO output file.
+\usepackage{verbatim} %Used when to include an unformatted ASCII file
+%\usepackage{fancyhdr}
+%\usepackage{layout}
+%\usepackage{float}
+%\usepackage{makeidx} %Used when making an index in the document
+\usepackage{calc} %Used if you wanna use cm, mm, ex etc. instead of pt
+%\usepackage[draft]{fixme}
+\usepackage{hyphenat}
+
+\pagestyle
+%*********************************************
+%* Header / footer configuration (none) *
+%*********************************************
+ {plain} %Writes page number in footer, header is empty.
+% {headings}
+% {empty} %Makes no header or footer
+% {myheadings}
+% {fancy}
+
+
+
+%*********************************************
+%* Extra pagelayout (se s. 110) *
+%*********************************************
+%\hoffset = -0.5cm %Venstremargin
+%\voffset = 0pt
+%\evensidemargin= 0pt
+%\oddsidemargin = 0pt %Ekstra venstremargin til dobbeltsider
+%\topmargin = -2cm
+%\headheight = 0pt
+%\headsep = 0pt
+%\textheight = 690pt
+%\textwidth = 480pt
+%\marginparsep = 0pt
+%\marginparwidth= 0pt
+%\footskip = 0pt
+%\marginparpush = 0pt
+%\paperwidth = 597pt
+%\paperheight = 845pt
+
+%\makeindex
+
+%\parskip = 1ex
+%\parindent = 0em
+%\baselineskip = 2ex
+
+%\underlineheadings
+
+\title{\Huge{}\textbf{Pracro}\\\Large{}Design dokument\\\vspace{1cm}PC-Praxis macrosystem}
+%
+\author{Bent Bisballe Nyeng\\deva@aasimon.org\\Aasimon.org}
+
+\markboth{}{}
+%*********************************************
+%* start of *
+%* -=DOCUMENT=- *
+%*********************************************
+\begin{document}
+\maketitle
+\tableofcontents
+
+\end{document}
+%*********************************************
+%* end of *
+%* -=DOCUMENT=- *
+%*********************************************