Hi,
Does anyone know if you can make the image?
I have tried to do with tikz.
Anyone can help me?
Text Formatting ⇒ Title Chapter in box
Title Chapter in box
- Attachments
-
- ejemplo.png (3.97 KiB) Viewed 2018 times
NEW: TikZ book now 40% off at Amazon.com for a short time.

Title Chapter in box
Hi,
you can use the titlesec package. If I have time, I can post a complete example in a few hours.
Edit: I had some free time, so here's the example:
Feel free to adapt my example according to your needs.
you can use the titlesec package. If I have time, I can post a complete example in a few hours.
Edit: I had some free time, so here's the example:
Code: Select all
\documentclass{book}
\usepackage[spanish]{babel}
\usepackage[explicit]{titlesec}
\usepackage[svgnames]{xcolor}
\titleformat{\chapter}[block]
{\color{white}\normalfont\huge\sffamily}
{\colorbox{DodgerBlue}{\parbox[c][2.3\height][c]{\textwidth}{%
\centering\chaptertitlename\ \thechapter.\ #1}}}
{0pt}{\huge}
\titlespacing*{\chapter}
{0pt}{20pt}{20pt}
\begin{document}
\chapter{Nombre del cap\'itulo}
\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Re: Title Chapter in box
Hi,
It's work.
Thank you.
It's work.
Thank you.