4
votes
1answer
181 views

newcommand for foreign language

I started to learn russian, and I need to write russian in LaTeX. I am aware of the \foreignlanguage{russian}{text} function. But how do I make a new command, so I only need to type \rl{text}? ...
4
votes
2answers
94 views

Define a macro expanding into quotes

I need a macro that expands an argument into the string { "argument"}. The following macro seems to do the trick: \newcommand{\myquote}[1]{\{ "{#1}"\}} This macro produces for the input ...
3
votes
3answers
98 views

Selecting grammatical form depending on programatically defined cardinal number (a la ngettext)

There are many languages where grammatical form depends on number of elements described. In English it is singular and plural form (plural usually but not always is generated by adding suffix 's', ...
4
votes
2answers
274 views

Can I change the language the commands are written in to British English?

Hi basically I am a newbie to this software, just getting the hang of the basics but I found that all the commands are in american english. Is there something I can use, download or one of these ...
5
votes
1answer
98 views

Handle currencies correctly depending on language conventions

Is there a standard way of handling currencies? Example: in American, you'd say "$2 a piece" in French, you'd say "2$ pièce" I'd like to be able to write \somecommand{dollars}{2}, that would ...
4
votes
1answer
897 views

Creating multiple language versions from single latex source by fetching translation from file

I could not really find anything matching, maysome someone got an idea or a starting point: I want to maintain a collection of documents written in Kile, Using LaTeX converted by xetex into pdf ...
16
votes
3answers
2k views

What is the deal about these semantic vs syntactic commands?

I keep hearing people on this site talking about "semantic" vs "syntactic" commands and that the "semantic" ones are somehow better. I don't really get what they are talking about, could you explain ...