我想放置一个与列大小相同的图形,以便文本在图像标题之后开始,但我无法做到这一点(文本与下一列图 1 重叠)。
现在我正在使用 multicol 包,我试图切换到 twocolumn,但我无法做到这一点,因为我需要在纸张的右上角放置一张图片(以黑色表示)并在底部放置一些信息,如图 1 所示。
以下是我迄今为止尝试的代码:
\documentclass[12pt]{article}
\usepackage{graphicx}
\usepackage{blindtext}
\usepackage[english]{babel}
\usepackage[margin=1.5cm]{geometry}
\usepackage{multicol}
\usepackage{wrapfig}
\usepackage{xcolor}
\definecolor{acsyellow}{RGB}{255,241,204}
\usepackage{framed}
\colorlet{shadecolor}{gray!25}
\usepackage{tikzpagenodes} %Used for including image on top right corner
\usepackage{epsfig}
\renewcommand{\familydefault}{\sfdefault}
\makeatletter
\renewcommand{\maketitle}{\bgroup\setlength{\parindent}{0pt}
\begin{flushleft}
\textbf{\Large \@title}
\@author
\end{flushleft}\egroup
}
\makeatother
\renewenvironment{abstract}
{
\vfill%
\list{}{
\setlength{\leftmargin}{.3cm}%
\setlength{\rightmargin}{\leftmargin}%
\vfill%
}%
\item\relax}
{\endlist}
\setlength{\parindent}{0mm}
\title{Hammett linear free energy relationship \vspace{0.3cm}}
\author{ \large Name Surname textsuperscript{[a]}}
\date{}
\newcommand{\affiliation}{
\begin{itemize}
% Please delete lines not applicapble
\item[{[a]}] info, Info info\\
Info\\
E-mail: Info\\
Info
\end{itemize}
}
\begin{document}
\maketitle
\begin{tikzpicture}[remember picture,overlay]
\node[anchor=east,inner sep=0pt] at (current page text area.east|-0,2cm) {\includegraphics[height=2.5cm]{images/logo.png}};
\end{tikzpicture}
\vspace{-1.0cm}
\begin{figure} [!b]
\begin{minipage}[t]{\columnwidth}{\rule{\columnwidth}{1pt}\footnotesize{\textsf{\affiliation}}}\end{minipage}
\end{figure}
\begin{shaded}
\begin{abstract}
\textbf{Abstract}. \blindtext[2]
\end{abstract}
\end{shaded}
\section*{Some dummy text}
\begin{multicols}{2}
\begin{wrapfigure}{h}{\linewidth}
\includegraphics[width=\linewidth]{images/reaction.eps}
\caption{Hello!}
\end{wrapfigure}
\blindtext[2]
\end{multicols}
\bibliographystyle{unsrt}
\bibliography{citazioni}
\end{document}