
Intenté instalar hebreo en mi LaTeX. Estoy usando TeXShop y también tengo Texmaker para MacBook. ya lo descarguéIvriTeXyCulmo, pero no sé cómo instalarlo. encontréeste tutorialen la web, pero no lo entiendo. ¿Alguien puede ser más claro y sencillo sobre la instalación del soporte en hebreo?
Respuesta1
No estoy seguro acerca de IvriTex
y Culmus
, pero puedes hablar hebreo simplemente usando el Babel
paquete que probablemente ya esté instalado. (Usarmactexpara obtener la mejor configuración en mi opinión.)
Luego ejecute un ejemplo comoestede IvriTex's
la página de ejemplo:
\documentclass{article}
% There may be a number of languages. The main document language is
% the *last* of them
\usepackage[english,hebrew]{babel}
\begin{document}
כדי לכתוב משהו באנגלית חייבים להשתמש במקרו הבא: \L{Hello, world}. וכאן
ממשיכים לכתוב בעברית. טקסט נוסחאות תמיד יהיה בכיוון שמאל-לימין:
$a_1+a_{2}=c^{2}$ .
כעת נתחיל חלק באנגלית:
\begin{otherlanguage}{english}
Hello, World. Hebrew text inside English paragraph must come inside the
macro R: \R{בוקר טוב עולם}.
This is the preffered way to set the language.
\end{otherlanguage}
דרך אחרת לעבור לאנגלית:
\unsethebrew
Yet Another English Paragraph
And another paragraph
\sethebrew
פסקה שמינית ואחרונה )באמת(.
\end{document}
Esto es unMWEusando el polyglossia
paquete, que creo que a su vez usa babel
.
% !TEX TS-program = XeLaTeX
\documentclass{scrreprt}
\usepackage{fontspec}
\setmainfont{Times New Roman}
\usepackage{polyglossia}
\setdefaultlanguage{greek}
\setotherlanguage[numerals=hebrew]{hebrew}
\begin{document}
ελληνικά \greeknumeral{1863}
Hebrew: עִבְרִית\\
\hebrewnumeral{1750}
\Hebrewnumeral{1750}
\Hebrewnumeralfinal{1750}\\
\hebrewnumeral{1}
\Hebrewnumeral{1}
\Hebrewnumeralfinal{1}
\end{document}