Skip to content

Commit

Permalink
Removed automatic indent and applied it to specific command
Browse files Browse the repository at this point in the history
  • Loading branch information
ElBi21 committed Oct 19, 2024
1 parent a3cffe1 commit f4321d4
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions notex.cls
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
%\ProcessOptions\relax % Process the options

% --- Load class ---
\LoadClass[10pt, letterpaper]{report} % Loads the report class, which allows for the \chapter command
\LoadClass[12pt, letterpaper]{report} % Loads the report class, which allows for the \chapter command

% --- Packages Section ---
\RequirePackage[dvipsnames]{xcolor} % Package for colors
Expand Down Expand Up @@ -105,9 +105,14 @@

\renewcommand*\ttdefault{lmtt}

% Remove indent from beginning of lines
\newlength\tindent
\setlength{\tindent}{\parindent}
\setlength{\parindent}{0pt}
\renewcommand{\indent}{\hspace*{\tindent}}
\newcommand{\nl}{

\medskip
\vspace{12pt}

}

Expand All @@ -133,7 +138,7 @@
boxed title style = {
colback=definitionTitleBG!65!white!80,
rounded corners=all,
arc=2.5mm,
arc=8pt,
},
colback=definitionBG!30,
colframe=definitionBG!90,
Expand Down Expand Up @@ -163,7 +168,7 @@
boxed title style = {
colback=theoremTitleBG!65!white!80,
rounded corners=all,
arc=2.5mm,
arc=8pt,
},
colback=theoremBG!30,
colframe=theoremBG!90,
Expand Down Expand Up @@ -195,7 +200,7 @@
boxed title style = {
colback=lemmaTitleBG!65!white!80,
rounded corners=all,
arc=2.5mm,
arc=8pt,
},
colback=lemmaBG!30,
colframe=lemmaBG!90,
Expand Down Expand Up @@ -225,7 +230,7 @@
boxed title style = {
colback=corollaryTitleBG!65!white!80,
rounded corners=all,
arc=2.5mm,
arc=8pt,
},
colback=corollaryBG!30,
colframe=corollaryBG!90,
Expand Down Expand Up @@ -275,7 +280,8 @@
boxed title style = {
colback=exerciseTitleBG!65!white!80,
rounded corners=all,
arc=2.5mm,
arc=8pt,
leftrule=1mm,
},
enhanced,
colback=exerciseBG!30,
Expand Down Expand Up @@ -306,7 +312,7 @@
boxed title style = {
colback=exampleTitleBG!65!white!80,
rounded corners=all,
arc=2.5mm,
arc=8pt,
leftrule=1mm,
},
enhanced,
Expand Down

0 comments on commit f4321d4

Please sign in to comment.