我正在写一篇研究提案,我选择了这个模板在 overleaf 中有 2 列。现在的问题是我想在最后包含 2 个人的简短传记,而不使用文本换行,\begin{IEEEbiography} \end{IEEEbiography}
因为它会弄乱设计的模板。实际上,在这个模板中,他们没有使用\documentclass{ieeeaccess}
没有cls
文件。考虑到我检查了相关帖子1,帖子2,到目前为止,我尝试了以下两种方法,但均未成功\usepackage{wrapfig} \usepackage{lipsum}
:
\documentclass[%
reprint,
%superscriptaddress,
%groupedaddress,
%unsortedaddress,
%runinaddress,
%frontmatterverbose,
%preprint,
%preprintnumbers,
%nofootinbib,
%nobibnotes,
%bibnotes,
amsmath,amssymb,
aps,
%pra,
%prb,
%rmp,
%prstab,
%prstper,
%floatfix,
]{revtex4-2}
\usepackage{graphicx}% Include figure files
\usepackage{dcolumn}% Align table columns on decimal point
\usepackage{bm}% bold math
\usepackage{hyperref}% enables hyperlinks in the PDF
\usepackage{wrapfig}
\usepackage{lipsum}
\begin{document}
\section{Introduction \& Background}
\section{References}
\bibliography{bibfile}% Produces the bibliography via BibTeX.
%Method 1
\lipsum[1]
\begin{wrapfigure}{L}{0.5\textwidth}
\includegraphics[width=1in,height=1.25in,clip,keepaspectratio]{a1.png}
%blablabla
\end{wrapfigure}
%\lipsum[2-3]
%Method 2
\begin{wrapfigure}{l}{0.5\textwidth}
%\begin{center}
\includegraphics[width=0.18\textwidth]{a1.png}
%blablabla
\end{wrapfigure}
\end{document}
到目前为止输出如下:
任何有助于改进此模板的帮助都将受到赞赏。
答案1
这将 8 行文本与图像重叠,宽度为 1 英寸,间隙为 1em。不确定如何使用 revtex4-2 强制两列并排。如果我没记错的话,IEEE 在 \twocolumn 的标题区域使用表格。
顺便说一句,\lipsum 最近变得越来越难用了。
\documentclass[%
reprint,
%superscriptaddress,
%groupedaddress,
%unsortedaddress,
%runinaddress,
%frontmatterverbose,
%preprint,
%preprintnumbers,
%nofootinbib,
%nobibnotes,
%bibnotes,
amsmath,amssymb,
aps,
%pra,
%prb,
%rmp,
%prstab,
%prstper,
%floatfix,
]{revtex4-2}
\usepackage{graphicx}% Include figure files
\usepackage{dcolumn}% Align table columns on decimal point
\usepackage{bm}% bold math
\usepackage{hyperref}% enables hyperlinks in the PDF
\usepackage{wrapfig}
\usepackage{lipsum}
\begin{document}
\section{Introduction \& Background}
\section{References}
\bibliography{bibfile}% Produces the bibliography via BibTeX.
%Method 1
\lipsum[1]
\medskip
\hangindent=\dimexpr 1in+1em\relax
\hangafter=-8
\noindent\llap{\raisebox{\dimexpr\ht\strutbox-\height}[0pt][0pt]{\includegraphics[width=1in,height=1.25in]{example-image}}%
\hspace{1em}}
\indent\LipsumPar{2}
\end{document}
答案2
\usepackage{lipsum}
\begin{document}
\hangindent=\dimexpr 1in+1em\relax
\hangafter=-8
\noindent\llap{\raisebox{\dimexpr\ht\strutbox-\height}[0pt][0pt]{\includegraphics[width=1in,height=1.29in]{author2.jpg}}%
\hspace{1em}}
\textbf{SECOND AUTHOR NAME} has done her bachelor's degree from ABC institution in 2000. She has done her master's degree from XYZ institution in 2010. She has completed her PhD degree in ABC from the Institute of EFG in 2020.
\\ \indent
Second paragraph shows her research experience, publications, awards etc.Second paragraph shows her research experience, publications, awards etc.Second paragraph shows her research experience, publications, awards etc.Second paragraph shows her research experience, publications, awards etc.
\end{document}