Prvni odstavec

Zdenek Wagner - Ustav chemickych procesu AV wagner at cesnet.cz
Mon Dec 9 15:38:33 CET 1996


On Sun, 8 Dec 1996, Petr Mikulik wrote:

> >jaky prikaz mam pouzit, aby LaTeX (stary), odsazoval prvni radek i
> >prvniho odstavce?
>
> 1. LaTeX2e:
>     \usepackage{indentfirst}
>
> 2. LaTeX209:
>   snad takhle:
>
> \let\oldsection\section
> \def\section#1{\oldsection{#1} \indent}
>
Obavam se, ze tohle stacit nebude. Prikazy typu \section jsou v 2.09 i v
2e definovany pomoci \@startsection. Jeden parametr (nevim z hlavy
kolikaty) je ve standardnich definicich zaporny. Jeho absolutni hodnota
je vertikalni mezera nad nadpisem a zaporna hodnota znamena, ze se prvni
odstavec neodsazuje. Staci zmenit tuto hodnotu na kladnou. V definicich
\chapter a \part je nekde uvnitr \@afterindentfalse a to se musi zmenit
na \@afterindenttrue. Podivejte se do indentfirst.sty a udelejte si totez
pro 2.09. Mozna bude stacit, kdyz vyhodite \ProvidesPackage... a do sveho
dokumentu napisete

\documentstyle[indentfirst]{...}

Ja jsem to kdysi pro sebe delal tak, ze jsem si ze stylu, ktery jsem
pouzival (napr. article.sty) prekopiroval vsechny definice \...section do
sveho soubory (treba mujstyl.sty), v nem jsem opravil odpovidajici
rozmery na kladne, a v dokumentu jsem pak mel

\documentstyle[mujstyl]{article}

Pro LaTeX2e bych psal \usepackage{mujstyl} a cely postup by byl stejny
(ale vychazel bych z article.cls).

>
>
> ***  Petr Mikulik, mikulik at polycnrs-gre.fr, tel. (04/33-4-)76.88.74.26
> ***    Laboratoire Louis Neel, Grenoble, France
> ***  Permanent address: mikulik at physics.muni.cz
> ***    Dpt. of Solid State Physics, Masaryk University, Brno, Czech Republic
> ***  http://www.sci.muni.cz/~mikulik/  (X-ray physics;OS/2,TeX,C++,freeware)
>
>


,~~~/        /`               /     /|      /~~~
   /        /           |_/  /__/  ' |     /
  /     /~~/ /~~/ /~~/ /~~/ /\       | /| / /~~/ /~~/ /~~/ /~~/ /~~~
 /   , /  / /~~~ /  / /~~~ /  \      |/ |/ /  /_/  / /  / /~~~ /
 ~~~~  ~~~  ~~~ '  '  ~~~ '    `     '  '  ~~~  ~~/ '  '  ~~~ '
                              Zdenek Wagner______/


Due to frequent problems with Windows NT Mail Server
I started to use new address: wagner at mbox.cesnet.cz

I will continue reading messages at wagner at icpf.cas.cz
if I ever receive them...



More information about the csTeX mailing list