# Tag Info

7

Using pdfTeX (i.e., use latex or pdflatex to compile) and a transliteration for 'ancient' Greek: \documentclass[12pt]{article} \parindent0pt \useackage[T1]{fontenc}% \usepackage[utf8]{inputenc}% \usepackage[polutonikogreek,latin,english]{babel} % switch to language environments \newcommand{\latin}[1]{% \foreignlanguage{latin}{#1}} ...

6

There's rarely a need for using \selectlanguage directly; it may be useful if the document changes completely the language from some point on. \documentclass{article} \usepackage[T1,T2A]{fontenc} \usepackage[utf8]{inputenc} \usepackage[english,russian]{babel} \begin{document} \title{Успех в Америке\\ \begin{otherlanguage*}{english} Success in America ...

6

This depends on the font, If I use SimSun (as I had used it in a previous answer) I see no gap if I use the input you show (2 em dashes) I do see a gap if I use the classic TeX input ------ Unicode 6.1 introduces U+2E3A (TWO-EM DASH) but that might be a bit new to be in commonly distributed fonts, I get no visible character in that slot). Sorry about the ...

5

This is a nasty bug in algorithm2e. The setting of the "localized keywords" is not language dependent and the same keyword Para is defined for Portuguese and Spanish. The latter has been added in the last revision of the package and \SetKwFor{Para}{para}{hacer}{fin para} appears later than the similar definition in the Portuguese section, thus overriding ...

5

It seems this problem is caused because you are not defining the input or encoding method. Furthermore, you are specifying the use of russian language, and then writting something in english. For russian and english, you could try the following: \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{amsmath,amssymb} ...

5

Removing the irrelevant packages, here's a working solution: \documentclass[paper=a4,fontsize=11pt]{scrartcl} % KOMA-article class \usepackage[english,greek]{babel} \usepackage[iso-8859-7]{inputenc} \usepackage{kerkis} \frenchspacing \newcommand{\NewPart}[1]{\section*{\MakeUppercase{#1}}} \begin{document} \NewPart{Personal details} ...

4

There seems to be a conflict between the encoding used in your document and the one of your editor. Both encodings: the one declared in your document using inputenc and the one used for your editor need to be the same; otherwise errors will appear. Make sure both coincide and the problem will disappear.

3

Well, starting from the fact that I don't think you should translate a title, you can always use its second language name in parenthesis and lets say, italicized. Also, one of the valid options in a bibtex entry is language = {thenameofthelanguage}. Therefore, you could try something like this: @misc{author1:year, author={Author 1 and Author 2}, ...

2

Listing is powerful tool , more documentation can be found here:The Listings Package. Instead of setting global settings you should set styles for each individual listings Flowing code should give you good picture of how to customise listings. \documentclass{article} \usepackage{graphicx} \usepackage{listings} \usepackage{xcolor} \lstdefinestyle{basic}{ ...

2

Six comment signs at the end of lines were missing, which produced superfluous whitespace. \documentclass[english,danish]{scrbook} \usepackage{babel} \usepackage[unicode=true,pdfusetitle, bookmarks=true,bookmarksnumbered=true,bookmarksopen=true,bookmarksopenlevel=1, breaklinks=false,pdfborder={0 0 0},backref=false,colorlinks=false] {hyperref} ...

1

Here is a minimum working example of XeLaTeX code that you can play with (IMPORTANT: replace the fonts I have chosen, eg Linux Libertine O with fonts on your system!). There are some errors in your code that suggest you may benefit from switching now (early) to XeLaTeX, which SEEMS to be better for multiple languages. I hope this is helpful. %!TEX ...

1

Based on the answer above and comments, what I used was this: @misc{author1:year, author={Author 1 and Author 2}, title={Title in Portuguese [Title in english]}, howpublished={Institution}, month={December}, year={2010}, url={some_place_internet.pdf}, urldate={2013-05}, note={Original document in Portuguese}, }

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