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:

Switching to landscape in LaTeX

I have to write a project proposal using LaTeX, which is pretty new for me. I've been doing good so far, but I now need to include a Gantt-diagram inside the proposal and, as the image with the diagram is horizontal, I'd like to turn the Page which includes to diagram to be in landscape mode. What can I use to achieve this?

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}

How to write Arabic in Latex

\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}

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}

How to write Arabic words in between English words in Latex

Writing Arabic words in between English words, in Latex.

How to write a LaTex formula in a Moodle forum entry

In Moodle forums, LaTex formulas can be embedded as separate formulas or inline formulas. For this purpose, the „Mathematics mode“ has to be activated. This can occur by doing the following: Creation of an inline formula: write a $ sign before and after the formula. Creation of a formula displayed in a separate line: write $$ before and after the formula.

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.

Pages

Subscribe to latex