Tag Info

New answers tagged

7

Using titlesec: \documentclass{article} \usepackage{titlesec} \titleformat{\paragraph} {\normalfont\normalsize\bfseries}{\theparagraph}{1em}{} \titlespacing*{\paragraph} {0pt}{3.25ex plus 1ex minus .2ex}{1.5ex plus .2ex} \begin{document} \section{A test section} text \subsection{A test subsection} text \subsubsection{A test subsubsection} text ...


4

The spacing you are getting is due to the way you have specified the fontsize: the \fontsize arguments are the actual fontsize and the leading which is (roughly) the height of a line. (See What exactly is leading? for extensive discussion.) You've made this 36 pt in your sectioning commands, which means each line is approximately 3 times the character ...


1

I spent the better part of the time between posting the question and now by reading up on TeX, boxes and modes. This newly gained knowledge makes it easy to spot, that the problem I described above is nothing but the normal and intended behaviour of wrapfigure. The key lines are: \ProvidesPackage{wrapfig}[2003/01/31 \space v 3.6] and therein: 160 ...


2

Change the definition of \paragraph so that it is like \subsubsection and not an inline title. \documentclass[11pt,a4paper]{article} \makeatletter \renewcommand\paragraph{% \@startsection{paragraph}{4}{\z@}% {-3.25ex \@plus-1ex \@minus-.2ex}% the same spacing above, but negative {1sp}% no space after the title ...


1

In scrbook/scrreport, the skip before/at the end of a chapter is given by \renewcommand*{\chapterheadstartvskip}{% \vspace*{2.3\baselineskip}% }% \renewcommand*{\chapterheadendvskip}{% \vspace{1.725\baselineskip \@plus .115\baselineskip \@minus .192\baselineskip}% }% Adjust them to your liking. In terms of \sections, the KOMA-script bundle still ...


3

It's actually quite easy (although I don't like it). The amsart class uses the standard \@startsection command, so it's just copying the relevant code from amsart.cls and adding \large where necessary. Oh, and \Large is really too much. I changed also \specialsection and \contentsnamefont for uniformity. \documentclass{amsart} \usepackage{blindtext} ...


2

Obviously, amsart has no support for \section[]{}, so it is not really necessary to define that, but for later uses perhaps;-) It is not a good idea to add something like `\section{\Large My sophisticated Title}, since this leads to a large text entry on the TOC, which looks awkward. In my opinion, both section title and the number should be scaled if ...


6

\paragraph is numbered or not just as \section is. In article section is heading level 1 and paragraph is heading level 4. Headings are numbered down to secnumdepthwhich has an initial value of 3. If you use \setcounter{secnumdepth}{4} paragraph level headings will be numbered, conversely if you use \setcounter{secnumdepth}{0} the sections won't be ...


5

This can be done with titlesec, as one of the tags in the question suggests, but I wouldn't recommend this due to some know incompatibilities; see About memoir and titlesec incompatibility, for example. Here's one possibility using memoir's methods only: \documentclass{memoir} \usepackage{ulem} \usepackage{lipsum} ...


1

\documentclass{article} \begin{document} If only parindent is positive: \def\zhiva#1{\noindent\textbf{#1}\par} \zhiva{Title1} My paragraph. \zhiva{Title1} My paragraph. \end{document} I can see, that in a dual answer there is an opposite vision of indenting and non-indenting.


2

This, or some variant, may solve your problem. It's not clear what you want when the text wraps to a new line. \documentclass{article} \usepackage{lipsum} \setlength{\parindent}{0cm} \newcommand{\mytitle}[1]{% \addvspace{0.2cm}% perhaps, as Barbara Beeton suggests \textbf{#1} \par \hspace{0.5cm} } \begin{document} \mytitle{Title} \lipsum[15] ...



Top 50 recent answers are included