Graphics, Figures & TablesTables in Arabic

Information and discussion about graphics, figures & tables in LaTeX documents.
Asma_F
Posts: 20
Joined: Sat Mar 04, 2017 12:12 pm

Tables in Arabic

Post by Asma_F »

Hi there

I want to resize the table to fit the page. the table contains Arabic characters and I tried to use adjustbox but It did not work. This is my code

Code: Select all

Code, edit and compile here:
\documentclass[11pt]{article}
\usepackage[a4paper, total={7in, 9in}]{geometry}
\usepackage{color}
\usepackage[export]{adjustbox}
\usepackage[table]{xcolor}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{arabtex}
\usepackage[utf8]{inputenc}
\usepackage[LFE,LAE]{fontenc}
\usepackage[arabic]{babel}
\usepackage{array}
\newsavebox{\mybox}
\usepackage{array}
\newcolumntype{C}{>{\begin{lrbox}{\mybox}}c<{\end{lrbox}\AR{\unhbox\mybox}}}
\title{
\Huge\textsc{ التأثيرات البيولوجية للإشعاعات المؤينة }}
\date{}
\begin{document}
\maketitle
\begin{table}[h]
\centering
\begin{adjustbox}{width=0.4\textwidth,center}
\begin{tabular}[]{|C|C|}
\hline
التعريف & المصطلح
\\\hline
\hline
هي التأثيرات الناتجة في جسم نفس الكائن الحي الذي تعرض للإشعاعات & التأثيرات الذاتية
\\\hline
\hline
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Thanks

Recommended reading 2024:

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

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

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Tables in Arabic

Post by Stefan Kottwitz »

but It did not work
And this means? Error, warning, no output, wrong outpout, what exactly?

Stefan
LaTeX.org admin
Asma_F
Posts: 20
Joined: Sat Mar 04, 2017 12:12 pm

Tables in Arabic

Post by Asma_F »

process exited with error(s) and no output. But there are no red messages indicate the error so I don't know what is the problem.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Tables in Arabic

Post by Stefan Kottwitz »

Perhaps show us the error messages, or post the .log file as attachment.

Stefan
LaTeX.org admin
Asma_F
Posts: 20
Joined: Sat Mar 04, 2017 12:12 pm

Tables in Arabic

Post by Asma_F »

This is the .log file
Attachments
Definitions.log
(35.72 KiB) Downloaded 394 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Tables in Arabic

Post by Stefan Kottwitz »

Can you try XeLaTeX instead of pdfLaTeX?

Stefan
LaTeX.org admin
Asma_F
Posts: 20
Joined: Sat Mar 04, 2017 12:12 pm

Tables in Arabic

Post by Asma_F »

It required to install (xetex-def) package. I tried to install it but It says the package not found

! LaTeX Error: File `xetex.def' not found.Type X to quit or <RETURN> to proceed,or enter new name. (Default extension: def)Enter file name:! Emergency stop.<read > ...ed{ver@\Gin@driver}{\input{\Gin@driver}}{}

I tried to install it from Package Manager admin and an error pop out (Unknown archive file size.)
Attachments
Definitions.log
(3.95 KiB) Downloaded 355 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Tables in Arabic

Post by Stefan Kottwitz »

Install also graphics-def.

Stefan
LaTeX.org admin
Asma_F
Posts: 20
Joined: Sat Mar 04, 2017 12:12 pm

Tables in Arabic

Post by Asma_F »

I can't install any packages. I don't know what happened!
Attachments
1.png
1.png (23.62 KiB) Viewed 7751 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Tables in Arabic

Post by Stefan Kottwitz »

Perhaps try updating MiKTeX.

Stefan
LaTeX.org admin
Post Reply