LaTeX on CSE

From CsWiki
Revision as of 10:48, 1 November 2007 by Osdmitryp (Talk | contribs)

Jump to: navigation, search

This is a short tutorial to use simple LaTeX document preparing system. See at here an example: http://www.sciencebits.com/files/computing/he_sample.tex http://www.sciencebits.com/files/computing/he_sample.pdf

Start an document like this:

\documentclass[12pt]{article} \usepackage{ucs}  % package to add unicode support \usepackage[utf8x]{inputenc}  % adding the UTF-8 encoding \usepackage[english,hebrew]{babel}

\begin{document} שלום! \begin{otherlanguage}{english}

       English text with \R{\small טכסט בעברית}.
       And one more English.

\end{otherlanguage}

   כותבים בעברית!

\end{document}


Or if you want English as primary language


\documentclass[12pt]{article} \usepackage{ucs}  % package to add unicode support \usepackage[utf8x]{inputenc}  % adding the UTF-8 encoding \usepackage[hebrew,english]{babel}

\begin{document}

Sample for English and Hebrew \\ % new line

\centerline{ \R{שלום!} }

\begin{otherlanguage}{hebrew}

       טכסט בעברית
       \newline        % new line (also \\ )
       \L{and english also}

\end{otherlanguage}

\rightline{ \R{כותבים בעברית!} } \end{document}