LaTeX forum ⇒ Page LayoutA blank page added before an arabic abstract Topic is solved

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

A blank page added before an arabic abstract

Postby nadaa » Sat Nov 04, 2017 8:52 pm

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).


  1. \documentclass[a4paper,12pt]{report}
  2. \usepackage{arabtex}
  3.  
  4. \usepackage{utf8}
  5. \usepackage[utf8]{inputenc}
  6. \usepackage[T1]{fontenc}
  7. \usepackage{setspace}
  8. \setcode{utf8}
  9.  
  10.  
  11. \begin{document}
  12.  
  13. \listofcontents
  14. \listoffigures
  15.  
  16. \inlude{abstract_eng}
  17. \include{chapter1}
  18. \include{chapter2}
  19. \include{chapter3}
  20.  
  21. % biblography
  22. \bibliographystyle{unsrt}
  23. \bibliography{bibfile}
  24. %...............
  25.  
  26. \include{abstract_arabic}
  27.  
  28. \end{document}
  29.  
  30.  
  31.  
  32. % ==============arabic abstract===============
  33. \renewcommand{\abstractname}{\normalfont\large\bfseries \RL{العنوان}}
  34. \vspace*{1.5cm}
  35. \begin{abstract} %%
  36. \vspace*{1.5cm}
  37.  
  38. \begin{center}
  39. \large\textbf{ \RL{الملخص}}
  40. \end{center}
  41. \end{abstract}
  42. %==========end abstract
==========================

Tags:

User avatar
Stefan Kottwitz
Site Admin
Posts: 8544
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:

Postby Stefan Kottwitz » Sun Nov 05, 2017 9:59 am

Hi Nadaa,

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

  1. \documentclass[a4paper,12pt]{report}
  2. ...
  3. \begin{document}
  4. Text
  5. \bibliographystyle{unsrt}
  6. \bibliography{bibfile}
  7. % ==============arabic abstract===============
  8. \renewcommand{\abstractname}{\normalfont\large\bfseries \RL{العنوان}}
  9. \vspace*{1.5cm}
  10. \begin{abstract} %%
  11. \vspace*{1.5cm}
  12.  
  13. \begin{center}
  14. \large\textbf{ \RL{الملخص}}
  15. \end{center}
  16. \end{abstract}
  17. %==========end abstract
  18. \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
Site admin

nadaa
Posts: 19
Joined: Sun Nov 20, 2016 8:12 pm

Postby nadaa » Sun Nov 05, 2017 11:07 am

Stefan Kottwitz wrote:Hi Nadaa,

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

  1. \documentclass[a4paper,12pt]{report}
  2. ...
  3. \begin{document}
  4. Text
  5. \bibliographystyle{unsrt}
  6. \bibliography{bibfile}
  7. % ==============arabic abstract===============
  8. \renewcommand{\abstractname}{\normalfont\large\bfseries \RL{العنوان}}
  9. \vspace*{1.5cm}
  10. \begin{abstract} %%
  11. \vspace*{1.5cm}
  12.  
  13. \begin{center}
  14. \large\textbf{ \RL{الملخص}}
  15. \end{center}
  16. \end{abstract}
  17. %==========end abstract
  18. \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 :)


Return to “Page Layout”

Who is online

Users browsing this forum: No registered users and 5 guests