Tag Info

Hot answers tagged

24

You can always contact your local TeX users group. They most likely know people that offer LaTeX help (free/commercial). For the other question, on how much it would be. That depends, of course, but since you're asking for special knowledge, it won't be cheap. I see you are located in Germany: we maintain a list of professional TeX consultants here: ...


18

As far as I understand your question, you need someone who has expertise on both bidi typesetting in TeX and critical edition typesetting in TeX. You may contact these people/groups/mailing lists and see if they can help (or be hired): Peter Wilson (the original author of ledmac, ledpar, and ledarab packages) Dominik Wujastyk and John Lavagnino (the ...


16

As promised in the comment above, the new version of the XITS font has preliminary RTL support. There is a simple ConTeXt test file in the repository (you need a recent ConTeXt MkIV version) but it shouldn't be hard to port it to LuaLaTeX and unicode-math package. It is work in progress, not all symbols have been mirrored and support for the proposed Arabic ...


14

I usually use XeLaTeX with Polyglossia. A quick example: \documentclass{book} \usepackage{setspace} \usepackage{fontspec} \usepackage{polyglossia} \setmainlanguage{english} \setotherlanguage{arabic} \newfontfamily\arabicfont[Script=Arabic,Scale=1.1]{Scheherazade} \begin{document} Some latin text and inline arabic: \textarabic{السلام عليكم} And for ...


12

In general, I advise against using bold and slanted in Arabic for emphasis: they work poorly in Arabic, especially the slant which is not always as visible and is quite alien to Arabic typesetting traditions. (Even though my own Amiri font has them, they are there to avoid the fake bold and slanted synthesized by GUI applications which are very very poor and ...


11

Using XeTeX or LuaTeX, with Unicode input and a font with proper support (e.g. Scheherazade), things should be as simple as: \documentclass{article} \usepackage{fontspec} \usepackage{bidi} \newfontfamily\ottoman[Script=Arabic]{Scheherazade} \begin{document} \begin{RTL} \ottoman لسان عثمانی \end{RTL} \end{document}


11

There have been a couple of articles in TUGboat specifically on the Oriental TeX project, by Idris Hamid: Oriental TeX: A new direction in scholarly complex-script typesetting Qur'ānic typography comes of age: Æsthetics, layering, and paragraph optimization in ConTeXt An article by Azzeddine Lazrek, RyDArab — Typesetting Arabic mathematical expressions ...


9

It is because some works is in progress specially for the bidi package, on the other hand I am waiting for some of luatex bidi bugs getting fixed. you can test things if you want: \documentclass{article} \usepackage{fontspec} \setmainfont[Script=Arabic]{font-name} \usepackage{bidi} \pagedir TRT\pardir TRT\bodydir TRT\textdir TRT \begin{document} %your ...


9

The following is not a direct answer to the question, since it is more focused on Unicode than on TeX.But I think it is relevant nevertheless, specially with XeLaTeX, and has probably to be kept in mind if someone want to write a package for Arabic mathematical typesetting. Unicode has encoded unicode 6.1 ( January 2012) a set of Arabic Mathematical Symbols ...


8

A workaround is to insert Zero Width Joiner character around the text break area, this would force final/initial forms. For most fonts with should be OK, though it would break contextual alternates in more advanced fonts, but the text should still be readable. Other than that, there is no way to switch color without breaking text into two parts in XeTeX. ...


7

Two days ago Khaled Hosny sent me this: \documentclass{article} \usepackage{fontspec} \setmainfont[Ligatures=TeX]{Junicode} \newfontfamily\arabicfont [Script=Arabic, % to get correct arabic shaping Scale=1.2] % make the arabic font bigger, a matter of taste {Scheherazade} % whatever Arabic font you like ...


7

Although I am no expert in LaTeX and Arabic typesetting, I have had some experience in using Arabic and Persian in TeX environment, that I can share. I have tried arabi and babel in the past, it worked out well, however, I had problems with fonts. Then, as most people would do, I switched to XeLaTeX (or XeTeX, I'm not sure which one means what, I use it ...


7

You can use the tabbing environment; below there are some examples (the example is in Spanish, but that's not so relevant) of the use of this environment and a brief description of its main commands: \documentclass{article} \begin{document} \begin{tabbing} Programa\quad \= : \= \TeX \\ Autor \> : \> Donald Knuth \\ Manuales \> : \\ \qquad\= The ...


6

No, you can’t. XeTeX processes each word in isolation and does not apply the BiDi algorithm to the whole paragraph. It is possible to use interchar classes to do very primitive BiDi processing, but it is too limited to be reliable (because the nature of BiDi handling and the fact interchar classes were not meant for such use cases). P.S. I have a Bidi ...


6

The dot can be removed using the glossaries package option nopostdot. The Missing \endcsname inserted error is because you're trying to use \textarabic{...} as a label, but the label must be plain text. I don't have the required fonts installed, so I can't fully test it, but try the following: \documentclass[twocolumn]{article} \usepackage{fontspec} ...


6

The \textarab command changes internally the category code of _, so that it's not any more the subscript character for math formulas, but only in the argument of \textarab. However, this change is not any more possible if the argument has already been read (in this case as argument to \place). You have two strategies available. Strategy 1 \begin{document} ...


5

Very simple. I do it like this: \usepackage{bidi}% this should be the last package to load. \newfontfamily\Kayhan[Script=Arabic]{XB Kayhan}% for example \newenvironment{Farsi}%more human readable - other stuff can be added as well {\begin{RTL}} {\end{RTL}} Then just write farsi like this: This is an english paragraph with some \begin{Farsi}\Kayhan نوشته ...


5

This seems to be due to an incompatibility between TikZ and babel with the arabic option. It can be rectified reasonably easily, though. To make TikZ work in a document that's using babel with the arabic option, the tikzpicture environment needs to be in an english environment. To automatically switch to english, you can put \usepackage{etoolbox} ...


5

The answer might be too late but for anyone else who might have the same problem.. You need just to put tikz package before setting languages: \usepackage{setspace} \usepackage{fontspec} \usepackage{polyglossia} \usepackage{tikz} \usepackage{etoolbox} \setmainlanguage{arabic} \setotherlanguage{english} ...


5

You can redefine the plain page style: \makeatletter \def\ps@plain{% \let\@mkboth\@gobbletwo \let\@oddhead\@empty \def\@oddfoot{\reset@font\hfil\lr{\arabic{page}}\hfil}% \let\@evenhead\@empty \let\@evenfoot\@oddfoot} \makeatother \pagestyle{plain} A less intimidating way is obtained with fancyhdr: \usepackage{fancyhdr} % must go before bidipoem ...


5

Using LaTeX you can use arabtex with the setfarsi option. You will need to use transliterations for the input (much like pinyin in Chinese). Here is a minimal: \documentstyle[12pt,arabtex]{article} \parindent=0pt \begin{document} \null \vskip -2cm \setfarsi \novocalize \Large % \begin{arabtext} a b c d e f g h \\ 0123456789\\ donald knuth pasha\\ ...


5

If you don't mind switching to another engine, the following should work with XeTeX (xelatex) and you get access to any Arabic OpenType font: \documentclass[a4paper,oneside,12pt]{memoir} \usepackage{polyglossia} \setmainlanguage{english} \setotherlanguage{arabic} \newfontfamily\arabicfont[Script=Arabic]{Amiri} % or any other font \begin{document} ...


4

Since we now have two answers promoting ArabTeX, I find it necessary to add as an answer an explicit link to a solution using XeLaTeX: Typesetting a document using Arabic script This is an excellent answer, and using XeLaTeX to be preferred to using ArabTeX. The latter is mainly designed for people who need to input Arabic without access to an Arabic ...


4

I don't know about typesetting arabic, but I did watch this presentation by Idris Hamid from TUG 2010 about a project called Oriental TeX, and remember being rather impressed by it. I understood it is using ConTeXt mkIV and LuaTeX.


4

Maybe this is only a comment, but I really mean it, so I post it as an answer. If you've run out of all the latin, greek and \mathcal letters, then you're using so many variable names that the reader won't manage to remember them all! Seriously, please try and use less different letters. I think one shouldn't use more than the 2*26 latin, some ...


4

You can use the paragraphs mechanism (see also manual section 4.10 “Paragraphs in columns”). Here is an example: \defineparagraphs [Translation] [n=3, distance=2em] \setupparagraphs [Translation] [1] [width=.4\textwidth, style=small] \setupparagraphs [Translation] [2] [width=.6\textwidth, align=flushleft] \starttext ...


4

I would recommend you use XeLaTeX and the package arabxetex. Here is a MWE to get you started. \documentclass[12pt,fleqn,titlepage,twoside,a4paper]{book} \usepackage{etex} \usepackage{amsfonts,amsmath,amssymb,graphicx} \usepackage{txfonts} \usepackage[centering,includeheadfoot,margin=1in]{geometry} \usepackage{tabvar} \usepackage{arabxetex} ...


4

For typesetting Arabic assuming you have access to an Arabic keyboard layout, you should just use XeLaTeX and polyglossia, not arabxetex. ArabXeTeX is mainly designed for transliterated Arabic input. From the documentation of ArabXeTeX: This package provides a convenient ArabTEX-like user-interface for type- setting languages using the Arabic script ...


4

Emacs with AUCTeX supports utf8 and bidirectional text. Further details can be found in this answer: http://tex.stackexchange.com/a/356/7880 Here is a full guide on getting Arabic text to work on linux, including both vim and emacs: From the sounds of it you need an Arabic bitmap font installed: ...


4

There are many different issues raised in the question, and there is no single resource which covers all of them. For example, typesetting Arabic is a very different matter from understanding the difference between LaTeX and ConTeXt or how to generate web content in a TeX-based workflow. As such, you probably need to ask focussed questions on the issues you ...



Only top voted, non community-wiki answers of a minimum length are eligible