Questions tagged [languages]

{languages} is about the specifics of using languages in (La)TeX documents, e.g. about switching {naming} and {hyphenation} patterns when typesetting multilingual documents. Popular packages are {babel} and {polyglossia}.

Filter by
Sorted by
Tagged with
6
votes
1answer
4k views

How to use the translator package with beamer?

I'd like to have my headers like Theorem, Definition etc. in a beamer presentation translated to Polish. After skimming through the last pages of beamer user guide, I tried \usepackage[polish]{...
6
votes
1answer
190 views

Creating a document with mixed languages

I am typing a document in both Chinese and Hebrew. When I use the following codes for Chinese, everything works fine: \documentclass[UTF8]{ctexart} \begin{document} \tableofcontents \begin{...
6
votes
2answers
227 views

Automatic discretionary hyphenation in ConTeXt

I am trying to make ConTeXt to do the automatic discretionary hyphenations native to the Hungarian language. In fact, a Hungarian word asszonnyal is explicitly included in lang-hyp.lua source code's ...
6
votes
2answers
612 views

Devanagari in Latex

I am new to Latex, and rather new to Sanskrit, but would like to be able to combine the two. [edit] this might solve my issue for Linux/mac users: http://cikitsa.blogspot.ch/2010/07/how-do-i-install-...
6
votes
1answer
290 views

iflang Warning: Mismatch between \language (patterns) and and setting of \languagename

I am currently writing a class and there I need to test the current language. Therefore I use the package iflang. A strange warning pops up when I change the default language, consider: \...
6
votes
3answers
695 views

Non-English in-text citation

I have changed the language setting in my lyx document to Danish but my in-text citations still read e.g. (Jones and Jones, 2013) and not (Jones og Jones, 2013) which would be the Danish equivalent. ...
6
votes
1answer
12k views

Add keywords to an existing language in listings

I've already read extending a language with additional keywords and I have found kind of a solution, but I'm not quite sure if it's the right way and if I won't have problems in the future. The ...
6
votes
2answers
1k views

Quotes in a different language (Russian)

Tex prints question marks instead of the russian text that I want it to print. Help? \usepackage[russian,english]{babel} \usepackage[T1,T2A]{fontenc} \usepackage[utf8]{inputenc} ... \title{ \...
6
votes
3answers
1k views

How to typeset an Arabic paper with the equations in the usual Latin in Latex?

I want to typeset a paper so that the text is in Arabic and the equations are in Latin (I mean, the equations as usual, you know what I mean). How can I do that?
6
votes
1answer
595 views

Armenian characters using babel

Question: How do I get the Armenian language to print out in a mixed language document? Minimal Working Example (MWE): \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \...
6
votes
1answer
750 views

Chinese, Russian and English (and Arabic, and Thai, if possible) in LuaLaTeX

following up on THIS QUESTION, I want to embed the solution in a document (Beamer presentation) I compile (in English) with LuaLaTeX, but I just don't find the way. I just want to include a slide with ...
6
votes
1answer
592 views

How can I change the overall direction of an table from RTL to LTR?

I'm creating my document in XeLaTeX. I type in persian with XePersian package. (a right to left language). By default it creates tables in right-to-left (RTL) direction. How can I change this, for my ...
6
votes
1answer
1k views

babel - define language synonym

I use \usepackage[english]{babel}, but I am keeping getting error: Package babel Error: You haven't defined the language EN yet. while parsing bibliography with \bibliographystyle{apsrev4-1} (...
6
votes
1answer
1k views

How to set language in Biber (1.6)?

I am using biber to manage my bibliography. I am using MikTeX with all updates installed. After updating to 1.6 however, my language settings don't work. Despite setting German as prime language, the ...
6
votes
1answer
2k views

Override properties of a predefined listing style

I use the listings package and I want to override an attribute of the HTML style. Unfortunately my code overrides the whole HTML style and not just a single property: \lstloadlanguages{HTML} \...
6
votes
1answer
3k views

Language (hyphenation patterns) not available

I'm using MiKTeX 2.9 on windows7. When compiling with pdflatex, I get the following warning from Babel (which is discussed elsewhere No hyphenation patterns were loaded for the language): Package ...
6
votes
1answer
15k views

Change BibTeX's language [closed]

I am writing a document in Greek. My bibliography, however consists mainly of English entries (along with a few Greek, French and German ones). If I just add the .bib file all entries are in Greek. ...
6
votes
2answers
497 views

Indexing slovenian language

I am in trouble. I would like to organise index by texindy for slovenian language, but reactions are highly unstable. If I use … \usepackage[texindy]{imakeidx} \makeindex[intoc, columns=2, ...
6
votes
1answer
1k views

Is it possible to use some sort of internationalization in LaTeX?

For example, I have one manuscript that will create a PDF file in German and one in English. My idea is that it should be used like i18n in Java, so I have a key for a text block or a sentence and a ...
6
votes
1answer
532 views

How does showdow work in datetime2?

Since datetime is no longer getting bug fixes, I've been looking at the possibility of switching to datetime2. However, aside from the fact that I'd need to write my own language module, I can't even ...
6
votes
2answers
758 views

Using bi-lingual entries with the glossaries package

I'm writing my PhD thesis in my mother language (Slovene). I would like to create a Glossary that would contain the slovene versions of the terms along with their english counterparts. The ...
6
votes
2answers
268 views

Creating a Korean to English Dictionary

What package would be best for creating a multilingual dictionary? The glossaries package doesn't seem to work very well with Korean.
6
votes
1answer
551 views

Change a specific label in enumerate environment

I'm using arabtex, and there is an error in the package. When using \alph as a label for enumerate, it works correctly, however it is not in Arabic alphabetical order. As you would expect for the ...
6
votes
1answer
513 views

How to create multilingual (English, Japanese) and multi-format bibliographies with biblatex and biber

As a follow-up to this thread, I would like to know if it is possible to extend this further to change the citation format depending on whether kanji or romanization is selected. Japanese entries ...
6
votes
0answers
128 views

Use English in Equations and Hebrew in Regular Text [duplicate]

I use Lyx in Hebrew, which means regular text is written in Hebrew, but equations are of course written in English. I used to have an installation, which (I believe by accident during installation ...
5
votes
3answers
1k views

Type several columns using right-to-left language

I want type Farsi (this language is right-to-left) in several columns. How do I start the contents from the first column to the right?
5
votes
3answers
3k views

Inserting some Arabic script in an English article

Until now I was using XePersian package to typeset Persian articles, now I want insert some Persian word in an English document, what is minimum code to do that without using XePersian package? \...
5
votes
2answers
2k views

IfLanguageName versus iflanguage

The babel package recommends using the command IfLanguageName of the iflang package to test for a language. It is explained that the command iflanguage is too coarse, because it is only based on the ...
5
votes
2answers
245 views

How can I use a list stored in aux and insert its output into a tikz node?

# Update 2015-03-19 Better Answer Found This question is part of a trail of questions. The goal mine was to use this list inside of a tikz node, but I removed that from previous questions in the ...
5
votes
2answers
699 views

Saving language preferences for inputing source code

Using the listings package, I am trying to input a Java source file into my document using a specified, user-defined style. This works just fine if I have the specified style definition in the same ...
5
votes
1answer
917 views

How does TeX's hyphenation algorithm work?

Tex uses a built-in internal algorithm to decide where words can be hyphenated. This algorithm sometimes fails, as discussed in the questions Breaking words at the end of line and How to manually set ...
5
votes
1answer
413 views

Any other way than Babel package?

I have a complex PhD thesis temlate. I need to include a polish (second) abstract, but the hyphenation look terrbile. All the rest of the document is in english. When I try Babel package, Im getting ...
5
votes
2answers
123 views

Different interword spacing in english and french

I'm making a document with babel and monotype font. I made some settings to have a specific alignement but I have problem when using another language. \documentclass[a4paper,13pt]{book} \usepackage[...
5
votes
1answer
1k views

\usepackage[utf8]{vietnam} leads to error: Argument of \UTFviii@three@octets has an extra }

I have a problem with \usepackage[UTF8]{vietnam}. \documentclass[clock,fragile]{beamer} \usepackage{amsmath,amssymb,amsfonts, mathrsfs,bm,mathpazo} %\usepackage{amsfonts,fouriernc} \usepackage[utf8]{...
5
votes
2answers
2k views

Different alphabet with \alph

My language (Slovenian) uses a different alphabet that starts with a, b, c, č, d. I have the correct babel settings but \alph{} numbering still gives me a, b, c, d. \documentclass{article} \...
5
votes
1answer
1k views

Changing the writing language

I write in greek (having before load all the necessary packages and own commands - babel etc). In order to change the language and write a word in english I type \gre and the letters appear with ...
5
votes
2answers
854 views

Change hyphenation patterns only for a chapter

I am currently writing a book in Italian using LyX and I use \usepackage[italian]{babel} in the preamble. However, I need to write a chapter of this book in a different language. How can I change ...
5
votes
1answer
6k views

Modify Algorithm name in French

This is my code: \usepackage[section]{algorithm} \usepackage{algorithmic} \begin{document} \makeatletter\renewcommand{\ALG@name}{Algorithme} \renewcommand{\listalgorithmname}{Liste des \ALG@name s}...
5
votes
1answer
3k views

Is there a way to change the language on Overleaf?

Things like date, contents and bibliography come out in English, but I´d like to have them in Portuguese. I tried changing the settings, but didn´t find anything. Is there a package for that?
5
votes
2answers
544 views

Tibetan Mantras with Latex [duplicate]

I'm a LaTeX beginner and just trying to find out, if it is possible to use LaTeX to display Tibetan Mantras and discovered the package ctib, which seems to be quite powerful. But I cannot find out, if ...
5
votes
1answer
117 views

How to make option langid={english} conditional?

How can i make all references to have langid={english} option unless there are cyrillic letters inside a reference, then it should be langid={russian}? Optional question: How can i make all references ...
5
votes
2answers
549 views

Patgen to create hyphenation dictionary for UTF-8 language

I am having trouble creating an hyphenation dictionary for the Khmer language with patgen. I keep getting errors like, "Bad representation" and "Bad character" but I am not sure what I am doing wrong. ...
5
votes
2answers
14k views

How to include russian in LaTeX (LEd)?

How to include russian in LaTeX (LEd) ? \documentclass{article} \usepackage{amsmath,amssymb} \usepackage[russian]{babel} \begin{document} Hello \end{document} ! Package babel /b/c9/cError:/b/c0/c ...
5
votes
1answer
409 views

multilang with babel problem

I've loaded babel in my .sty file like this: \RequirePackage[ukrainian,russian,english]{babel} Then at .tex or at the same .sty file I am trying to: \selectlanguage(X) \languagename \iflanguage{...
5
votes
1answer
970 views

Can BibTeX ignore optional arguments?

Is it possible to get BibTeX to ignore certain optional arguments? For example, if the .bib file has many entries with language = {English}, and you wish for a certain file's bibliography to not say (...
5
votes
1answer
131 views

Output Devanagari (Hindi) from raw unicode using luatex

I can get the following code to compile, using luatex, with the Hindi/Devanagari characters correctly printed in the pdf: \documentclass{article} \usepackage{fontspec} \setmainfont{Times New Roman} \...
5
votes
1answer
227 views

How to use “&” in a “spanish-english” document

I am writing my thesis in Spanish, but i have 2 chapters in English. What I need is: Use "&" in all references in both languages. My problem is that all my chapters (English and Spanish) are ...
5
votes
1answer
1k views

Change autoref language?

I am trying to use latex to write something in polish. I am using babel package together with hyperref. I thought this would be enough, but apparently it is not. \documentclass{article} \usepackage[...
5
votes
1answer
876 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}? \...
5
votes
2answers
843 views

Two abstracts needed in apa6

I am supposed to write a manuscript based on apa6. Unfortunately I am located in Germany, so my professor wants to have 2 (!) abstracts - one in English ("Abstract" - as implemented in apa6 already) ...