Document Classes ⇒ problem of the subsection style
problem of the subsection style
\def\subsection{%
\@startsection{subsection} % name of section and also name of
% the counter.
{2} % level, level 0 is chapter
% (for report.sty)
{0 pt} % Indentation from left margin.
% It can be negative -$>$ moved into
% the left margin.
{2 pt plus 3 pt minus 4 pt}
% Skip before heading is printed.
% see expl. above for neg. val.
{5 pt plus 1 pt minus 2 pt}
% After heading skip. If negative
% The text will be printed next
% to the heading text leaving
% the space (absolute value)
% indicated. Don't use
% zero as it will be printed on
% the same line without any space
% If negative remove stretch.
{\normalsize\bfseries}}
% \end{macrocode}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
problem of the subsection style
Re: problem of the subsection style
\subsection{A Subsection}
Some chapters have subsections too! Cool!
This is a subsection to show the margin. This is a subsection to show the margin. This is a subsection to show the margin. This is a subsection to show the margin. This is a subsection to show the margin. This is a subsection to show the margin. This is a subsection to show the margin.
\subsection{This is a veryveryveryveryvery longlonglonglonglonglonglonglong subsections that error happens!}
This is a subsection to show the margin. This is a subsection to show the margin. This is a subsection to show the margin. This is a subsection to show the margin. This is a subsection to show the margin. This is a subsection to show the margin. This is a subsection to show the margin.
It seems that the when I use the subsection commend, the line-break cannot be finished by Latex and some sentences exceed to the right margin.
- Attachments
-
- The subsection line-break error
- subsection error.jpg (42.72 KiB) Viewed 5152 times