Skip to content

Commit

Permalink
improve title page; add html output
Browse files Browse the repository at this point in the history
  • Loading branch information
sjaenick committed Feb 2, 2018
1 parent f173693 commit 458d5b4
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 9 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ main.out
main.lot
main.bbl
main.blg
main.dvi
main.pdf
12 changes: 8 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,28 @@
TEXSRC = main
INPUT = ref.bib $(wildcard *.tex)

LATEX = pdflatex
PDFLATEX = pdflatex
LATEX = latex
BIBTEX = bibtex
HTML = latex2html

all: $(TEXSRC).pdf

clean:
rm -f *.aux *.log *.lof *.lot *.out *.toc $(TEXSRC).bbl $(TEXSRC).blg

realclean: clean
rm -f $(TEXSRC).pdf
rm -rf $(TEXSRC).pdf $(TEXSRC).dvi main/

$(TEXSRC).aux: main.tex
$(LATEX) $(TEXSRC).tex
$(PDFLATEX) $(TEXSRC).tex

$(TEXSRC).bbl: ref.bib $(TEXSRC).aux
$(BIBTEX) $(TEXSRC)

$(TEXSRC).pdf: $(TEXSRC).tex $(TEXSRC).bbl
$(PDFLATEX) $(TEXSRC).tex
$(PDFLATEX) $(TEXSRC).tex
$(LATEX) $(TEXSRC).tex
$(LATEX) $(TEXSRC).tex
$(HTML) -address "Sebastian Jaenicke, `date +%F`" $(TEXSRC).tex

21 changes: 16 additions & 5 deletions main.tex
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,20 @@
\DeclareGraphicsExtensions{.eps,.ps}
\fi

\title{MGX User Guide}
\author{Sebastian Jaenicke\newline [email protected]\\ [email protected]}


\title{%
\begin{minipage}{11cm}
\centering
\includegraphics*[width=\textwidth]{img/mgx/logo}
\Huge
\textbf{MGX User Guide}
\end{minipage}
}%

%\title{MGX User Guide}
%\author{Sebastian Jaenicke}
%\vspace{5mm}[email protected]\vspace{5mm}[email protected]}

\begin{document}
%\frontmatter
Expand Down Expand Up @@ -88,8 +100,7 @@

% -----------------------------------------------------------
%\backmatter
\begin{appendix}

\end{appendix}
%\begin{appendix}
%\end{appendix}

\end{document}

0 comments on commit 458d5b4

Please sign in to comment.