Search found 2 matches

by ali8
Thu May 15, 2014 5:04 am
Forum: Page Layout
Topic: Change chapter numbers to words in Arabic
Replies: 4
Views: 7786

Change chapter numbers to words in Arabic

Instead of "Chapter 1" I want "Chapter one", but in Arabic.
one => الأول and so on.

In english, a solution exist:

\usepackage{fmtcount,etoolbox}
\makeatletter
\patchcmd{\@makechapterhead}{\thechapter}{\Numberstring{chapter}}{}{}
\patchcmd{\chaptermark}{\thechapter}{\NUMBERstring{chapter ...
by ali8
Tue May 13, 2014 6:16 pm
Forum: Others
Topic: In TexStudio, how to define macro for a command with text
Replies: 1
Views: 27270

In TexStudio, how to define macro for a command with text

Hi,

I am writing my text in Arabic, but sometimes I have English sentences. Those need to be done like this:

\textenglish{sample text here}

I was able to define new macro for that command, but I want to go a step further, I want that when I select a text, and press the macro shortcut, I want the ...