GeneralInserting Arabic chapter into the text

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Mohammed Qahosh
Posts: 3
Joined: Fri Dec 13, 2019 11:43 am

Inserting Arabic chapter into the text

Post by Mohammed Qahosh »

Hello,
I am new to latex. I am writing my thesis and dividing it into chapters. One of the chapters (abstract) is written in Arabic. I tried to use the following packages, but it did not work.

Code: Select all

\usepackage{arabtex}
\usepackage[utf8]{inputenc}
\usepackage[LFE,LAE]{fontenc}
\usepackage[arabic]{babel}
I am using the following code and I would like to insert the Arabic abstract chapter after the english one.
Any suggestions? Thanks in advance.

Code: Select all

\documentclass[12pt]{report}

\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\graphicspath{{images/}}


\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{caption}
\usepackage{subcaption}
\usepackage[font=scriptsize]{caption}
\usepackage{mwe}
\usepackage[a4paper,width=150mm,top=25mm,bottom=25mm,bindingoffset=6mm]{geometry}
\renewcommand{\baselinestretch}{1} 

\usepackage[dvipsnames]{xcolor}
%\usepackage{xcolor}
\usepackage{subcaption}
\usepackage[backend=biber,style=numeric,sorting=none]{biblatex}
%\usepackage {biblatex}

\usepackage[colorlinks=true,linkcolor=OliveGreen]{hyperref}

\usepackage[normalem]{ulem}



\usepackage{afterpage}

\newcommand\blankpage{
    \null
   % \thispagestyle{empty}
    \addtocounter{page}{+0}
    \newpage}
 
%\usepackage{xcolor}
\usepackage{sectsty}
\chapterfont{\color{teal}}  
\sectionfont{\color{RedViolet}}  

\addbibresource {references.bib}


\title{\textcolor{olive}{Electron Dynamics in a Single C$_{60}$ Molecule}}
\author{Mohammed Qahosh}


\begin{document}

\input{title/title.tex}

%\chapter*{Dedication}
%\chapter*{Declaration}
\chapter*{Acknowledgements}
\input{chapters/Acknowledgements}
\chapter*{Abstract}
\input{chapters/abstract}


\tableofcontents

\thispagestyle{empty}
\listoffigures

\chapter*{Introduction}
\input{chapters/introduction}

\chapter{Physical Concepts}
\input{chapters/chapter1}
\chapter{Experimental Setup}
\input{chapters/chapter2}

\chapter{Investigations of FE Over the Tungsten Surface (First Reference Surface)}
\input{chapters/chapter3}

\chapter{Investigations of FE Over the Tungsten Carbide Surface (Second Reference Surface)}
\input{chapters/chapter4}

\chapter{Tip Cooling Via Liquid Nitrogen}
\input{chapters/chapter5}

\chapter*{Conclusion and Outlook}
\input{chapters/summary_outlook.tex}

%\appendix
%\chapter{Appendix}
%\input{chapters/appendix}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\graphicspath{ {figures/} }
%\thispagestyle{empty}
%\listoffigures
%\newpage
%\pagenumbering{arabic}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\printbibliography

\end{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Inserting Arabic chapter into the text

Post by Johannes_B »

Welcome to the forum,

just the abstract? Is it longer than a page?
I would use an extra LaTeX document to generate the pdf and input that into the thesis.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Mohammed Qahosh
Posts: 3
Joined: Fri Dec 13, 2019 11:43 am

Inserting Arabic chapter into the text

Post by Mohammed Qahosh »

Hi Johannes_B,
Thanks for replying. Yes it is just one page.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Inserting Arabic chapter into the text

Post by Stefan Kottwitz »

Hi Mohammed,

welcome to the forum!

I would continue doing what Johannes said: creating a separate LaTeX document for the Arabic chapter. That way on one hand you can troubleshoot it separately (and post it here, if help needed), and even include as PDF into the final document.

Stefan
LaTeX.org admin
Mohammed Qahosh
Posts: 3
Joined: Fri Dec 13, 2019 11:43 am

Inserting Arabic chapter into the text

Post by Mohammed Qahosh »

Hi Stefan,

Thank you very much. Yes I did it as Johannes suggested and it worked :))

Mohammed
Post Reply