%%
%% The LaTeX Companion, 2ed (second printing August 2004)
%%
%% Example 9-4-4 on page 577.
%%
%% Copyright (C) 2004 Frank Mittelbach, Michel Goossens,
%%    Johannes Braams, David Carlisle, and Chris Rowley
%%
%% It may be distributed and/or modified under the conditions
%% of the LaTeX Project Public License, either version 1.3
%% of this license or (at your option) any later version.
%%
%% See http://www.latex-project.org/lppl.txt for details.
%%

\documentclass{ttctexa}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{327.0pt}

  \typeout{This example requires fonts that are not available^^J%
           on the TLC2 demo CD}
\StartShownPreambleCommands

\renewcommand\rmdefault{cmr}  % examples are normally in Times

\usepackage[cp1255]{inputenc}
\usepackage[hebrew,english]{babel}
\day=2 \month=2 \year=2002

\StopShownPreambleCommands
\begin{document}

\sethebrew

\title{כותרת של מאמר שנכתב באמצעות \L{\LaTeX} בעברית}
\author{רמה פורת}
\maketitle
\thispagestyle{empty}

\section{זאת ההתחלה}
\noindent
אפשר להתחיל בעברית ואחר כך לעבור ללועזית
\unsethebrew
and continue with English text
\sethebrew
{אפשר גם לכלול נוסחאות   $83 + a^2 =102$
ולחזור לעברית.}

\subsection{תת סעיף בעבודה}

\begin{itemize}
\item[*]
המצב לא טוב אבל יש ת^^f7וה לעתיד.

\item[*]
יש לפניך שולחן עם המון מטבעות. לכל מטבע צד לבן וצד שחור.  עיניך ^^f7שורות.
אתה יודע ש \L{10} מטבעות הן עם הצד הלבן למעלה, והשאר עם הצד השחור למעלה.
עליך לחל^^f7 את המטבעות לשתי ^^f7בוצות, כך שבכל ^^f7בוצה יהיה אותו מספר של לבנים
 )כלומר צד לבן למעלה(.

לא מצאת את הפיתרון? - \L{rama@huji.ac.il}
\end{itemize}

\section{\L{Last section}}
\sethebrew

אפשר להשתמש בכל האפשרויות של התוכנה בגירסתה הלועזית.
\end{document}
