1

I want to make every \begin{titlepage} in my code is always in odd page. I've try add \cleardoublepage and \clearpage, but not working. This is my code

\documentclass[12pt,twoside]{book}
\usepackage[paperheight=297mm,paperwidth=215mm,top=4cm,left=4cm,bottom=3cm,right=3cm]{geometry}
\usepackage{graphicx}
\begin{document}
 \newgeometry{top=4.5cm, bottom=4.5cm,left=2cm,right=2cm} 
 \begin{titlepage}
 \pagestyle{fancy}
 \addcontentsline{toc}{chapter}{HALAMAN SAMPUL}
\pagestyle{fancy}                                                                       %Menghilangkan nomor halaman 
 \centering                                                                                 %rata tengah
\includegraphics[width=3.2cm,height=3.5cm]{logo.png}\\                                      %Memanggil gambar, untad.jpg = nama file gambar, width = lebar gambar, height = tinggi gambar
                                                                        %environment akhir gambar
  \vspace{0.5cm}    
                                                                            %memulai rata tengah
\fontsize{14}{12pt} \selectfont {TITLE}\\
    % \textbf=bold dan \textit=italic 
 \vspace{3.5cm}                                                                             %spasi vertikal sejauh 1.5cm 
 \fontsize{15}{12}\selectfont{\textbf{SKRIPSI}}\\
 \vspace{3.5cm}

 \fontsize{13}{12}\selectfont{\textbf{NAME\\111111}}\\

  \vspace{5cm}
\fontsize{14}{12pt}\selectfont{ \textbf{PROGRAM STUDI DDD\\
 FAKULTAS MATEMATIKA DAN ILMU PENGETAHUAN ALAM\\
 UNIVERSITAS DDD}}\\
\fontsize{15}{12}\selectfont {\textbf{DESEMBER, 2019}}
 \end{titlepage}

 \begin{titlepage}
 \cleardoublepage
 \addcontentsline{toc}{chapter}{HALAMAN JUDUL}
 \pagestyle{fancy}
 \setcounter{page}{2}
                                                                    %Menghilangkan nomor halaman 
 \centering                                                                                 %rata tengah
\includegraphics[width=3.2cm,height=3.5cm]{logo.png}\\                                      %Memanggil gambar, untad.jpg = nama file gambar, width = lebar gambar, height = tinggi gambar
                                                                        %environment akhir gambar
  \vspace{0.5cm}    
                                                                            %memulai rata tengah
\fontsize{14}{12pt} \selectfont {TITLE}\\
    % \textbf=bold dan \textit=italic 
 \vspace{3.5cm}                                                                             %spasi vertikal sejauh 1.5cm 
 \fontsize{15}{12}\selectfont{\textbf{SKRIPSI}}\\
 \vspace{1cm}
\fontsize{12}{12}\selectfont { \textbf{Diajukan untuk memenuhi salah satu persyaratan\\
dalam menyelesaikan Program Sarjana Strata Satu (S1)\\
Program Studi Matematika pada Jurusan Matematika FMIPA Universitas\\
Der\\}}
 \vspace{1cm}
 \fontsize{13}{12}\selectfont{\textbf{NAME\\111111}}\\

  \vspace{5cm}
\fontsize{14}{12pt}\selectfont{ \textbf{PROGRAM STUDI DDD\\
 FAKULTAS MATEMATIKA DAN ILMU PENGETAHUAN ALAM\\
 UNIVERSITAS DDD}}\\
\fontsize{15}{12}\selectfont {\textbf{DESEMBER, 2019}}

 \end{titlepage}

 \restoregeometry

 \begin{titlepage}
 \setcounter{page}{6}
 \centering 
 {\fontsize{14}{12}\selectfont{\textbf{PERSETUJUAN PEMBIMBING}}}
 \vspace{36pt}
 \begin{flushleft}
 \setlength{\tabcolsep}{0pt}% local to flushleft
 \begin{tabular}{p{2cm}@{:\space}p{11cm}}
 Judul&\textbf{TITLE}\\[1\baselineskip]
 Nama&\textbf{NAME}\\[1\baselineskip]
 Stambuk&\textbf{111111}\\
 \end{tabular}\\
 \vspace{24pt}
 Telah diperiksa dan disetujui untuk diajukan pada Seminar Hasil\\
 \vspace{24pt}
 \begin{tabular*}{\textwidth}{p{6cm}@{\extracolsep{\fill}}p{6cm}}
 &Palu, 15 Desember 2019\\
 Mengetahui,\\
 Ketua Jurusan DDD&Pembimbing\\
 FMIPA Universitas DDD \\[3\baselineskip]
 \underline{\textbf{NAME}}&\underline{\textbf{NAME}} \\
 NIP. 111& NIP. 1111\\
 \end{tabular*}
 \end{flushleft}
 \end{titlepage}

