Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- documentclass[10pt]{article}
- usepackage{multicol}
- usepackage{calc}
- usepackage{ifthen}
- usepackage{geometry}
- usepackage{hyperref}
- %%usepackage[utf8]{inputenc}
- usepackage{fontspec}
- usepackage{polyglossia}
- setdefaultlanguage{hebrew}
- setmainlanguage{hebrew}
- %setmainfont{Arial}
- %newfontfamily{hebrewfont}{Arial}
- setmainfont{DejaVu Sans}
- newfontfamily{hebrewfont}{DejaVu Sans}
- %setmainfont{Nachlieli CLM}
- %newfontfamily{hebrewfont}{Nachlieli CLM}
- %%% The next block of code is a COMMENT
- iffalse
- usepackage{polyglossia}
- setdefaultlanguage{hebrew}
- setmainlanguage{english}
- %setotherlanguage{hebrew}
- usepackage{fontspec}
- setmainfont{DejaVu Sans}
- fi
- % This sets page margins to .5 inch if using letter paper, and to 1cm
- % if using A4 paper. (This probably isn't strictly necessary.)
- % If using another size paper, use default 1cm margins.
- ifthenelse{lengthtest { paperwidth = 11in}}
- { geometry{top=.5in,left=.5in,right=.5in,bottom=.5in} }
- {ifthenelse{ lengthtest{ paperwidth = 297mm}}
- {geometry{top=0.4cm,left=0.4cm,right=0.4cm,bottom=0.4cm} }
- {geometry{top=0.4cm,left=0.4cm,right=0.4cm,bottom=0.4cm} }
- }
- % Turn off header and footer
- pagestyle{empty}
- % Redefine section commands to use less space
- makeatletter
- renewcommand{section}{@startsection{section}{1}{0mm}%
- {-1ex plus -.5ex minus -.2ex}%
- {0.5ex plus .2ex}%x
- {normalfontlargebfseries}}
- renewcommand{subsection}{@startsection{subsection}{2}{0mm}%
- {-1explus -.5ex minus -.2ex}%
- {0.5ex plus .2ex}%
- {normalfontnormalsizebfseries}}
- renewcommand{subsubsection}{@startsection{subsubsection}{3}{0mm}%
- {-1ex plus -.5ex minus -.2ex}%
- {1ex plus .2ex}%
- {normalfontsmallbfseries}}
- makeatother
- % Don't print section numbers
- setcounter{secnumdepth}{0}
- setlength{parindent}{0pt}
- setlength{parskip}{0pt plus 0.5ex}
- % -----------------------------------------------------------------------
- begin{document}
- %raggedright
- title{שלום עולם}
- author{Dor}
- %maketitle
- %raggedright
- footnotesize
- begin{multicols}{3}
- % multicol parameters
- % These lengths are set only within the two main columns
- %setlength{columnseprule}{0.25pt}
- setlength{premulticols}{1pt}
- setlength{postmulticols}{1pt}
- setlength{multicolsep}{1pt}
- setlength{columnsep}{2pt}
- begin{center}
- Large{textbf{שלום עולם}} \
- end{center}
- section{English words reversed}
- כוח לורנץ
- $ int_0^infty x d x $
- העיר מקודשת ליהדות, לנצרות ולאסלאם, והיוותה מרכז חיי העם היהודי בימי
- קדם ומושא געגועיו בזמן שהייתו בגלות. משום מרכזיותה בעולמם של המאמינים,
- הייתה העיר מוקד למלחמות וסכסוכים הנמשכים עד עצם היום הזה. מאז סוף המאה
- ה-19 התפתחו סביב העיר העתיקה שכונות העיר החדשה, המהוות כיום את רובה
- המוחלט של העיר. במרכזה של ירושלים השלמה עומד הר הבית, שמפריד בין מערב
- ירושלים למזרח ירושלים.
- בשנת 1981 הוכרזה העיר העתיקה של ירושלים כאתר מורשת עולמית על ידי ארגון
- אונסק"ו של האומות המאוחדות, והיא נמצאת ברשימת האתרים בסיכון.
- end{multicols}
- end{document}
- setdefaultlanguage{hebrew}
- setmainlanguage{hebrew}
- %setmainfont{Arial}
- %newfontfamily{hebrewfont}{Arial}
- setmainfont{DejaVu Sans}
- newfontfamily{hebrewfont}{DejaVu Sans}
- %setmainfont{Nachlieli CLM}
- %newfontfamily{hebrewfont}{Nachlieli CLM}
- %%% The next block of code is a COMMENT
- iffalse
- usepackage{polyglossia}
- setdefaultlanguage{hebrew}
- setmainlanguage{english}
- %setotherlanguage{hebrew}
- usepackage{fontspec}
- setmainfont{DejaVu Sans}
- fi
- usepackage{polyglossia}
- setdefaultlanguage{hebrew}
- setotherlanguage{english}
- newfontfamilyhebrewfont[Script=Hebrew]{DejaVu Sans}
- newfontfamilyenglishfont[Ligatures=NoCommon]{Linux Libertine O}
Add Comment
Please, Sign In to add comment