1. Altering paragraph margins in sections, subsections and paragraphs
Hi,
I'm currently typesetting a constitution.
I've been able to alter the chapter, sections, subsections etc
definitions to get it looking how we need it (definition pasted
below).
At the moment it's producing clauses as follows:
1.1.1.1 xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xx
xx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
when I'd love to know how to get it to look like this:
1.1.1.1 xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
xxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxx x
xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
I hope I'm going about this the right way... One of the section
definitions I'm using is as follows:
% Inline
\makeatletter
\def\section{\@ifstar\unnumberedsection\numberedsection}
\def\numberedsection{\@ifnextchar[%]
\numberedsectionwithtwoarguments\numberedsectionwithoneargument}
\def\unnumberedsection{\@ifnextchar[%]
\unnumberedsectionwithtwoarguments\unnumberedsectionwithoneargument}
\def\numberedsectionwithoneargument#1{\numberedsectionwithtwoarguments[#1]{#1}}
\def\unnumberedsectionwithoneargument#1{\unnumberedsectionwithtwoarguments[#1]{#1}}
\def\numberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
\refstepcounter{section}%
\noindent
\leavevmode
\begingroup
\\\large\bfseries
\thesection\
\quad #2
\endgroup
\addcontentsline{toc}{section}{%
\protect\numberline{\thesection}%
#1}%
}
\def\unnumberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
% \refstepcounter{section}%
\noindent
\leavevmode
\begingroup
\\\large\bfseries
% \thesection\
\quad #2
\endgroup
\addcontentsline{toc}{section}{%
% \protect\numberline{\thesection}%
#1}%
}
\makeatletter
Many thanks in advance for your help,
A Carter
2. How to re-define chapter, section, subsection, paragraph?
3. Changing the section and subsection number size
I found that the command
\renewcommand{\thesection}{{\small{\arabic{section}}}}
changes the section number to a small size, but the subsection size
number is
unaffected. How can I change subsection number proportionally?
Salut,
Sergio
XXXX@XXXXX.COM
4. How to change color of chapters/section/subsections?
5. changing \section and \subsection
Hi all,
I'd like to ask for your help with this. Is there a package or
technique to change the way \section and \subsection displays? For
example, \section{Set) may display "1 Set" where I would like to
display "Set 1".
Like wise with \subsection.
Thank you for your time.
Evyn
6. [memoir] error with subsections in toc as paragraph (minimal example)
7. [memoir] error with subsections in toc as paragraph
On Wed, 1 Nov 2006, Lars Madsen wrote:
>
> When using examples from various notes, always start by ensuring that the
> code from the notes actually work, then edit it to fit your needs.
First of all, thanks for looking at my problem, Lars. I did try the
original first, but perhaps should have stressed that a bit more in my
post.
> in the addendum, it clearly states that you need
>
> \AtEndDocument{\addtocontents{toc}{\par}
>
> I would assume that this would solve your problem.
It does not. I fail to see how adding a \par at the end of the toc-file
could solve a problem that occurs before a chapter-contensline. Perhaps I
need to get a \par in front of chapter contentslines that follow a
paragraph of subsection entries?
Any help and suggestions appreciated,
Erik