如何在 baposter 中的标题下方添加一行

如何在 baposter 中的标题下方添加一行

我正在baposter准备我的海报。我试图把从属关系以下作者的名字 – 这是我的尝试:

\documentclass[landscape,paperwidth=48in,paperheight=96in,fontscale=0.285]{baposter} % Adjust the font scale/size here

\usepackage{graphicx} % Required for including images
\graphicspath{{figures/}} % Directory in which figures are stored

\definecolor{lightblue}{rgb}{0.145,0.6666,1} % Defines the color used for content box headers

\begin{document}

\begin{poster}
{
headerborder=closed, % Adds a border around the header of content boxes
colspacing=1em, % Column spacing
bgColorOne=white, % Background color for the gradient on the left side of the poster
bgColorTwo=white, % Background color for the gradient on the right side of the poster
borderColor=lightblue, % Border color
headerColorOne=black, % Background color for the header in the content boxes (left side)
headerColorTwo=lightblue, % Background color for the header in the content boxes (right side)
headerFontColor=white, % Text color for the header text in the content boxes
 boxColorOne=white, % Background color of the content boxes
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.1\textheight, % Height of the header
headershape=roundedright, % 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=2pt % Width of the border lines around content boxes
}
%---------------------------------------------------------------------
%   TITLE SECTION 
%--------------------------------------------------------------------
{\includegraphics[height=4em]{logo1}} % First university/lab logo on the left
{\bf\textsc{Title: \\ subtitle}\vspace{0.3em}} % Poster title
{\textsc{Name1$^{\ast,\S}$, Name2$^{\dagger}$, Name3$^{\ast}$ \& Name4$^{\ast,\S}$} \hspace{12pt} } %Authors
{\footnotesize\itshape $^{\ast}$University of Connecticut, $^{\S}$CT Institute for the Brain and Cognitive Sciences, $^{\dagger}$NYU Abu Dhabi} % <----------- Institution: how to put this below author's names?
{\includegraphics[height=6em]{logo2}} % Second university/lab logo on the right

编译结果不符合预期。你们知道该怎么做吗?谢谢!

答案1

标题部分的语法为:{left image} {Poster title} {Poster authors} {right image}。因此,需要指定四个项目,每个项目都包含在内{}。从属关系需要包含在内{Poster authors}。无法只插入新规范{affiliations},而这正是 MWE 尝试执行的操作。

因此,写作{authors \\ affiliations}可以完成这项工作。由于每个标题部分的内容都是一个节点,因此您可以按照自己希望的任何方式构建它们。例如,如果您有两个作者,每个作者都有不同的隶属关系,您可以这样写:

{ % Authors and affiliations
\begin{tabular}{ll}
author 1 & affiliation 1 \\
author 2 & affiliation 2
\end{tabular}
} % End of author and affiliations

这种方法需要更多的垂直空间,因此headerheight=0.1\textheight您可能需要使用 ,而不是headerheight=0.12\textheight

我在这里没有使用这种方法,只是保留了发布内容所指示的格式。只需要进行小幅更改。而不是:

{\textsc{Name1$^{\ast,\S}$, Name2$^{\dagger}$, Name3$^{\ast}$ \& Name4$^{\ast,\S}$} \hspace{12pt} } %Authors
{\footnotesize\itshape $^{\ast}$University of Connecticut, $^{\S}$CT Institute for the Brain and Cognitive Sciences, $^{\dagger}$NYU Abu Dhabi} % <----------- Institution: how to put this below author's names?

你需要:

{\textsc{Name1$^{\ast,\S}$, Name2$^{\dagger}$, Name3$^{\ast}$ \& Name4$^{\ast,\S}$} \hspace{12pt} } %Authors
{\footnotesize\itshape $^{\ast}$University of Connecticut, $^{\S}$CT Institute for the Brain and Cognitive Sciences, $^{\dagger}$NYU Abu Dhabi} % <----------- Institution: how to put this below author's names?

修正后的代码删除了}before%Authors{before \footnotesize

结果如下:

在此处输入图片描述

这是 MWE:

\documentclass[landscape,paperwidth=48in,paperheight=96in,fontscale=0.285]{baposter} % Adjust the font scale/size here

\usepackage{graphicx} % Required for including images
\graphicspath{{figures/}} % Directory in which figures are stored

\definecolor{lightblue}{rgb}{0.145,0.6666,1} % Defines the color used for content box headers

\begin{document}

\begin{poster}
{
headerborder=closed, % Adds a border around the header of content boxes
colspacing=1em, % Column spacing
bgColorOne=white, % Background color for the gradient on the left side of the poster
bgColorTwo=white, % Background color for the gradient on the right side of the poster
borderColor=lightblue, % Border color
headerColorOne=black, % Background color for the header in the content boxes (left side)
headerColorTwo=lightblue, % Background color for the header in the content boxes (right side)
headerFontColor=white, % Text color for the header text in the content boxes
 boxColorOne=white, % Background color of the content boxes
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.1\textheight, % Height of the header
headershape=roundedright, % Specify the rounded corner in the content box headers, can be: rectangle, small-rounded, roundedright, roundedleft or rounded
headerfont=\Large\bfseries\textsc, % Large, bold and sans serif font in the headers of content boxes
%textfont={\setlength{\parindent}{1.5em}}, % Uncomment for paragraph indentation
linewidth=2pt % Width of the border lines around content boxes
}
%---------------------------------------------------------------------
%   TITLE SECTION 
%--------------------------------------------------------------------
{\includegraphics[height=4em]{example-image-a}} % First university/lab logo on the left
%{\bf\textsc{Title: \\ subtitle}\vspace{0.3em}} % Poster title
{\bf\textsc{Title:}\vspace{0.3em}} % Poster title
%{}
{\textsc{Name1$^{\ast,\S}$, Name2$^{\dagger}$, Name3$^{\ast}$ \& Name4$^{\ast,\S}$} \hspace{12pt}  \\%Authors
\footnotesize\itshape $^{\ast}$University of Connecticut, $^{\S}$CT Institute for the Brain and Cognitive Sciences, $^{\dagger}$NYU Abu Dhabi} % <----------- Institution: how to put this below author's names?
{\includegraphics[height=4em]{example-image-a}} % Second university/lab logo on the right

\end{poster}
\end{document}

相关内容