Skip to content

Commit

Permalink
Update latex docs
Browse files Browse the repository at this point in the history
  • Loading branch information
omidraha committed Nov 18, 2018
1 parent ac6f30e commit 2560830
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/latex/tips.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ User RTL and persian
--------------------


The `sample.tex` file:

.. code-block:: latex

\documentclass[12pt,a4paper,oneside,english]{report}
Expand All @@ -26,5 +28,13 @@ User RTL and persian
\RTL
\begin{document}
\textbf{سلام لاتک! }
این یک نوشته‌ی آزمایشی است
فارسی نویسی در لاتک به این صورت است!
\end{document}


Generate pdf file:

.. code-block:: bash
$ xelatex sample.tex

0 comments on commit 2560830

Please sign in to comment.