带有 baposter 的图形

带有 baposter 的图形

我正在尝试将一些情节纳入我的海报中。我希望情节背景与海报框的颜色相同,面板背景为白色。因此我在 R 中创建了情节,但颜色略有不同(在 latex 中为 cmyk 0、0、0.3、0;在 R 中为 rgb 255、255、179)。

在此处输入图片描述

此外,情节周围的边界令我烦恼。

有没有什么简单的方法可以解决这个问题或者如何创建透明图形来避免这个问题?

我的代码

\documentclass[landscape, a0paper, fontscale=0.285]{baposter}

\definecolor{silver}{cmyk}{0,0,0,0.3}
\definecolor{yellow}{cmyk}{0,0,0.9,0.0}
\definecolor{reddishyellow}{cmyk}{0,0.22,1.0,0.0}
\definecolor{black}{cmyk}{0,0,0.0,1.0}
\definecolor{darkYellow}{cmyk}{0,0,1.0,0.5}
\definecolor{darkSilver}{cmyk}{0,0,0,0.1}

\definecolor{lightyellow}{cmyk}{0,0,0.3,0.0}
\definecolor{lighteryellow}{cmyk}{0,0,0.1,0.0}
\definecolor{lighteryellow}{cmyk}{0,0,0.1,0.0}
\definecolor{lightestyellow}{cmyk}{0,0,0.05,0.0}

\usepackage{lipsum}

\begin{document}
\begin{poster}{
headerborder=closed, % Adds a border around the header of content boxes
colspacing=0.5em, % Column spacing
bgColorOne=lighteryellow, % Background color for the gradient on the left side of the poster
bgColorTwo=lightestyellow, % Background color for the gradient on the right side of the poster
borderColor=reddishyellow, % Border color
headerColorOne=yellow, % Background color for the header in the content boxes (left side)
headerColorTwo=reddishyellow, % Background color for the header in the content boxes (right side)
headerFontColor=black, % Text color for the header text in the content boxes
boxColorOne=lightyellow, % Background color of the content boxes
boxColorTwo=lighteryellow,
textborder=roundedleft, % Format of the border around content boxes, can be: none, bars, coils, triangles, rectangle, rounded, roundedsmall, roundedright or faded
eyecatcher=true, % Set to false for ignoring the left logo in the title and move the title left
headerheight=0.2\textheight, % Height of the header
headershape=rectangle, % Specify the rounded corner in the content box headers, can be: rectangle, small-rounded, roundedright, roundedleft or rounded
headerfont=\Large\bf\textsc, % Large, bold and sans serif font in the headers of content boxes
%textfont={\setlength{\parindent}{1.5em}}, % Uncomment for paragraph indentation
linewidth=1.5pt % Width of the border lines around content boxes
}
{}
{Joe's research}
{Joe Doe \\ 
University of Nowhere\\}
{}

\headerbox{Introduction}{name=introduction,column=0,row=0}{
\lipsum[2]

\includegraphics[scale = 0.5]{plotA.png}

\vspace{0.3em} % When there are two boxes, some whitespace may need to be added if the one on the right has more content
}


\end{poster}
\end{document}

相关内容