LaTeX forum ⇒ Text FormattingAdjust title indentationfor long title

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
diagram
Posts: 1
Joined: Tue Jan 12, 2021 9:30 pm

Adjust title indentationfor long title

Postby diagram » Tue Jan 12, 2021 9:39 pm

I want to adjust title margins for two lines length titles. For example, is like below. How can I adjust? Thank you for your understanding I don't know how can I explain my problem.

Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
  1. \titleformat{\chapter}{\normalfont\normalsize\bfseries}{\thechapter.}{1em}{}
  2. \titleformat{\section}{\normalfont\normalsize\bfseries}{\thesection.}{1em}{}
  3. \titleformat{\subsection}{\normalfont\normalsize\bfseries}{\thesubsection.}{1em}{}
  4. \titleformat{\subsubsection}{\normalfont\normalsize\bfseries}{\thesubsubsection.}{1em}{}
  5. \titlelabel{\thetitle.\quad}


I'm using titlesec,


Image


Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
  1. \subsection{Outage probability for cooperative transmission using DF method under co-channel interference effect}

Bartman
Posts: 150
Joined: Fri Jan 03, 2020 2:39 pm

Postby Bartman » Wed Jan 13, 2021 10:52 am

Without a Infominimal working example we don't know which document class you are using. There are document classes that have their own tools for such settings and whose cooperation with titlesec is therefore not recommended as it can lead to problems. So if you work with a standard class, you can find a suitable shape in section 3.1. "Format" of the package documentation.


Return to “Text Formatting”

Who is online

Users browsing this forum: No registered users and 4 guests