在作者单位下方和摘要上方放置一张两栏图片

在作者单位下方和摘要上方放置一张两栏图片

我一直在搜索类似的问题,但没有一个对我有用。基本上,我正在写一篇两栏会议论文,其中有现有的模板,我想要的很简单,就是将一张图片横跨两列,放在作者所属机构的正下方和摘要的上方,我尝试过应用,figure*但无论我放置代码片段,图片都会被推到第二页。这是我目前得到的结果:

\documentclass{sigchi}
\pagenumbering{arabic}


% Load basic packages
\usepackage{balance}  % to better equalize the last page
\usepackage{graphics} % for EPS, load graphicx instead
\usepackage{times}    % comment if you want LaTeX's default font
\usepackage{url}      % llt: nicely formatted URLs

% llt: Define a global style for URLs, rather that the default one
\makeatletter
\def\url@leostyle{%
   \@ifundefined{selectfont}{\def\UrlFont{\sf}}{\def\UrlFont{\small\bf\ttfamily}}}
\makeatother
\urlstyle{leo}


% To make various LaTeX processors do the right thing with page size.
\def\pprw{8.5in}
\def\pprh{11in}
\special{papersize=\pprw,\pprh}
\setlength{\paperwidth}{\pprw}
\setlength{\paperheight}{\pprh}
\setlength{\pdfpagewidth}{\pprw}
\setlength{\pdfpageheight}{\pprh}

\usepackage[pdftex]{hyperref}
\hypersetup{
pdftitle={SIGCHI Conference Proceedings Format},
pdfauthor={LaTeX},
pdfkeywords={SIGCHI, proceedings, archival format},
bookmarksnumbered,
pdfstartview={FitH},
colorlinks,
citecolor=black,
filecolor=black,
linkcolor=black,
urlcolor=black,
breaklinks=true,
}

% create a shortcut to typeset table headings
\newcommand\tabhead[1]{\small\textbf{#1}}


% End of preamble. Here it comes the document.
\begin{document}

\title{SIGCHI Conference Proceedings Format}

\numberofauthors{3}
\author{
  \alignauthor 1st Author Name\\
    \affaddr{Affiliation}\\
    \affaddr{Address}\\
    \email{e-mail address}\\
    \affaddr{Optional phone number}
  \alignauthor 2nd Author Name\\
    \affaddr{Affiliation}\\
    \affaddr{Address}\\
    \email{e-mail address}\\
    \affaddr{Optional phone number}    
}

\maketitle

\begin{figure*}[tp]

\includegraphics[width=1.5\columnwidth]{1}

\caption{With Caption Below, be sure to have a good resolution image
  (see item D within the preparation instructions).}
\label{fig:figure1}
\end{figure*}



\begin{abstract}
In this paper we describe the formatting requirements for
SIGCHI Conference Proceedings, and this sample file
offers recommendations on writing for the worldwide
SIGCHI readership. Please review this document even if
you have submitted to SIGCHI conferences before, some
format details have changed relative to previous years.
\end{abstract}





\end{document}

有人能帮忙吗?非常感谢!!

答案1

这是双列文档的默认行为figure*。您必须避免这种情况。

任何地方调用\maketitle,添加以下内容(替换example-image为您的图像,包括\includegraphics参数):

\makeatletter
\let\@oldmaketitle\@maketitle% Store \@maketitle
\renewcommand{\@maketitle}{\@oldmaketitle% Update \@maketitle to insert...
  \includegraphics[width=\linewidth,height=4\baselineskip]
    {example-image}\bigskip}% ... an image
\makeatother

上面的代码将图像作为\@maketitle(末尾)的一部分插入,该图像在\twocolumn模式中设置为标题的一部分。使用 documentclasssigchi.cls,它会显示以下输出:

在此处输入图片描述

答案2

一个例子:

\documentclass[10pt,twocolumn,letterpaper]{article}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{lipsum}

\begin{document}

\title{\LaTeX Title}

\author{First Author\\
Institution1\\
Institution1 address\\
{\tt\small [email protected]}
}

\twocolumn[{
\maketitle
\begin{center}
    \captionsetup{type=figure}
    \includegraphics[width=.5\textwidth]{example-image}
    \captionof{figure}{Test caption}
\end{center}
}]

\begin{abstract}
    \lipsum[1] % Replace with your real text
\end{abstract}

\end{document}

相关内容