\begin{titlepage}
  \setcounter{page}{4}
  \centering 
{\fontsize{14}{12}\selectfont{\textbf{PENGESAHAN DEWAN PENGUJI}}}
\vspace{24pt}
\begin{flushleft}
\setlength{\tabcolsep}{0pt}% local to flushleft
\begin{tabular}{p{3.3cm}@{:\space\quad}p{11cm}}
Judul&\textbf{TITLE}\\[1\baselineskip]
Nama&\textbf{NAME}\\[1\baselineskip]
Stambuk&\textbf{1111}\\[1\baselineskip]
Disetujui Tanggal& \\
\end{tabular}\\
\vspace{24pt}
\textbf{DEWAN PENGUJI}\\
\vspace{12pt}
\begin{tabular}{p{3.3cm}@{:\space\quad}p{8cm}@{\space}p{4cm}}
Nama&\textbf{NAME}&...............\\[1\baselineskip]
Sekretaris&\textbf{NAME}&...............\\[1\baselineskip]
Penguji 1&\textbf{NAME}&...............\\[1\baselineskip]
Penguji 2&\textbf{NAME}&...............\\[1\baselineskip]
Penguji 3&\textbf{NAME}&...............\\
\end{tabular}\\
\end{flushleft}
\end{titlepage}
\cleardoublepage
\begin{titlepage}

  \setcounter{page}{5}
  \begin{center}
{\fontsize{14}{12}\selectfont{\textbf{HALAMAN PERNYATAAN\\}}}
\end{center}
\addcontentsline{toc}{chapter}{HALAMAN PERNYATAAN}
\vspace{36pt}
\doublespacing{
Dengan ini saya menyatakan bahwa dalan tugas akhir ini tidak terdapat karya
yang pernah diajukan untuk memperoleh gelar kesarjanaan di suatu Perguruan
Tinggi, dan sepanjang pengetahuan saya juga tidak terdapat karya atau pendapat
yang pernah ditulis atau diterbitkan oleh orang lain, kecuali yang secara tertulis
diacu dalam naskah ini dan disebutkan dalam daftar pustaka.}\\
\hspace*{10cm}Palu, 19 Desember 2019\\
\hspace*{10cm}Penulis,\\
\vspace{36pt}\\
\hspace*{10cm}NAME\\
\hspace*{10cm}1111\\

\end{titlepage}

 \tableofcontents
 \listoffigures
 \listoftables
\end{document}
  • 1
    instead of a title page why not make a custom page separately and then call it through input or include – js bibra Dec 16 '19 at 8:48
  • 1
    Unrelated to your question but \fontsize{14}{12pt}\selectfont ???? why are you specifying a 14pt font to be placed on lines that are 12pt apart? (also the {..} group after \selectfont does nothing here. – David Carlisle Dec 16 '19 at 9:08
  • @jsbibra: The question is not very clear, I agree. However, without knowing the full intentions of the questioner, your edit is going too far. Right now, my interpretation is that the question is about having each titlepage on an odd page. With your edit, the question reads as how to automatically get a titlepage on each odd page. These two are, however, very different questions. – Tiuri Dec 16 '19 at 10:04
  • possibly @Eddy can clarify if the edit is correct or not – js bibra Dec 16 '19 at 11:57
  • @Tiuri, I want to make the titlepage only in odd page. So, the even page is only a blank page. please run my code – Eddy Dec 16 '19 at 16:19
2

Issue a single \setcounter{page} command after the series of titlepage environments and do

\cleardoublepage
\begin{titlepage}

instead of the converse.

It makes no sense to set the page number inside titlepage.

  • the problem about odd page is clear. But how to make the pages still have page numbers?. If I remove the \setcounter{page} the pages will be no number in table of contents. How to fix it? – Eddy Dec 16 '19 at 21:44
  • @Eddy What's the reason for setting the page number? And if you want them to be on right-hand pages, they should have an odd page number, shouldn't they? – egreg Dec 16 '19 at 21:47
  • No, This is the titlepage, and my format thesis. After this titlepage, I have many chapter. I have set the page numbering for the chapter on right-hand pages. But for this titlepage, the page number is in the middle pages. – Eddy Dec 16 '19 at 21:50
  • @Eddy A title page in the middle of a document? I can't understand. – egreg Dec 16 '19 at 21:51
  • Not like that. I mean the titlepage have the page numbering too. But the posisition of page number is different with the chapter. where the page number of my Chapter is on the lower right. While I want the location of the page number of the titlepage to be in the bottom center, not in the middle of the document. – Eddy Dec 16 '19 at 21:58

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