[Latex]手动作者页排版(不使用模板)|图片环绕|作者简介|插入图片|图片说明|Picinpar 宏包 取消图片编号

 实现效果:

实现代码: 



\documentclass{article}

%需要包含的包
\usepackage{picinpar}
\usepackage{graphicx}

%加上这个,以取消图片序号显示
\makeatletter
\long\def\figwindownonum[#1,#2,#3,#4] {% \begin{figwindownonum}
  \begin{window}[#1,#2,{#3},{\centering#4\par}] }
\def\endfigwindownonum{\end{window}}% \end{figwindownonum}
\makeatother


\begin{document}


\newpage
\section{Biography}


\begin{figwindownonum}[0,l,{\mbox{
\includegraphics[width=60pt]{TheIronMan.png}}},{}]
\noindent
\textbf{Full name}
Anthony Edward Stark\\
\textbf{Alias}
Iron Man\\
\textbf{Occupation}
Superhero, CEO of Stark Industries, Weapons manufacturer\\
\textbf{Affiliation}
Avengers, Damage Control, S.H.I.E.L.D., Spider-Man\\
\end{figwindownonum}

%增加两个介绍之间的间隔
\vspace{1.5 cm}

\begin{figwindownonum}[0,1,{\mbox{
\includegraphics[width=60pt]{CaptainAmerica.jpg}}},{}]
\noindent
\textbf{Alter ego}
Steven "Steve" Rogers\\
\textbf{Team affiliations}
Avengers, Avengers Unity Division, All-Winners Squad, Illuminati, Invaders, Landau, Luckman, and Lake
New Avengers, Project: Rebirth, Redeemers, S.H.I.E.L.D., Secret Avengers, Secret Defenders, U.S. Army\\
\textbf{Partnerships}
Bucky Barnes, Peggy Carter, Falcon, Black Widow, Iron Man\\
\textbf{Notable aliases}
Nomad, The Captain\\
\end{figwindownonum}

\vspace{1.5 cm}

\begin{figwindownonum}[0,l,{\mbox{
\includegraphics[width=60pt]{Thor.png}}},{}]
\noindent
\textbf{Full name}
Thor Odinson\\
\textbf{Species}
Asgardian\\
\textbf{Place of origin}
Asgard\\
\textbf{Team affiliations}
Avengers, Warriors Three, Thor Corps, God Squad, Avengers Unity Squad\\
\textbf{Notable aliases}
Siegmund, Siegfried, Dr. Donald Blake, Jake Olson, Sigurd Jarlson, Eric Masterson, Odinson\\
\end{figwindownonum}



\end{document}

 

其中,

      \begin{figwindownonum}[0,l,{\mbox{

该语句中的第一参数为在图片上方的行数。如果改为

      \begin{figwindownonum}[2,l,{\mbox{

则效果为:

\includegraphics[width=60pt]{Thor.png}}},{}]

是要插入图片文件的文件名。

参考资料:

  1. How to suppress caption numbering in a figwindow
  2. Add space between two images
  3. 30.2 Picinpar 宏包

 


版权声明:本文为Colin_Downey原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。