mirror of
https://github.com/ElegantLaTeX/ElegantBook.git
synced 2026-01-26 12:24:36 +08:00
remove the negative space before section/subsection
This commit is contained in:
@@ -367,13 +367,13 @@
|
|||||||
{\filcenter\LARGE\enspace\bfseries{\color{structurecolor}\IfAppendix{\appendixname}{\chaptername}\enspace}}{1pt}{\bfseries\color{structurecolor}\LARGE\filcenter}[\ifdefstring{\ELEGANT@base}{hide}{}{\filcenter\base{structurecolor}{88}}]
|
{\filcenter\LARGE\enspace\bfseries{\color{structurecolor}\IfAppendix{\appendixname}{\chaptername}\enspace}}{1pt}{\bfseries\color{structurecolor}\LARGE\filcenter}[\ifdefstring{\ELEGANT@base}{hide}{}{\filcenter\base{structurecolor}{88}}]
|
||||||
|
|
||||||
\titleformat{\section}[hang]{\bfseries}
|
\titleformat{\section}[hang]{\bfseries}
|
||||||
{\hspace{-2.45em}\Large\bfseries{\color{structurecolor}\thesection}\enspace}{1pt}{\color{structurecolor}\Large\bfseries\filright}
|
{\Large\bfseries{\color{structurecolor}\thesection}\enspace}{1pt}{\color{structurecolor}\Large\bfseries\filright}
|
||||||
|
|
||||||
\titleformat{\subsection}[hang]{\bfseries}
|
\titleformat{\subsection}[hang]{\bfseries}
|
||||||
{\hspace{-2.45em}\large\bfseries\color{structurecolor}\thesubsection\enspace}{1pt}{\color{structurecolor}\large\bfseries\filright}
|
{\large\bfseries\color{structurecolor}\thesubsection\enspace}{1pt}{\color{structurecolor}\large\bfseries\filright}
|
||||||
|
|
||||||
\titleformat{\subsubsection}[hang]{\bfseries}
|
\titleformat{\subsubsection}[hang]{\bfseries}
|
||||||
{\hspace{-2.45em}\large\bfseries\color{structurecolor}\thesubsubsection\enspace}{1pt}{\color{structurecolor}\large\bfseries\filright}
|
{\large\bfseries\color{structurecolor}\thesubsubsection\enspace}{1pt}{\color{structurecolor}\large\bfseries\filright}
|
||||||
|
|
||||||
|
|
||||||
\titlespacing{\chapter}{0pt}{-20pt}{1.3\baselineskip}
|
\titlespacing{\chapter}{0pt}{-20pt}{1.3\baselineskip}
|
||||||
|
|||||||
Reference in New Issue
Block a user