答案1
这非常简单titlesec
:
\documentclass{article}
\usepackage{titlesec}
\usepackage[svgnames]{xcolor}
\usepackage{blindtext}
\titleformat{\section}[block]%
{\LARGE\bfseries\sffamily\color{LightSkyBlue}}%
{\llap{\makebox[2em][l]{\thesection}}}%
{0pt}% <---- what do I need here???
{}
\begin{document}
\section{Here is my section title}
\blindtext
\end{document}