Skip to content

Commit dedcf22

Browse files
committed
Update preamble.tex to fix paragraph formatting
- Change \p command from \paragraph{} to \par\noindent for better spacing - Adjust paragraph title formatting to apply bold only to title text - Maintain gray coloring for paragraph numbers These changes improve the visual separation and formatting of paragraphs in the generated PDF documents.
1 parent e797873 commit dedcf22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

preamble.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,14 @@
6262
\thesubsection.\Alph{subsubsection}\relax
6363
\fi}
6464

65-
\newcommand*{\p}{\paragraph{}}
65+
\newcommand*{\p}{\par\noindent}
6666

6767
\newlength\titleindent
6868
\setlength\titleindent{1.2cm}
6969

7070
\definecolor{mygray}{gray}{0.55}
7171
\titleformat{\paragraph}[runin]
72-
{\normalfont\normalsize\bfseries}{\llap{\parbox{\titleindent}{\textcolor{mygray}{\theparagraph}\hfill}}}{0em}{}
72+
{\normalfont\normalsize}{\llap{\parbox{\titleindent}{\normalfont\textcolor{mygray}{\theparagraph}\hfill}}}{0em}{\bfseries}
7373

7474
\titlespacing{\paragraph}{0pt}{0.5em}{0.5em}
7575

0 commit comments

Comments
 (0)