# latex

Great post, will surely help me with my next Latex project where I have a wide table I want to display. I also researched this problem and found it on stackexchange where it is solved in a similar way. -> Therefore the solution is certainly correct and will help some of us, thanks for sharing!

### Taggings:

You can use the pdflscape package for this, which you must initialize in the following way:

\usepackage{pdflscape}

To then use it inside your document you must use the following commands:

\begin{landscape} {your diagram} \end{landscape}

Note that this can result in the page number being misplaced if you include one. For this you can copy the following definition to your code and then add the \placepagenumber comand above the \end{landscape} comand:

\def\placepagenumber{% \par\pagestyle{empty}% \vbox to 0pt{\vss}\vfill \vbox to 0pt{\baselineskip0pt \hbox to\linewidth{\hss}% \baselineskip\footskip \hbox to\linewidth{% \hfil\thepage\hfil}\vss}}

### Taggings:

Some packages have to be included in the preamble to support it, as shown below.

\documentclass[a4paper,10pt]{article}
%In the preamble section include the arabtex and utf8 packages
\usepackage{arabtex}
\usepackage{utf8}

\begin{document}
%start encoding to unicode
%Note that your layout must support arabic text when compiling
\setcode{utf8}
%To start typing in Arabic use the command arabtext
hello
\begin{arabtext}
السَلامُ عَليكم ورَحمةُ الله وبَركاته
\end{arabtext}
arabic
\end{document}

### SocialTags:

Some packages have to be included in the preamble to support it, and it should be written as shown below:

\documentclass[a4paper,10pt]{article}
%In the preamble section include the arabtex and utf8 packages
\usepackage{arabtex}
\usepackage{utf8}

\begin{document}
%start encoding to unicode
%Note that your layout must support arabic text when compiling
\setcode{utf8}
%To start typing in Arabic use the command arabtext
hello
\<السَلامُ عَليكم ورَحمةُ الله وبَركاته >
arabic
\end{document}

### SocialTags:

I used to also use BibTex for referencing when I worked on Latex but now I find that Biblatex is a better option, its interface is easier and more flexible. Moreover, it has a better language localization than BibTex. I hope this helps you.