1

Is it possible to make the ‘tip box’ in the photograph below using the tcolorbox package (or any other way for that matter)?enter image description here My abilities in tcolorbox are severely lacking, so any help is greatly appreciated.

Thank you in advance for any assistance.

4

Here is how we can do it with a tcolorbox:

\documentclass{article}
\usepackage[skins]{tcolorbox}

\usepackage{lipsum}

\newtcolorbox{mytcolorbox}[1]{
   enhanced,
   colback=white,
   colframe=gray,
   coltitle=black,
   fonttitle=\bfseries\LARGE,
   detach title,
   boxrule=2pt,
   leftrule=0pt,
   top=1mm,
  attach title to upper={\par},
   sharp corners,
   borderline west={5pt}{0pt}{red!70!blue},
   title=#1
}

\begin{document}
\begin{mytcolorbox}{Tip Box Title}
 \lipsum[1-2]
\end{mytcolorbox}
\end{document}

enter image description here

  • 1
    Can you change the border color as in the posted image? – Sigur Feb 23 '19 at 18:51
  • 1
    @Sigur Is the border color correct ? – Hafid Boukhoulda Feb 23 '19 at 19:22
  • 2
    I think is good. Congs. – Sigur Feb 23 '19 at 19:23
  • 2
    @HafidBoukhoulda Perfect, thank you very much! – Tomsk Feb 23 '19 at 19:23

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