Texmaker and TeXstudiochange recurcively the title levels

Information and discussion about Texmaker, an integrated LaTeX environment for several platforms, and the related TeXstudio
Post Reply
KoalaCorse
Posts: 1
Joined: Fri Mar 20, 2015 12:45 pm

change recurcively the title levels

Post by KoalaCorse »

Hy,

I want to lower or upper the levels of the included part. For example :
\section has to become \subsection
\subsection ... \subsection
...
\subsubsection ... \paragraph

How could I do it automaticaly, without using search and replace ?

Thanks

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10323
Joined: Mon Mar 10, 2008 9:44 pm

change recurcively the title levels

Post by Stefan Kottwitz »

Welcome to the forum!

You could do it by

Code: Select all

\let\section\subsection
\let\subsection\subsubsection
\let\subsubsection\paragraph
However, I would recommend to use search & replace once, instead of using such hacks.

Stefan
LaTeX.org admin
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

change recurcively the title levels

Post by Johannes_B »

Hi and welcome,

package coseoul can handle this as well, as far as i remember.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply