Page LayoutA blank page added before an arabic abstract

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
nadaa
Posts: 19
Joined: Sun Nov 20, 2016 8:12 pm

A blank page added before an arabic abstract

Post by nadaa »

Hi,

I am working on a thesis which I need to add Arabic abstract at the end of the document after the bibliography.
The problem is when I include the Arabic abstract in the main tex file. a new blank page is created before the abstract. (Note: I tried to include the English abstract instead and it works fine).

Code: Select all

\documentclass[a4paper,12pt]{report}
\usepackage{arabtex}

\usepackage{utf8}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{setspace}   
\setcode{utf8}


\begin{document}

\listofcontents
\listoffigures

\inlude{abstract_eng}
\include{chapter1}
\include{chapter2}
\include{chapter3}

% biblography
\bibliographystyle{unsrt}
\bibliography{bibfile}
%...............

\include{abstract_arabic}

\end{document}



% ==============arabic abstract===============
\renewcommand{\abstractname}{\normalfont\large\bfseries \RL{العنوان}}
\vspace*{1.5cm}
\begin{abstract}  %% 
\vspace*{1.5cm}

\begin{center}
\large\textbf{ \RL{الملخص}}
\end{center}
\end{abstract}	
%==========end abstract
==========================

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

A blank page added before an arabic abstract

Post by Stefan Kottwitz »

Hi Nadaa,

perhaps don't include as external file, but copy it right into the document instead. Like this:

Code: Select all

\documentclass[a4paper,12pt]{report}
...
\begin{document}
Text
\bibliographystyle{unsrt}
\bibliography{bibfile}
% ==============arabic abstract===============
\renewcommand{\abstractname}{\normalfont\large\bfseries \RL{العنوان}}
\vspace*{1.5cm}
\begin{abstract}  %% 
\vspace*{1.5cm}
 
\begin{center}
\large\textbf{ \RL{الملخص}}
\end{center}
\end{abstract}	
%==========end abstract
 \end{document}

\include always makes a page break. Perhaps your document is set up to open new pages at right hand sides, with odd numbers, so a page is inserted to accomplish that. You can insert \newpage or \clearpage yourself, before the abstract.

Stefan
LaTeX.org admin
nadaa
Posts: 19
Joined: Sun Nov 20, 2016 8:12 pm

A blank page added before an arabic abstract

Post by nadaa »

Stefan Kottwitz wrote:Hi Nadaa,

perhaps don't include as external file, but copy it right into the document instead. Like this:

Code: Select all

\documentclass[a4paper,12pt]{report}
...
\begin{document}
Text
\bibliographystyle{unsrt}
\bibliography{bibfile}
% ==============arabic abstract===============
\renewcommand{\abstractname}{\normalfont\large\bfseries \RL{العنوان}}
\vspace*{1.5cm}
\begin{abstract}  %% 
\vspace*{1.5cm}
 
\begin{center}
\large\textbf{ \RL{الملخص}}
\end{center}
\end{abstract}	
%==========end abstract
 \end{document}

\include always makes a page break. Perhaps your document is set up to open new pages at right hand sides, with odd numbers, so a page is inserted to accomplish that. You can insert \newpage or \clearpage yourself, before the abstract.

Stefan
Thanks a lot Stefan for your ongoing help!
I tried \clearpage & \newpage before \begin{abstract} but didn't work. However, inserting the abstract into the main worked perfectly!.

Regards :)
Post Reply