我正在使用以下代码设计封面
\documentclass[letterpaper, parskip]{scrbook}
\usepackage{tikz}
\usetikzlibrary{calc,shadows}
\usepackage{lmodern}
\begin{document}
\thispagestyle{empty}
\begin{tikzpicture}
[ overlay,
remember picture,
mynode/.style={left,fill=yellow!10,general shadow={shadow scale=1, shadow xshift=-0.8ex, shadow yshift=-0.8ex,
opacity=1, fill=gray!50}},
]
\fill[red!30!gray] (current page.south west) rectangle (current page.north east);
\node[mynode] at ($(current page.north east)+(-2,-4)$) {\fontsize{25}{30}\selectfont \textbf{Probability, Mathematical Statistics, and Stochastic Processes}};
\node[above right] at ($(current page.south west)+(3.5,5)$) {\includegraphics[scale=1]{cover_files/figure-latex/unnamed-chunk-1-1.pdf}};
\node[mynode] at ($(current page.north east)+(-0.8, -27)$) {\fontsize{15}{18}\selectfont converted from \texttt{www.randomservices.org} to PDF by Lê Anh Dũng};
\end{tikzpicture}
\clearpage
\end{document}
因为标题是Probability, Mathematical Statistics, Stochastic Processes
,对于第一个节点来说太长了。我有一个问题
您能帮我将第一个节点延伸到第二行吗?非常感谢您的帮助!
答案1
text width=7cm
您可以通过向节点命令添加选项来修复节点内的文本宽度。