Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'd like to use the English font when interleaving English with Hebrew (the latter is the main language). It appears however that the Hebrew one is used, as shown by this example:

\documentclass{article}

\usepackage{polyglossia}
\setdefaultlanguage[calendar=hebrew, numerals=arabic]{hebrew}
\setotherlanguage{english}
\newfontfamily\hebrewfont{David CLM}

\begin{document}
אבג English דהו

אבג \begin{english}English\end{english} דהו
\end{document}

enter image description here

I'd like the font used in the second line (default English one) to be used also in the first line without having to start a new environment (also there appears to be extra spaces because of it).

share|improve this question

1 Answer 1

up vote 4 down vote accepted

Without the environment you get the \hebrewfont (and David CLM has the glyphs for the latin alphabet). However the english environment is best used between paragraphs. For inline inserts you can use otherlanguage* or \foreignlanguage:

אבג \begin{otherlanguage*}{english}English\end{otherlanguage*} דהו
אבג \foreignlanguage{english}{English} דהו

Of course you can define your own abbreviations, for instance

\newenvironment{english*}
  {\begin{otherlanguage*}{english}}
  {\end{otherlanguage*}}
\newcommand{\EN}{\foreignlanguage{english}}

so that you may type

אבג \begin{english*}English\end{english*} דהו
אבג \EN{English} דהו

Reserve the english environment for insertion of whole paragraphs.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.