This is my environment for the certificate:
\newenvironment{alwayssingle}{%
\@restonecolfalse
\if@twocolumn\@restonecoltrue\onecolumn
\else\if@openright\cleardoublepage\else\clearpage\fi
\fi}%
{\if@restonecol\twocolumn
\else\newpage\thispagestyle{empty}\fi}
This is my certificate layout:
\renewenvironment{cert}{\begin{alwayssingle} \thispagestyle{empty}
\begin{center}
\vspace*{1cm}
{\Large \bfseries Certificate}
\end{center}
\vspace{0.5cm}
\begin{quote}}
{\end{quote}
\end{alwayssingle}}
And these rules for certificate ending:
\newcommand\guideending[5]{%
\par
\noindent
\hskip.5\linewidth
\hbox{#1}\\
\hbox to.5\linewidth{Place: #2\hfil}%
\hbox{#3}\\
\hbox to.5\linewidth{Date: #4\hfil}%
\hbox{#5}%
\par
}
And this is the cerificate:
\begin{cert}
Certified that the dissertation entitled \dots
\vspace{0.1 in}
\guideending{Mr. John Doe}{Some Place}{Lecturer in Something}{15 April 2011}
{Some College}
\vspace{1cm}
\centerline{\textbf{Approved and forwarded to Some University}}
\guideending{Some Dean}{Some Place}{Dean}{20 April 2011}
{Some College}
%\vspace{0.05 in}
\textbf{Examiner's Signature \\}
1. \\
2. \\
\end{cert}
My issue is: there is huge space at top of the certificate. But the ending goes to the next page. So how can I reduce blank space at the top and make the ending remain on the same page?
alwayssinglefor? (Are you sure you need it?) Why are you using thequoteenvironment? Why does your final snippet begin with\begin{cert}and end with\end{abstract}? Take as much of the spacing out of the finalcertenvironment as you can, and put it all in auxiliary macros that you call withincert. – Matthew Leingang Apr 9 '11 at 12:54\end{abstract}is my mistake. In my actual tex file I have quite illogical names. To make my question simple I modified it before posting. I have corrected it now.alwayssingleis to make it single column even if the main document is in multiple columns. – nixnotwin Apr 9 '11 at 13:45