3
\documentclass{book}
\usepackage[showframe,nohead]{geometry} 
\usepackage{fontspec}
\usepackage{epigraph}

\usepackage{polyglossia}
\setdefaultlanguage{english}
\setotherlanguage{german}

\setlength{\topskip}{0pt}
\pagestyle{plain}

\begin{document}
\clearpage
\vspace*{130pt}\par
\huge{Sartor Resartus}
\clearpage
\epigraph{\begin{otherlanguage}{german}Mein Vermächtniß, wie herrlich weit und breit!  \endgraf Die Zeit ist mein Vermächtniß, mein Acker ist die Zeit.\end{otherlanguage}}{Goethe}\par
\vspace{130pt}
\huge{Sartor Resartus}
\end{document}

I want same spaces from the top for Headings on both pages. But I don't know how to set them.

Positioning exactly from the top of page

  • I would say, this depends on the used document class... which is ... please fill in yourself;-) – user31729 Mar 28 '15 at 18:28
  • @SoundsOfSilence, it's done! – web-stranger Mar 28 '15 at 18:39
1

Insert the epigraph in a zero height minipage:

\documentclass{book}
\usepackage[showframe,nohead]{geometry} 
\usepackage{fontspec}
\usepackage{epigraph}

\usepackage{polyglossia}
\setdefaultlanguage{english}
\setotherlanguage{german}

\setlength{\topskip}{0pt}% not a very good idea
\pagestyle{plain}

\begin{document}

\begingroup

\vspace*{130pt}
\huge Sartor Resartus

\endgroup

\clearpage

\begingroup

\noindent\begin{minipage}[t][0pt]{\textwidth}
\epigraph{%
  \begin{otherlanguage*}{german}
  Mein Vermächtniß, wie herrlich weit und breit!\endgraf
  Die Zeit ist mein Vermächtniß, mein Acker ist die Zeit.
  \end{otherlanguage*}}{Goethe}%
\end{minipage}

\vspace{130pt}
\huge Sartor Resartus

\endgroup
\end{document}

Note that \huge doesn't take an argument. You'll probably use \begin{titlepage} and \end{titlepage} instead of my \begingroup and \endgroup.

enter image description here

  • Thank you, @egreg! Could you explain please, why the line \setlength{\topskip}{0pt} isn't good idea? It's very useful for titlesec chapter headings alignment. – web-stranger Mar 28 '15 at 18:55
  • 1
    @web-stranger That might be, but it can have undesired consequences in other cases. – egreg Mar 28 '15 at 18:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.