help please just manage to move the section number with rlap but the numbering and the section overlap
Code: Select all
Code, edit and compile here:
\makeatletter\renewcommand{\@seccntformat}[1]{\llap{\textcolor{ocre}{\csname the#1\endcsname}\hspace{1em}}} %mueve horizontalmente la numeracion\renewcommand{\section}{\@startsection{section}{1}{\z@}{-4ex \@plus -1ex \@minus -.4ex}{1ex \@plus.2ex }{\normalfont\large\sffamily\bfseries\textcolor{ocre}}}\renewcommand{\subsection}{\@startsection {subsection}{2}{\z@}{-3ex \@plus -0.1ex \@minus -.4ex}{0.5ex \@plus.2ex }{\normalfont\sffamily\bfseries\textcolor{ocre}}}\renewcommand{\subsubsection}{\@startsection {subsubsection}{3}{\z@}{-2ex \@plus -0.1ex \@minus -.2ex}{.2ex \@plus.2ex }{\normalfont\small\sffamily\bfseries}}\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}{-2ex \@plus-.2ex \@minus .2ex}{.1ex}{\normalfont\small\sffamily\bfseries\textcolor{ocre}}}