0

I try to use LaTeX writing paper Greek and English text, without using separate commands for Greek or English (like: \begin{otherlanguage}{greek}), but using both Greek and Latin characters under the same command.

I found the auto-greek package but I did't manage to install it on my macbook.

\usepackage{auto-greek}

Note that I have every font that supports Greek and Latin characters!

  • 3
    You need to tell LaTeX that the language changes, how else will LaTeX know how to hyphenate? – Johannes_B Jan 28 '16 at 8:13
  • Related, at least: latex-community.org/forum/viewtopic.php?f=5&t=27015 – Johannes_B Jan 28 '16 at 8:23
  • @Johannes_B What the auto-greek package seems to use is a combined set of (probably American) English hyphenation patterns and Greek ones. I guess this works because the languages don't share a common script. – cfr Apr 27 '16 at 20:46
2

Use can write Greek directly with the alphabeta package.

\documentclass {article}
\usepackage [utf8]           {inputenc}
\usepackage [greek, english] {babel}
\usepackage                  {alphabeta}

\begin {document}

Text in Greek: τίνι ἢ  γὰρ, ἄμφω

\end {document}
1

The easiest way might be using XeLaTeX like in this answer by Bernhard. I will just copy his MWE (use UTF-8 as character encoding when saving this as a new file):

\documentclass[12pt,a4paper]{article}
\usepackage{fontspec}
\setmainfont{Linux Libertine O}

\begin{document}

 Pythagoras and Euclid

 Πυθαγόρας και Ευκλείδης.

\end{document} 

You can adjust the used font with \setmainfont{font} (keep in mind that this will use your system's ttf or otf-fonts not the ordinary LaTeX ones.

0

For me, the following solution is working:

\documentclass{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[polutonikogreek, english]{babel}
\usepackage[english]{betababel}

\begin{document}
Philosophische Anthropologie\\
\textbf{Die Lehre (\bcode{lo/gos}) vom ,,Menschen'' (\bcode {a)/ntropos})}.  
Urspr"ungleich wollte man den Menschen als ,,Maschine'', wie ein Uhrwerk
betrachten     und erkl"aren, Kant versuchte, die Anthropologie zu einer 
ordentlichen" Disziplin     zu 
\end{document}

I have the Mac OSX and installed texlive-latex with Port.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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