הבדלים בין גרסאות בדף "קוד:ראש"

מתוך Math-Wiki
קפיצה אל: ניווט, חיפוש
שורה 1: שורה 1:
\documentclass[a4paper,english,hebrew]{article}
+
\documentclass[english,hebrew]{article}
\usepackage[T1]{fontenc}
+
\usepackage{amsthm}
\usepackage[latin9,cp1255]{inputenc}
+
 
\usepackage{hyperref}
 
\usepackage{hyperref}
 
\usepackage{amssymb}
 
\usepackage{amssymb}
שורה 7: שורה 6:
 
\usepackage{enumerate}
 
\usepackage{enumerate}
 
\usepackage{array}
 
\usepackage{array}
 +
\usepackage{fontspec}
  
\usepackage[normalem]{ulem}
+
\setmainfont[ExternalLocation=/home/sheiner/latextest/]{Alef-Regular.ttf}
  
\usepackage{babel}
+
\makeatletter
\usepackage{culmus}
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
 +
\theoremstyle{plain}
 +
\newtheorem{thm}{\protect\theoremname}
 +
  \theoremstyle{plain}
 +
  \newtheorem{question}[thm]{\protect\questionname}
  
 +
\@ifundefined{date}{}{\date{}}
 +
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
 +
\theoremstyle{definition}
 +
\newtheorem{quesh}{שאלה}
 +
\renewenvironment{question}{\begin{quesh}}{\end{quesh}}
  
 +
\makeatother
 +
 +
\usepackage{xunicode}
 +
\usepackage{polyglossia}
 +
\setdefaultlanguage{hebrew}
 +
\setotherlanguage{english}
 +
  \addto\captionsenglish{\renewcommand{\questionname}{Question}}
 +
  \addto\captionsenglish{\renewcommand{\theoremname}{Theorem}}
 +
  \addto\captionshebrew{\renewcommand{\questionname}{שאלה}}
 +
  \addto\captionshebrew{\renewcommand{\theoremname}{משפט}}
 +
  \providecommand{\questionname}{שאלה}
 +
\providecommand{\theoremname}{משפט}
  
 
\begin{document}
 
\begin{document}

גרסה מ־14:39, 22 באוגוסט 2014

\documentclass[english,hebrew]{article} \usepackage{amsthm} \usepackage{hyperref} \usepackage{amssymb} \usepackage{amsmath} \usepackage{enumerate} \usepackage{array} \usepackage{fontspec}

\setmainfont[ExternalLocation=/home/sheiner/latextest/]{Alef-Regular.ttf}

\makeatletter %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands. \theoremstyle{plain} \newtheorem{thm}{\protect\theoremname}

 \theoremstyle{plain}
 \newtheorem{question}[thm]{\protect\questionname}

\@ifundefined{date}{}{\date{}} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands. \theoremstyle{definition} \newtheorem{quesh}{שאלה} \renewenvironment{question}{\begin{quesh}}{\end{quesh}}

\makeatother

\usepackage{xunicode} \usepackage{polyglossia} \setdefaultlanguage{hebrew} \setotherlanguage{english}

 \addto\captionsenglish{\renewcommand{\questionname}{Question}}
 \addto\captionsenglish{\renewcommand{\theoremname}{Theorem}}
 \addto\captionshebrew{\renewcommand{\questionname}{שאלה}}
 \addto\captionshebrew{\renewcommand{\theoremname}{משפט}}
 \providecommand{\questionname}{שאלה}

\providecommand{\theoremname}{משפט}

\begin{document}