
Tentei criar uma caixa transparente com texto. Então, criei uma nova caixa de cores chamada mybox.
\usepackage[many]{tcolorbox}
\usepackage{lmodern} % just to avoid font size warnings
\newtcolorbox{mybox}[1][]{
width=20cm,
arc=3mm,
% auto outer arc,
boxsep=0cm,
coltext = white,
colback = black,
toprule=0pt,
leftrule=0pt,
bottomrule=0pt,
rightrule=0pt,
colframe=black,
fontupper=\centering\fontsize{26pt}{26pt}\itshape,
breakable,
nobeforeafter,
enhanced jigsaw,
opacityframe=0.8,
opacityback=0.8
}
Então tentei inserir o texto conforme mencionado abaixo. Mas estou recebendo um erro dizendo \begin doesn't match its definition
. Não consegui descobrir o porquê. Alguém pode descobrir o motivo disso? Nota: Apesar desse erro, a caixa é criada, mas não consigo deixar o texto em negrito.
\title{
\begin{mybox}[]
\textbf{Voltage Regulation on a High PV penetrated Distributed System using Electric Vehicles}
\end{mybox}
}