[cig-commits] [commit] devel: doc: Really center front page figure. (c5eeb87)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Thu Feb 6 06:09:28 PST 2014
Repository : ssh://geoshell/specfem2d
On branch : devel
Link : https://github.com/geodynamics/specfem2d/compare/24dca31bf087ee51d2d1db912640d58ade2df07c...a3880316a04510a6c88ed36ceee2fab3c0169f6e
>---------------------------------------------------------------
commit c5eeb872c065078d3337e0111096454d42181f67
Author: Elliott Sales de Andrade <esalesde at physics.utoronto.ca>
Date: Thu Jan 23 20:43:08 2014 -0500
doc: Really center front page figure.
Use zero margin and fills to ensure it's really in the centre. That
should eliminate the need for any adjustments if the figure changes
size. It does shift down a bit, but I think it looks better this way.
>---------------------------------------------------------------
c5eeb872c065078d3337e0111096454d42181f67
doc/USER_MANUAL/manual_SPECFEM2D.pdf | Bin 3673528 -> 3673497 bytes
doc/USER_MANUAL/manual_SPECFEM2D.tex | 21 ++++++++++++++-------
2 files changed, 14 insertions(+), 7 deletions(-)
diff --git a/doc/USER_MANUAL/manual_SPECFEM2D.pdf b/doc/USER_MANUAL/manual_SPECFEM2D.pdf
index 28c72f8..a114ce9 100644
Binary files a/doc/USER_MANUAL/manual_SPECFEM2D.pdf and b/doc/USER_MANUAL/manual_SPECFEM2D.pdf differ
diff --git a/doc/USER_MANUAL/manual_SPECFEM2D.tex b/doc/USER_MANUAL/manual_SPECFEM2D.tex
index 528f837..d5bf7f9 100644
--- a/doc/USER_MANUAL/manual_SPECFEM2D.tex
+++ b/doc/USER_MANUAL/manual_SPECFEM2D.tex
@@ -75,14 +75,21 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Start of document.
\begin{document}
-\begin{center}
-\thispagestyle{empty}%
-\vspace*{-1.8truecm}
-\noindent\makebox[\textwidth]{%
-\noindent\includegraphics[width=0.83\paperwidth]{figures/specfem_2d-cover.pdf}
+
+% Cover Page
+\newgeometry{margin=0pt}
+\thispagestyle{empty}
+\vspace*{\fill}
+\begingroup
+\centering
+\makebox[\textwidth]{%
+\includegraphics[width=0.83\paperwidth]{figures/specfem_2d-cover.pdf}
}
-\end{center}
-%
+\endgroup
+\vspace*{\fill}
+\restoregeometry
+
+% Inner Title Page
\title{\textbf{SPECFEM2D}\\
\textbf{User Manual}}
More information about the CIG-COMMITS
mailing list