TransWikia.com

How can include wrap text around profile picture as biography without using "documentclass{ieeeaccess}"

TeX - LaTeX Asked on December 25, 2020

I’m working on an expose (research proposal) and I selected this template in overleaf which is 2 columns. now the problem is I want to include a short biography of 2 persons in the end without in form of text-wrap without using begin{IEEEbiography} end{IEEEbiography} since it messes up the designed template. Actually, in this template, they didn’t use documentclass{ieeeaccess} without cls file.
Considering I checked related post1, post2, so far I tried 2 methods as follows unsuccessfully after I had included 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.5textwidth}
includegraphics[width=1in,height=1.25in,clip,keepaspectratio]{a1.png}
%blablabla
end{wrapfigure}

%lipsum[2-3]


%Method 2
begin{wrapfigure}{l}{0.5textwidth}
  %begin{center}
    includegraphics[width=0.18textwidth]{a1.png}
%blablabla
end{wrapfigure}

end{document}

So far the output is as follows:
img

Any helps to improve this template will be appreciated.

One Answer

This overlaps 8 lines of text with the image with a width of 1in and a gap of 1em. Not sure how to force two columns side by side with revtex4-2. IIRC, IEEE uses a tabular in the title area of twocolumn.

BTW, lipsum has gotten more difficult to use lately.

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+1emrelax
hangafter=-8
noindentllap{raisebox{dimexprhtstrutbox-height}[0pt][0pt]{includegraphics[width=1in,height=1.25in]{example-image}}%
  hspace{1em}}
indentLipsumPar{2}

end{document}

Correct answer by John Kormylo on December 25, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP