* [Comm] LaTeX (amsart.cls)
@ 2007-10-08 18:27 Andrei Lomov
2007-10-09 17:07 ` Kirill Maslinsky
0 siblings, 1 reply; 3+ messages in thread
From: Andrei Lomov @ 2007-10-08 18:27 UTC (permalink / raw)
To: community
Есть одна старая проблема,
в ALD4 в том числе.
В классе [russian]amsart заголовок русского текста
упорно отображается строчными буквами, в нижнем регистре.
Видимо, надо разбираться с
/usr/share/texmf/tex/latex/amscls/amsart.cls
Может, глянет кто опытным глазом?
Вот файл:
===========
\documentclass[russian]{amsart}
\usepackage[T1]{fontenc}
\usepackage{amssymb}
\usepackage[koi8-r]{inputenc}
%\usepackage[utf8]{inputenc}
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
\theoremstyle{plain}
\newtheorem{thm}{Теорема}[section]
\theoremstyle{plain}
\newtheorem*{thm*}{Теорема}
\theoremstyle{plain}
\newtheorem{cor}[thm]{Следствие}
\theoremstyle{plain}
\newtheorem*{cor*}{Следствие}
\theoremstyle{plain}
\newtheorem{lem}[thm]{Лемма}
\theoremstyle{plain}
\newtheorem{prop}[thm]{Предложение}
\theoremstyle{plain}
\newtheorem*{prop*}{Предложение}
\theoremstyle{plain}
\newtheorem{conjecture}[thm]{Предположение}
\theoremstyle{plain}
\newtheorem*{conjecture*}{Предположение}
\theoremstyle{plain}
\newtheorem{criterion}[thm]{Критерий}
\theoremstyle{plain}
\newtheorem{algorithm}[thm]{Алгоритм}
\theoremstyle{plain}
\newtheorem{fact}[thm]{Факт}
\theoremstyle{plain}
\newtheorem*{fact*}{Факт}
\theoremstyle{plain}
\newtheorem{ax}[thm]{Аксиома}
\theoremstyle{definition}
\newtheorem{defn}[thm]{Оределение}
\theoremstyle{definition}
\newtheorem*{defn*}{Оределение}
\theoremstyle{definition}
\newtheorem{example}[thm]{Пример}
\theoremstyle{definition}
\newtheorem{condition}[thm]{УсловиеCondition}
\theoremstyle{definition}
\newtheorem{problem}[thm]{ЗадачаProblem}
\theoremstyle{remark}
\newtheorem{rem}[thm]{ЗамечаниеRemark}
\theoremstyle{remark}
\newtheorem{claim}[thm]{УсловиеClaim}
\theoremstyle{remark}
\newtheorem{note}[thm]{ЗамечаниеNote}
\theoremstyle{remark}
\newtheorem{notation}[thm]{Обозначение}
\theoremstyle{remark}
\newtheorem{summary}[thm]{ИтогSummary}
\theoremstyle{remark}
\newtheorem{acknowledgement}[thm]{Выражение признательности}
\theoremstyle{remark}
\newtheorem{case}{СлучайCase} %%Numbering of Cases not keyed to sections
\theoremstyle{remark}
\newtheorem{conclusion}[thm]{ЗаключениеConclusion}
\usepackage{babel}
\makeatother
\begin{document}
\title{Test of AMS-Art Style Заголовок}
\author{Давид Л. Джонсон}
\address{Department of Mathematics\\
Lehigh University\\
Bethlehem, PA 18015}
\curraddr{Home}
\email{dlj0@lehigh.edu}
\urladdr{http://www.lehigh.edu/\textasciitilde{}dlj0/dlj0.html}
\keywords{Test}
\thanks{To Emmanuel, for forcing me to fix this, and Jean-Marc, for making
it possible, and necessary. Also to Mate, who suggested numerous
improvements.}
\dedicatory{To my wife.}
\translator{Joe и я}
\subjclass{Primary: 12G34, Secondary: 09G87}
\begin{abstract}
This is not very abstract. Note that the abstract must be part of
the title stuff for AMS. \LyX{} is aware of that since version 0.12.1.
Good. Да.
\end{abstract}
\maketitle
\section{Introduction}
This file, and any amsart-{*} \LyX{} file, can be converted to either
of the numbering schemes by simply changing the document class in
the
\textsf{\underbar{L}}\textsf{ayout-}\textsf{\underbar{D}}\textsf{ocument}
popup.
...............
\begin{conjecture}
A wild guess.
\end{conjecture}
\begin{criterion}
Need some criteria
\end{criterion}
\begin{thebibliography}{1}
\bibitem{1}Johnson, D. L. \emph{Out of my head}
\bibitem{2}American Mathematical Society, \emph{Instructions for
preparation of papers and monographs: AMS-\LaTeX{}}, (1997).
\bibitem{3}American Mathematical Society,
\end{thebibliography}
\end{document}
===========
--
Всего доброго,
А.Л.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Comm] LaTeX (amsart.cls)
2007-10-08 18:27 [Comm] LaTeX (amsart.cls) Andrei Lomov
@ 2007-10-09 17:07 ` Kirill Maslinsky
2007-10-10 7:37 ` Andrei Lomov
0 siblings, 1 reply; 3+ messages in thread
From: Kirill Maslinsky @ 2007-10-09 17:07 UTC (permalink / raw)
To: community
On Tue, Oct 09, 2007 at 01:27:03AM +0700, Andrei Lomov wrote:
> Есть одна старая проблема,
> в ALD4 в том числе.
>
> В классе [russian]amsart заголовок русского текста
> упорно отображается строчными буквами, в нижнем регистре.
>
> Видимо, надо разбираться с
> /usr/share/texmf/tex/latex/amscls/amsart.cls
>
> Может, глянет кто опытным глазом?
Вот ответственный за это кусок кода из amsart.cls:
\def\@settitle{\begin{center}%
\baselineskip14\p@\relax
\bfseries
\uppercasenonmath\@title
\@title
\end{center}%
}
Иными словами, Вы можете переопределить \@settitle
в преамбуле документа, как Вам это требуется.
Не забывайте про \makeatletter \makeathother
вокруг переопределения.
--
Kirill Maslinsky
ALT Docs Team
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Comm] LaTeX (amsart.cls)
2007-10-09 17:07 ` Kirill Maslinsky
@ 2007-10-10 7:37 ` Andrei Lomov
0 siblings, 0 replies; 3+ messages in thread
From: Andrei Lomov @ 2007-10-10 7:37 UTC (permalink / raw)
To: community
Kirill Maslinsky wrote:
> On Tue, Oct 09, 2007 at 01:27:03AM +0700, Andrei Lomov wrote:
>> Есть одна старая проблема,
>> в ALD4 в том числе.
>>
>> В классе [russian]amsart заголовок русского текста
>> упорно отображается строчными буквами, в нижнем регистре.
>>
>> Видимо, надо разбираться с
>> /usr/share/texmf/tex/latex/amscls/amsart.cls
>>
>> Может, глянет кто опытным глазом?
>
> Вот ответственный за это кусок кода из amsart.cls:
> \def\@settitle{\begin{center}%
> \baselineskip14\p@\relax
> \bfseries
> \uppercasenonmath\@title
Переопределил без этой строки
> \@title
> \end{center}%
> }
Заработало,
СПАСИБО!
--
Всего доброго,
А.Л.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-10-10 7:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-08 18:27 [Comm] LaTeX (amsart.cls) Andrei Lomov
2007-10-09 17:07 ` Kirill Maslinsky
2007-10-10 7:37 ` Andrei Lomov
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