This commit is contained in:
2026-06-19 17:59:47 +03:00
parent b376777a66
commit 4fe967e289
2 changed files with 49 additions and 17 deletions
+9 -7
View File
@@ -1,5 +1,4 @@
\documentclass[12pt,a4paper,oneside,onecolumn]{book}
\usepackage[utf8x]{inputenc}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% remove unnecessary warnings
@@ -7,10 +6,15 @@
\WarningFilter{caption}{Unknown document class}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Tell babel to not use hyphenation for Hebrew
\makeatletter\let\l@hebrew\l@nohyphenation\makeatother
% Add Hebrew:
\usepackage[hebrew,english]{babel}
% Hebrew + English via XeLaTeX:
\usepackage{fontspec}
\usepackage{polyglossia}
\setmainlanguage{english}
\setotherlanguage{hebrew}
% Culmus OpenType fonts for Hebrew (exact fc family names)
\newfontfamily\hebrewfont[Script=Hebrew]{Frank Ruehl CLM}
\newfontfamily\hebrewfontsf[Script=Hebrew]{Miriam CLM}
\newfontfamily\hebrewfonttt[Script=Hebrew]{Miriam Mono CLM}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Set page numbering with no headers (according to guidelines):
@@ -153,8 +157,6 @@
}
\makeatother
\PrerenderUnicode{א}
\newcommand{\onlythesecnum}{\arabic{section}}
\newcommand{\onlythesubsecnum}{\arabic{subsection}}