Article View: pl.comp.dtp.tex.gust
Article #14848Re: ODP: \MakeUppercase
From: Dariusz Borkowski
Date: Sat, 22 Mar 2003 18:05
Date: Sat, 22 Mar 2003 18:05
44 lines
1904 bytes
1904 bytes
Dziekuje za podpowiedzi.
Ostatecznie poradzilem sobie tak:
mam zdefiniowana swoja klase missp.cls oparta na klasie article.
W niej dodalem:
\newcommand{\caps}{\MakeUppercase} %skrot do duzych liter
\renewcommand{\section}{\@startsection%
{section}% name
{1}% level
{0mm}% indent
{23pt plus 3pt minus 7pt}% beforeskip
{11.5pt plus 2pt minus 4pt}% afterskip
{\large\bfseries\caps}}% style
\renewcommand{\subsection}{\@startsection%
{subsection}% name
{2}% level
{0mm}% indent
{23pt plus 3pt minus 7pt}% beforeskip
{11.5pt plus 2pt minus 4pt}% afterskip
{\large\bfseries}}% style
\renewcommand{\subsubsection}{\@startsection%
{subsubsection}% name
{3}% level
{0mm}% indent
{23pt plus 3pt minus 7pt}% beforeskip
{11.5pt plus 2pt minus 4pt}% afterskip
{\normalsize\bfseries}}% style
\def\@seccntformat#1{\csname the#1\endcsname.\hskip 1ex}
i juz wszystko dziala. Jest kropka i maly odstep po numerze sekcji. Sekcja
jest skladana wersalikami, a podsekcje juz nie. Najlepsze jest to, ze nie
do konca rozumiem w jaki sposob to wszystko zrobilem (wiekszosc rozumiem).
Czy jest jakis dokument w ktorym jest opisane tworzenie wlasnych klas, a
moze raczej modyfikacje juz dostepnych klas? Znalazlem dokument p.t.
"....... for classes writers", ale opis ten jest stanowczo zbyt ubogi.
pozdrawiam
Dariusz Borkowski
Technical Details
Message-ID:
<20030322180541.514AD2ABE3@flis.man.torun.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!m2n-man.torun.plShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!m2n-man.torun.pl From: borkows@UCI.AGH.EDU.PL (Dariusz Borkowski) Newsgroups: pl.comp.dtp.tex.gust Subject: Re: ODP: \MakeUppercase Message-ID: <20030322180541.514AD2ABE3@flis.man.torun.pl> Date: 22 Mar 03 18:05:41 GMT Sender: owner-gust-l@MAN.TORUN.PL Reply-To: Polish TeX users group discussion list <GUST-L@MAN.TORUN.PL> Approved: mjsz@man.torun.pl Lines: 44 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit