这些是在海报模板中构建框的语法:
\headerbox{Results}{name=model, span=3,column=0, below=SNP}{ \large \sf
% The result section is split up in two pieces
% PART 1 (left)
\begin{minipage}{0.49\linewidth}
% add a description
\begin{description}
% Set condensed list
\compresslist
% set font size
\large
\item[{\color{BL} criterion A}] text ...\\
\end{description}
% align left
\begin{flushleft}
{
\footnotesize
\begin{tabular}{llcc}
\hline
criterion& method & distribution $p$ & type I (w.r.t. $\alpha$) \\
\hline
A & ++ & uniform & nominal\\
B & ++ & uniform & more conservative \\
C & -- & uniform & nominal \\
D & -- & uniform & slightly more liberal \\
\hline
\end{tabular}
}
\vspace{2cm}\\
%include figure
\includegraphics[width=0.9\linewidth, page=3]{f4.pdf}
\end{flushleft}
\begin{description}
\item[{\color{BL} criterion B}] ...
\end{description}
\vfill
\end{minipage}
% PART 2 (right)
\begin{minipage}{0.49\linewidth}
\begin{description}
% Set condensed list
\compresslist
% set font size
\large
\item[{\color{BL} Criterion C }] ...
\item[{\color{BL} Criterion D }] ...
\end{description}
\begin{flushleft}
{
\footnotesize
\begin{tabular}{llcc}
\hline
measure & parameter & $t$ value & $p$ value \\
\hline
1 & $\beta_0$ & $1.28$ & $<0.01$ \\
2 & $\beta_0$ & $1.28$ & $<0.01$ \\
3 & $\beta_0$ & $1.28$ & $<0.01$ \\
4 & $\beta_0$ & $1.28$ & $<0.01$ \\
5 & $\beta_0$ & $1.28$ & $<0.01$ \\
\hline
\end{tabular}
}
\vspace{2cm} \\
%include figure
\includegraphics[width=0.9\linewidth, page=3]{f4.pdf}
\end{flushleft}
\vfill
\end{minipage}
}
所以我需要删除构造表格的语法,然后我删除这部分:
\begin{flushleft}
{
\footnotesize
\begin{tabular}{llcc}
\hline
criterion& method & distribution $p$ & type I (w.r.t. $\alpha$) \\
\hline
A & ++ & uniform & nominal\\
B & ++ & uniform & more conservative \\
C & -- & uniform & nominal \\
D & -- & uniform & slightly more liberal \\
\hline
\end{tabular}
}
\vspace{2cm}\\
%include figure
\includegraphics[width=0.9\linewidth, page=3]{f4.pdf}
\end{flushleft}
\begin{description}
\item[{\color{BL} criterion B}] ...
\end{description}
\vfill
我的问题是:发生的错误是No line here to end
。我发现问题不是因为我没有完全删除这段代码。我尝试了一些在线找到的解决方案,例如,添加\leavevmode \\
。我也检查了当前网站上的解决方案,但它们不起作用。有人能提供其他解决方案吗?谢谢。