קוד: |
\documentclass{article} \usepackage[cp1255]{inputenc} \usepackage[hebrew,english]{babel} \usepackage{amsmath, amssymb, amsthm} \newtheorem{theorem}{theorem} \begin{document} \begin{theorem} This is my theorem \end{theorem} \end{document} |
קוד: |
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) %&-line parsing enabled. entering extended mode (./try.tex LaTeX2e <2005/12/01> Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh yphenation, loaded. (/usr/share/texmf-texlive/tex/latex/base/article.cls Document Class: article 2005/09/16 v1.4f Standard LaTeX document class (/usr/share/texmf-texlive/tex/latex/base/size10.clo)) (/usr/share/texmf-texlive/tex/latex/base/inputenc.sty (/usr/share/texmf/tex/generic/ivritex/cp1255.def)) (/usr/share/texmf-texlive/tex/generic/babel/babel.sty (/usr/share/texmf/tex/generic/ivritex/rlbabel.def) (/usr/share/texmf/tex/generic/ivritex/hebrew.ldf (/usr/share/texmf-texlive/tex/generic/babel/babel.def) Package babel Warning: No hyphenation patterns were loaded for (babel) the language `Hebrew' (babel) I will use the patterns loaded for \language=0 instead. ) (/usr/share/texmf-texlive/tex/generic/babel/english.ldf)) (/usr/share/texmf/tex/generic/ivritex/lheenc.def) (/usr/share/texmf-texlive/tex/latex/amsmath/amsmath.sty For additional information on amsmath, use the `?' option. (/usr/share/texmf-texlive/tex/latex/amsmath/amstext.sty (/usr/share/texmf-texlive/tex/latex/amsmath/amsgen.sty)) (/usr/share/texmf-texlive/tex/latex/amsmath/amsbsy.sty) (/usr/share/texmf-texlive/tex/latex/amsmath/amsopn.sty)) (/usr/share/texmf-texlive/tex/latex/amsfonts/amssymb.sty (/usr/share/texmf-texlive/tex/latex/amsfonts/amsfonts.sty)) (/usr/share/texmf-texlive/tex/latex/amscls/amsthm.sty) (./try.aux) (/usr/share/texmf/tex/generic/ivritex/lhecmr.fd) ! Missing { inserted. <to be read again> T l.8 T his is my theorem |
קוד: |
% תצוגה מקדימה של קוד המקור %% LyX 1.5.6svn created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \makeatletter \def\input@path{{/home/ran//}} \makeatother \documentclass[hebrew]{article} \usepackage[T1]{fontenc} \usepackage[cp1255]{inputenc} \usepackage{amsmath} \usepackage{amssymb} \makeatletter %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands. \usepackage{theorem} \theorembodyfont{\upshape} \newtheorem{theorem}{\R{משפט}}[section] \AtBeginDocument{\make@lr\thetheorem} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands. \usepackage{babel} \usepackage{culmus} \frenchspacing \reversemarginpar \usepackage{thm} \makeatother \usepackage{babel} \begin{document} \begin{theorem} שדגכ \end{theorem} דגגככשדגכדג \end{document} |
Anonymous : |
מי האפסים שפיתחו את latex ? האם זו התוצאה של 30 שנות פיתוח ? |
Anonymous : |
כל ה-hacks עם שינוי הסדר של usepackage מראים חובבנות. מי האפסים שפיתחו את latex ? האם זו התוצאה של 30 שנות פיתוח ?
רן, הצלחת להפעיל את החבילה המלאה -amsthm ולא רק את theorem ? |
freq : |
רן - ראיתי את הקוד שלך, ואני קצת מבולבל. בפרט, נראה לי שלא הוספת את החבילה amsthm (אלא את החבילה theorem, שאני מכיר מאוד מאוד בערך והיא הרבה פחות סטנדרטית). |
קוד: |
\documentclass{article}
\usepackage[cp1255]{inputenc} \usepackage[HE8,OT1]{fontenc} \usepackage[english,hebrew]{babel} \usepackage{culmus} \usepackage[thmmarks]{ntheorem} \usepackage{biditex} \global\emergencystretch = .9\hsize \makeatletter \renewtheoremstyle{nonumberplain}% {\item[\theorem@headerfont\hskip\labelsep ##1\theorem@separator]}% {\item[\theorem@headerfont\hskip \labelsep ##1\ )##3(\theorem@separator]} \makeatother \theoremstyle{nonumberplain} \theoremheaderfont{\normalfont\bfseries}\theorembodyfont{\slshape} \theoremseparator{:} \newtheorem{Theorem}{משפט} \theoremheaderfont{\sc}\theorembodyfont{\upshape} \theoremstyle{nonumberplain} \theoremseparator{:} \theoremsymbol{\rule{1ex}{1ex}} \newtheorem{Proof}{\R{הוכחה}} %BIDIDICENV משפט Theorem %BIDIDICENV הוכחה Proof |
ציטוט: |
%BIDION \התחל{מסמך} \התחל{משפט}[צפיפות רציונליים] לסדרה $a_n=\sum_{i=0}^n \frac{1}{i!}$ אין גבול רציונלי. \סיים{משפט} \התחל{הוכחה} סדרה $a_n$ שואפת ל-$e$ שלא שייך ל-$Q$. \סיים{הוכחה} \סיים{מסמך} %BIDIOFF |