Guest User

Untitled

a guest
Aug 18th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.86 KB | None | 0 0
  1. % Preview source code
  2.  
  3. %% LyX 2.3.0 created this file. For more info, see http://www.lyx.org/.
  4. %% Do not edit unless you really know what you are doing.
  5. documentclass[a4paper,english,hebrew]{article}
  6. usepackage{amsmath}
  7. usepackage{fontspec}
  8. usepackage{fancyhdr}
  9. pagestyle{fancy}
  10. setlength{parindent}{0bp}
  11. usepackage[unicode=true,pdfusetitle,
  12. bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
  13. breaklinks=false,pdfborder={0 0 1},backref=false,colorlinks=false]
  14. {hyperref}
  15.  
  16. makeatletter
  17.  
  18. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
  19. pdfpageheightpaperheight
  20. pdfpagewidthpaperwidth
  21.  
  22.  
  23. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
  24. usepackage{theorem}
  25. theorembodyfont{upshape}
  26. newtheorem{theorem}{R{משפט}}[section]
  27. AtBeginDocument{make@lrthetheorem}
  28.  
  29. % The following chunk fixes export with XeTeX.
  30. % It is needed because polyglossia is used by default
  31. % and make@lr is only defined by babel.
  32. @ifundefined{make@lr}
  33. {defmake@lr#1{begingroup
  34. toks@=expandafter{#1}%
  35. edefx{endgroup
  36. defnoexpand#1{noexpand@number{thetoks@}}}%
  37. x}}{relax}
  38.  
  39. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
  40. newfontfamilyhebrewfont[Script=Hebrew]{David CLM}
  41. newfontfamilyhebrewfonttt[Script=Hebrew]{Miriam Mono CLM}
  42. newfontfamilyhebrewfontsf[Script=Hebrew]{Yehuda CLM}
  43. AtBeginDocument{
  44. renewcommandfootnoterule{%
  45. kern -3pt
  46. hbox to textwidth{hfillvrule height 0.4pt width .4textwidth}
  47. kern 2.6pt
  48. }}
  49. usepackage{mathtools}
  50. newtagform{brackets}{[}{]}
  51. usetagform{brackets}
  52. deftagform@#1{maketag@@@{[ignorespaces#1unskip@@italiccorr]}}
  53. makeatletter
  54. renewcommand*{@eqnnum}{{normalfont normalcolor [theequation]}}
  55. makeatother
  56.  
  57. makeatother
  58.  
  59. usepackage{polyglossia}
  60. setdefaultlanguage{hebrew}
  61. setotherlanguage{english}
  62. begin{document}
  63. begin{align}
  64. ds\
  65. ss
  66. end{align}
  67.  
  68. begin{equation}
  69. a
  70. end{equation}
  71.  
  72. begin{equation}
  73. alabel{eq:a}
  74. end{equation}
  75.  
  76. end{document}
Add Comment
Please, Sign In to add comment