3

I honestly do not know where to begin.

Is it possible, instead of using a single color for the colbacktitle to input a gradient?

1
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.
    – Community Bot
    Oct 14 at 0:35
7

The cover of tcolorbox documentation shows an example and the code is just on second page:

\documentclass{standalone}
\usepackage[most]{tcolorbox}
\begin{document}
\begin{tcolorbox}[enhanced,
    title style={left color=red, right color=green}, title=This is the title]
    Some text
\end{tcolorbox}
\end{document}

enter image description here

2
  • 2
    Nice suggestion, +1 just for my clarification, is this possible to give Gradient by using Pantone (spot) colors? Please advise...
    – MadyYuvi
    Oct 14 at 6:41
  • 1
    @MadyYuvi I've never used pantone colors with LaTeX but I've seen several questions here talking about it. I'm sorry but I don't understand the questions nor the answers so I cannot help you.
    – Ignasi
    Oct 14 at 7:56

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.