doc-src/Classes/style.sty
changeset 30227 853abb4853cc
parent 30226 2f4684e2ea95
child 39538 5aced2f43837
--- a/doc-src/Classes/style.sty	Tue Mar 03 11:00:51 2009 +0100
+++ b/doc-src/Classes/style.sty	Tue Mar 03 13:20:53 2009 +0100
@@ -3,6 +3,9 @@
 \newcommand{\tocentry}[1]{\cleardoublepage\phantomsection\addcontentsline{toc}{chapter}{#1}
 \@mkboth{\MakeUppercase{#1}}{\MakeUppercase{#1}}}
 
+%% paragraphs
+\setlength{\parindent}{1em}
+
 %% references
 \newcommand{\secref}[1]{\S\ref{#1}}
 \newcommand{\figref}[1]{figure~\ref{#1}}
@@ -17,23 +20,25 @@
 %% verbatim text
 \newcommand{\isatypewriter}{\fontsize{9pt}{0pt}\tt\renewcommand{\baselinestretch}{1}\setlength{\baselineskip}{9pt}}
 
-%% quoted segments
-\makeatletter
+%% quote environment
 \isakeeptag{quote}
-\newenvironment{quotesegment}{\begin{quote}\isa@parindent\parindent\parindent0pt\isa@parskip\parskip\parskip0pt}{\end{quote}}
-\renewcommand{\isatagquote}{\begin{quotesegment}}
-\renewcommand{\endisatagquote}{\end{quotesegment}}
-\makeatother
+\renewenvironment{quote}
+  {\list{}{\leftmargin2em\rightmargin0pt}\parindent0pt\parskip0pt\item\relax}
+  {\endlist}
+\renewcommand{\isatagquote}{\begin{quote}}
+\renewcommand{\endisatagquote}{\end{quote}}
+\newcommand{\quotebreak}{\\[1.2ex]}
 
 %% presentation
 \setcounter{secnumdepth}{2} \setcounter{tocdepth}{2}
 
-\pagestyle{headings}
+%% character detail
+\renewcommand{\isadigit}[1]{\isamath{#1}}
 \binperiod
 \underscoreoff
 
-\renewcommand{\isadigit}[1]{\isamath{#1}}
-
+%% format
+\pagestyle{headings}
 \isabellestyle{it}