I would like to create the following heading using LaTeX:

enter image description here

May anyone please advise on the code to do so? In particular, I would like to capture

  1. The color
  2. The border
  3. The shadow

Thank you!


I put the command to a chapter heading for demonstration. The code that formats the text is the tikzpicture environment. It can be moved elsewhere easily.

The place to change the text and the color are indicated in the code.

enter image description here




      %                V---------------------------V <- Text goes here
      \node at ( 0.04,-0.04) {\contour{black!25!white}{\color{white}\Huge \textoftitle}};
      \node at ( 0.03,-0.03) {\contour{black!50!white}{\color{white}\Huge \textoftitle}};
      \node at ( 0.02,-0.02) {\contour{black!75!white}{\color{white}\Huge \textoftitle}};
      \node at ( 0.01,-0.01) {\contour{black}{\color{white}\Huge \textoftitle}};
      %                                       VV Amount of yellow mixed with black (70% yellow + 30% black)
      \node at ( 0.00, 0.00) {\contour{yellow!70!black}{\color{white}\Huge \textoftitle}};

  • Fantastic. This is great; thank you. A couple of questions: (1) How do I change the text?; (2) How may I alternate the level of color; i.e a darker yellow. Cheers mate. – Gustavo Louis G. Montańo Feb 8 '18 at 21:31
  • @GustavoLouisG.Montańo I updated my post to answer your questions. – Phelype Oleinik Feb 8 '18 at 22:04
  • 1
    Brilliant! Thank you @Phelype Oleinik for your time and help. – Gustavo Louis G. Montańo Feb 9 '18 at 0:24

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.