2

I would like to recreate the following chapter style in LaTeX, where the '1' here is the chapter number. How do I go about doing this? I would've provided a base code but I have absolutely no idea how to start. enter image description here

3
4

Here is a short code with titlesec and tcolorbox:

\documentclass[12pt, a4paper]{book}% http://ctan.org/pkg/amsproc

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}

\usepackage[svgnames]{xcolor}
\usepackage{tcolorbox}

\colorlet{headingcolor}{SkyBlue!60!SteelBlue}
\usepackage{titlesec}%

\titleformat{\chapter}[display]
{\filright\sffamily}
{\tcbset{height=13pt}\mbox{\tcbox[colframe=headingcolor,colback=headingcolor] {\hspace*{16mm}}\enspace \LARGE\textsf{\thechapter}}\\{\color{headingcolor}\titlerule[2pt]}}
{-1ex}
{\huge}%

\usepackage{lipsum}

\begin{document}

 \chapter{CHAPTER TITLE}

\lipsum[11]

\end{document} 

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.