From: Andrei Lomov <lomov@math.nsc.ru> To: community@altlinux.ru, Alexandre Prokoudine <avp@altlinux.ru> Subject: Re: [Comm] Математики в LyX'е прибавилось (две теоремы рядом) Date: Fri, 20 Jun 2003 01:39:23 +0000 Message-ID: <200306200139.23103.lomov@math.nsc.ru> (raw) [-- Attachment #1: Type: text/plain, Size: 1158 bytes --] Я потерял тред... Короче, кого это волнует, тот поймёт, о чём речь. Простите :) Первое, две теоремы подряд -- это жестоко по отношению к читателю... :) Такого не допускает и стандартный LyX-класс amsart.lout (article (AMS)). Ограничение не LaTeX'а, но LyX'а. Не получается поставить два подряд однотипных утверждения -- будь то нумерация, список, теорема, ... Они сливаются в один список, одну теорему. Второе, выход есть. На ваше усмотрение, попробуйте article-ru-math-2 Класс стал более громоздкий, на любителей теорем подряд :) (к таким и себя отношу) Идея в том, чтобы завести два имени для одной и той же структуры (Теорема, ТеоремаЕщё) и чередовать имена, когда приспичит поставить две теоремы рядом. Не очень изящно, зато надёжно. Попутно просьба: помогите внятно описать принцип работы с классом (чередование "Ещё" и "неЕщё") (шапка в article-ru-math-2.lout). По-английски и, думаю по-русски тоже надо бы. Сам очень затрудняюсь. Что-то накорябал, не знаю, понятно ли. Заодно про "Ещё" выскажитесь, может, что-то более благозвучное подыскать? Спасибо А. П.С. To Alexandre Prokoudine: А как подписаться на [Freepublish] ? А. [-- Attachment #2: article-ru-math-2.layout --] [-- Type: text/plain, Size: 10029 bytes --] #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[article,amsthm.sty,amsmath.sty]{article (ru,math,2)} # Article-ru-math-2 textclass definition file. # Originates from article-ru-math textclass # by Andrei Lomov <lomov@math.nsc.ru>. # Added support for adjoining duplication of math environments # (use alternation of Xxxx and XxxxAdj versions of Xxxx environment) # Добавлена поддержка последовательного повторения однотипных утверждений # (используйте переключения между Xxxx и "XxxxЕщё" версиями утверждения Xxxx) # No warranty. Preamble \usepackage{amsthm} \usepackage{amsmath} EndPreamble # Input general definitions Input stdclass.inc # There are no chapters in an article. NoStyle Chapter NoStyle Chapter* MaxCounter Counter_Section SecNumDepth 3 TocDepth 3 # Change a bit Part and Part* Style Part Align Left AlignPossible Left TopSep 2 BottomSep 1.5 Font Size Larger EndFont End Style Part* Align Left AlignPossible Left TopSep 2 BottomSep 1.5 Font Size Larger EndFont End #********************************************************* # Theorem-numbered style declaration Style Теорема Margin First_Dynamic LatexType Environment LatexName thm NextNoIndent 1 LabelSep xx ParIndent MMM ParSkip 0.4 ItemSep 0.2 TopSep 0.7 BottomSep 0.7 ParSep 0.3 Align Block AlignPossible Block, Left LabelType Static LabelString "Теорема #." # standard font definition Font Shape Italic Size Normal EndFont # label font definition LabelFont Shape Up Series Bold EndFont Preamble \theoremstyle{plain} \newtheorem{thm}{Теорема} EndPreamble End #********************************************************* # Theorem-numbered style declaration Style ТеоремаЕщё CopyStyle Теорема LatexName thmAdj LabelString "Теорема #." Preamble \theoremstyle{plain} \newtheorem{thmAdj}[thm]{Теорема} EndPreamble End #********************************************************* # Theorem-unnumbered style declaration Style Теорема* CopyStyle Теорема LatexName thm* LabelString "Теорема." Preamble \theoremstyle{plain} \newtheorem*{thm*}{Теорема} EndPreamble End #********************************************************* # Corollary-numbered style declaration Style Следствие CopyStyle Теорема LatexName sled LabelString "Следствие #." Preamble \theoremstyle{plain} \newtheorem{sled}{Следствие} EndPreamble End #********************************************************* # Corollary-numbered style declaration Style СледствиеЕщё CopyStyle Теорема LatexName sledAdj LabelString "Следствие #." Preamble \theoremstyle{plain} \newtheorem{sledAdj}[sled]{Следствие} EndPreamble End #********************************************************* # Corollary-unnumbered style declaration Style Следствие* CopyStyle Теорема LatexName sled* LabelString "Следствие." Preamble \theoremstyle{plain} \newtheorem*{sled*}{Следствие} EndPreamble End #********************************************************* # Corollary-numbered style declaration Style Corollary # В меню LyX представлено как "Вывод" CopyStyle Теорема LatexName cor LabelString "Следствие #." Preamble \theoremstyle{plain} \newtheorem{cor}{Следствие} EndPreamble End #********************************************************* # Corollary-unnumbered style declaration Style Corollary* # В меню LyX представлено как "Вывод*" CopyStyle Теорема LatexName cor* LabelString "Следствие." Preamble \theoremstyle{plain} \newtheorem*{cor*}{Следствие} EndPreamble End #********************************************************* # Lemma-numbered style declaration Style Лемма CopyStyle Теорема LatexName lem LabelString "Лемма #." Preamble \theoremstyle{plain} \newtheorem{lem}{Лемма} EndPreamble End #********************************************************* # Lemma-numbered style declaration Style ЛеммаЕщё CopyStyle Теорема LatexName lemAdj LabelString "Лемма #." Preamble \theoremstyle{plain} \newtheorem{lemAdj}[lem]{Лемма} EndPreamble End #********************************************************* # Lemma-unnumbered style declaration Style Лемма* CopyStyle Теорема LatexName lem* LabelString "Лемма." Preamble \theoremstyle{plain} \newtheorem*{lem*}{Лемма} EndPreamble End #********************************************************* # Proposition-numbered style declaration Style Утверждение CopyStyle Теорема LatexName prop LabelString "Утверждение #." Preamble \theoremstyle{plain} \newtheorem{prop}{Утверждение} EndPreamble End #********************************************************* # Proposition-numbered style declaration Style УтверждениеЕщё CopyStyle Теорема LatexName propAdj LabelString "Утверждение #." Preamble \theoremstyle{plain} \newtheorem{propAdj}[prop]{Утверждение} EndPreamble End #********************************************************* # Proposition-unnumbered style declaration Style Утверждение* CopyStyle Утверждение LatexName prop* LabelString "Утверждение." Preamble \theoremstyle{plain} \newtheorem*{prop*}{Утверждение} EndPreamble End #********************************************************* # Claim-numbered style declaration Style Предложение CopyStyle Теорема LatexName predl LabelString "Предложение #." Preamble \theoremstyle{plain} \newtheorem{predl}{Предложение} EndPreamble End #********************************************************* # Claim-numbered style declaration Style ПредложениеЕщё CopyStyle Теорема LatexName predlAdj LabelString "Предложение #." Preamble \theoremstyle{plain} \newtheorem{predlAdj}[predl]{Предложение} EndPreamble End #********************************************************* # Claim-unnumbered style declaration Style Предложение* CopyStyle Предложение LatexName predl* LabelString "Предложение." Preamble \theoremstyle{plain} \newtheorem*{predl*}{Предложение} EndPreamble End #********************************************************* # Definition-numbered style declaration Style Определение CopyStyle Теорема LatexName defn LabelString "Определение #." # standard font definition Font Shape Up EndFont # label font definition LabelFont Shape Up Series Bold EndFont Preamble \theoremstyle{definition} \newtheorem{defn}{Определение} EndPreamble End #********************************************************* # Definition-numbered style declaration Style ОпределениеЕщё CopyStyle Определение LatexName defnAdj LabelString "Определение #." Preamble \theoremstyle{definition} \newtheorem{defnAdj}[defn]{Определение} EndPreamble End #********************************************************* # Definition-unnumbered style declaration Style Определение* CopyStyle Определение LatexName defn* LabelString "Определение." Preamble \theoremstyle{definition} \newtheorem*{defn*}{Определение} EndPreamble End #********************************************************* # Remark-numbered style declaration Style Замечание CopyStyle Теорема LatexName rem LabelString "Замечание #." # standard font definition Font Shape Up Size Normal EndFont # label font definition LabelFont Series Medium Shape Italic EndFont Preamble \theoremstyle{remark} \newtheorem{rem}{Замечание} EndPreamble End #********************************************************* # Remark-numbered style declaration Style ЗамечаниеЕщё CopyStyle Замечание LatexName remAdj LabelString "Замечание #." Preamble \theoremstyle{remark} \newtheorem{remAdj}[rem]{Замечание} EndPreamble End #********************************************************* # Remark-unnumbered style declaration Style Замечание* CopyStyle Замечание LatexName rem* LabelString "Замечание." Preamble \theoremstyle{remark} \newtheorem*{rem*}{Замечание} EndPreamble End #********************************************************* # Example-numbered style declaration Style Пример CopyStyle Определение LatexName example LabelString "Пример #." Preamble \theoremstyle{definition} \newtheorem{example}{Пример} EndPreamble End #********************************************************* # Example-numbered style declaration Style ПримерЕщё CopyStyle Определение LatexName exampleAdj LabelString "Пример #." Preamble \theoremstyle{definition} \newtheorem{exampleAdj}[example]{Пример} EndPreamble End #********************************************************* # Example-unnumbered style declaration Style Пример* CopyStyle Определение LatexName example* LabelString "Пример." Preamble \theoremstyle{definition} \newtheorem*{example*}{Пример} EndPreamble End #********************************************************* # Notation-numbered style declaration Style Обозначение CopyStyle Замечание LatexName notation LabelString "Обозначение #." Preamble \theoremstyle{remark} \newtheorem{notation}{Обозначение} EndPreamble End #********************************************************* # Notation-numbered style declaration Style ОбозначениеЕщё CopyStyle Замечание LatexName notationAdj LabelString "Обозначение #." Preamble \theoremstyle{remark} \newtheorem{notationAdj}[notation]{Обозначение} EndPreamble End #********************************************************* # Notation-unnumbered style declaration Style Обозначение* CopyStyle Замечание LatexName notation* LabelString "Обозначение." Preamble \theoremstyle{remark} \newtheorem*{notation*}{Обозначение} EndPreamble End
reply other threads:[~2003-06-20 1:39 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=200306200139.23103.lomov@math.nsc.ru \ --to=lomov@math.nsc.ru \ --cc=avp@altlinux.ru \ --cc=community@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git