当前位置:   article > 正文

Latex 表格,图像,文献问题汇总_latex表格大小

latex表格大小

Latex 表格过大(或过小)的调整方法_wbl901的博客-CSDN博客_latex表格太宽放不下
\begin{center}
\label{tab5}
\textbf{Table 5}~~Original table.\\
\resizebox{\textwidth}{15mm}{
\begin{tabular}{cccccccccccc} \toprule
method & backbone    & inputsize    & $parameter$ & GFLOPS & AP    & AP50    & AP75    & APM    & APL    & AR\\
\midrule
Mask R-CNN    & ResNet-50-FPN     &- &- &- & 63.1    & 87.3    & 68.7    & 57.8    & 71.4\\
G-RMI    & ResNet-101    & 353×257 &42.6 &57.0    & 64.9    & 85.5    & 71.3    & 62.3    & 70.0    & 69.7\\
RMPE    & PyraNet    & 320×256 &28.1 &26.7    & 72.3    & 89.2    & 79.1  & 68.0    & 78.6    & -\\
\bottomrule
\end{tabular}}
\end{center}


%%%%%%%%%%%%%%%%%%%5

快捷键

[翻译] Overleaf 上的快捷键_Xovee的博客-CSDN博客_overleaf 快捷键

整段缩进代码

其中\item[]里面可以放入公式latex的黑点

  1. \begin{itemize}
  2. \item[]
  3. This is the indentation of the whole paragraph. I typed so many words to show you the indentation of the whole paragraph. This method will indent the whole paragraph.
  4. \end{itemize}

两个图并列

Overleaf / Latex 中并排插入两张图片_zhaoliwen是猪啊的博客-CSDN博客_overleaf图片排版

最近在用overleaf写论文,遇到了需要并排插入两张图片的情况,在网上查了好久终于成功了,记录一下。

首先要上传你要插入的两个图片,点这个upload按钮,我上传了111.png和222.png两张图片:



之后需要在导言区,也就是文章最开头输入下面三行代码,这个很重要:

  1. \usepackage{graphicx}
  2. \usepackage{float}
  3. \usepackage{subfigure}
  4.  

现在就可以用插入图片的代码了:

  1. \begin{figure}[t]
  2. \centering  %图片全局居中
  3. \subfigure[image 1]{
  4. \label{Fig.sub.1}
  5. \includegraphics[width=4.2cm,height = 2.8cm]{111.png}}\subfigure[image 2]{
  6. \label{Fig.sub.2}
  7. \includegraphics[width=4.2cm,height = 2.8cm]{222.png}}
  8. \caption{Insert two pictures side by side}
  9. \label{1}
  10. \end{figure}

讲解一下这个代码:
1、在\subfigure后面是当前的图片名称
2、在\includegraphics可以在【】中定义每张图片的大小,这里推荐直接用cm为单位,后面的{}里面就是要插入的图片的名称了
3、很重要!!!两个\subfigure之间一定不能插入换行,否则不能并排了(我就在这里掉进坑里了)
4、\caption就是对这两张图片整体的描述了
5、\label是对图片的标号,在正文中引用会用的,自己定义一个就好了。在正文中可以这样引用:Figure ?????? shows······

双栏图片放到某一栏

  1. \begin{figure}[htbp] 
  2.     \centering
  3.     \includegraphics[width=\linewidth,scale=1.00]{AFFM.pdf}
  4.     \caption{AFFM.}
  5.     \label{}
  6. \end{figure}\\

参考文献

overleaf中添加论文引用(亲测有效)_Joshua_yi的博客-CSDN博客_overleaf 引用

插入作者简介

第一步:引入库在文章\doctment

\usepackage{picins}

第二步:如果报错:LaTeX Error: File ‘‘picins.sty’’ not Found.

如果报错:LaTeX Error: File ‘‘picins.sty’’ not Found.
去https://mirrors.concertpass.com/tex-archive/macros/latex209/contrib/picins/picins.sty 下载这个sty文件,然后放在latex所在目录即可。
 

  1. % PICINS.STY --- Style File zum Einbinden von Bildern
  2. % Autor: J. Bleser, E. Lang
  3. % Hochschulrechenzentrum
  4. % Technische Hochschule Darmstadt
  5. % !!! Dieses Style-File ist urheberrechtlich geschuetzt !!!
  6. % !!! Aenderungen nur mit Zustimmung der Autoren !!!
  7. \message{Option `picins' Version 3.0 Sep. 1992, TH Darmstadt/HRZ}
  8. \newbox\@BILD%
  9. \newbox\@TEXT%
  10. \newdimen\d@breite%
  11. \newdimen\d@hoehe%
  12. \newdimen\d@xoff%
  13. \newdimen\d@yoff%
  14. \newdimen\d@shad%
  15. \newdimen\d@dash%
  16. \newdimen\d@boxl%
  17. \newdimen\d@pichskip%
  18. \newdimen\d@tmp
  19. \newdimen\d@tmpa
  20. \newdimen\d@bskip
  21. \newdimen\hsiz@%
  22. \newdimen\p@getot@l%
  23. \newcount\c@breite
  24. \newcount\c@hoehe
  25. \newcount\c@xoff
  26. \newcount\c@yoff
  27. \newcount\c@pos
  28. \newcount\c@shad
  29. \newcount\c@dash
  30. \newcount\c@boxl
  31. \newcount\c@zeilen%
  32. \newcount\@changemode%
  33. \newcount\c@piccaption%
  34. \newcount\c@piccaptionpos%
  35. \newcount\c@picpos
  36. \newcount\c@whole%
  37. \newcount\c@half%
  38. \newcount\c@tmp
  39. \newcount\c@tmpa
  40. \newcount\c@tmpb
  41. \newcount\c@tmpc
  42. \newcount\c@tmpd
  43. \newskip\d@leftskip
  44. \newif\if@list \@listfalse%
  45. \newif\if@offset%
  46. \c@piccaptionpos=1%
  47. \c@picpos=0
  48. \d@shad=4pt%
  49. \d@dash=4pt%
  50. \d@boxl=10pt%
  51. \d@pichskip=1em%
  52. \@changemode=0%
  53. \def\@captype{figure}%
  54. \let\old@par=\par%
  55. \def\pichskip#1{\d@pichskip #1\relax}
  56. \def\shadowthickness#1{\d@shad #1\relax}
  57. \def\dashlength#1{\d@dash #1\relax}
  58. \def\boxlength#1{\d@boxl #1\relax}
  59. \def\picchangemode{\@changemode=1}%
  60. \def\nopicchangemode{\@changemode=0}%
  61. \def\piccaptionoutside{\c@piccaptionpos=1}%
  62. \def\piccaptioninside{\c@piccaptionpos=2}%
  63. \def\piccaptionside{\c@piccaptionpos=3}%
  64. \def\piccaptiontopside{\c@piccaptionpos=4}%
  65. \def\piccaption{\@ifnextchar [{\@piccaption}{\@piccaption[]}}
  66. \def\@piccaption[#1]#2{\c@piccaption=1\def\sh@rtf@rm{#1}\def\capti@nt@xt{#2}}
  67. \def\make@piccaption{%
  68. \hsiz@\d@breite%
  69. \ifnum\c@piccaptionpos=2%
  70. \advance\hsiz@ -2\fboxsep%
  71. \fi%
  72. \ifnum\c@piccaptionpos>2%
  73. \hsiz@\hsize\advance\hsiz@-\d@breite\advance\hsiz@-\d@pichskip%
  74. \fi%
  75. \setbox\@TEXT=\vbox{\hsize\hsiz@\caption[\sh@rtf@rm]{\capti@nt@xt}}%
  76. }
  77. \def\newcaption{\refstepcounter\@captype\@dblarg{\@newcaption\@captype}}
  78. \long\def\@newcaption#1[#2]#3{%
  79. \old@par%
  80. \addcontentsline{\csname ext@#1\endcsname }{#1}%
  81. {\protect\numberline{\csname the#1\endcsname}{\ignorespaces #2}}
  82. \begingroup\@parboxrestore\normalsize%
  83. \@newmakecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}\old@par%
  84. \endgroup%
  85. }
  86. \long\def\@newmakecaption#1#2{%
  87. \vskip 10pt%
  88. \setbox\@tempboxa \hbox {#1: #2}%
  89. \ifdim \wd\@tempboxa >\hsize%
  90. \setbox0=\hbox{#1: }\dimen0=\hsize\advance\dimen0 by-\wd0
  91. \setbox1=\vtop{\hsize=\dimen0 #2}
  92. \hbox{\box0 \box1}
  93. \par
  94. \else \hbox to\hsize {\hfil \box \@tempboxa \hfil}
  95. \fi
  96. }
  97. \def\parpic{%
  98. \@ifnextchar ({\iparpic}{\iparpic(0pt,0pt)}
  99. }
  100. \def\iparpic(#1,#2){%
  101. \@ifnextchar ({\@offsettrue\iiparpic(#1,#2)}%
  102. {\@offsetfalse\iiparpic(#1,#2)(0pt,0pt)}
  103. }
  104. \def\iiparpic(#1,#2)(#3,#4){%
  105. \@ifnextchar [{\iiiparpic(#1,#2)(#3,#4)}{\iiiparpic(#1,#2)(#3,#4)[l]}
  106. }
  107. \def\iiiparpic(#1,#2)(#3,#4)[#5]{%
  108. \@ifnextchar [{\ivparpic(#1,#2)(#3,#4)[#5]}{\ivparpic(#1,#2)(#3,#4)[#5][]}
  109. }
  110. \def\ivparpic(#1,#2)(#3,#4)[#5][#6]#7{%
  111. \let\par=\old@par\par%
  112. \hangindent0pt\hangafter1%
  113. \setbox\@BILD=\hbox{#7}%
  114. \d@breite=#1\d@breite=\the\d@breite%
  115. \ifdim\d@breite=0pt\d@breite=\wd\@BILD\fi%
  116. \c@breite=\d@breite\divide\c@breite by65536%
  117. \multiply\c@piccaption\c@piccaptionpos%
  118. \d@hoehe=#2\d@hoehe=\the\d@hoehe%
  119. \ifdim\d@hoehe=0pt\d@hoehe=\ht\@BILD\advance\d@hoehe by\dp\@BILD\fi%
  120. \c@hoehe=\d@hoehe\divide\c@hoehe by65536%
  121. \d@xoff=#3\c@xoff=\d@xoff\divide\c@xoff by65536%
  122. \d@yoff=\d@hoehe%
  123. \advance\d@yoff by-#4\c@yoff=\d@yoff\divide\c@yoff by65536%
  124. \c@pos=1\unitlength1pt%
  125. \if@offset%
  126. \setbox\@BILD=\hbox{%
  127. \begin{picture}(\c@breite,\c@hoehe)%
  128. \put(0,0){\makebox(\c@breite,\c@hoehe){}}%
  129. \put(\c@xoff,\c@yoff){\box\@BILD}%
  130. \end{picture}%
  131. }%
  132. \else%
  133. \setbox\@BILD=\hbox{%
  134. \begin{picture}(\c@breite,\c@hoehe)%
  135. \put(0,0){\makebox(\c@breite,\c@hoehe)[#6]{\box\@BILD}}%
  136. \end{picture}%
  137. }%
  138. \fi%
  139. \ifnum\c@piccaption=2%
  140. \make@piccaption%
  141. \advance\d@hoehe\ht\@TEXT\advance\d@hoehe\dp\@TEXT%
  142. \c@hoehe=\d@hoehe\divide\c@hoehe by65536%
  143. \setbox\@BILD=\vbox{\box\@BILD\vspace{-5pt}%
  144. \hbox{\hspace{\fboxsep}\box\@TEXT}%
  145. \vspace{4pt}}%
  146. \fi%
  147. \@tfor\@tempa := #5\do{%
  148. \if\@tempa f\setbox\@BILD=\hbox{\Rahmen(\c@breite,\c@hoehe){\box\@BILD}}\fi%
  149. \if\@tempa s\setbox\@BILD=\hbox{\Schatten(\c@breite,\c@hoehe){\box\@BILD}}\fi%
  150. \if\@tempa o\setbox\@BILD=\hbox{\Oval(\c@breite,\c@hoehe){\box\@BILD}}\fi%
  151. \if\@tempa d\setbox\@BILD=\hbox{\Strich(\c@breite,\c@hoehe){\box\@BILD}}\fi%
  152. \if\@tempa x\setbox\@BILD=\hbox{\Kasten(\c@breite,\c@hoehe){\box\@BILD}}\fi%
  153. \if\@tempa l\c@pos=1\fi%
  154. \if\@tempa r\c@pos=2\fi%
  155. }%
  156. \ifnum\c@piccaption=1%
  157. \make@piccaption%
  158. \advance\d@hoehe\ht\@TEXT\advance\d@hoehe\dp\@TEXT%
  159. \c@hoehe=\d@hoehe\divide\c@hoehe by65536%
  160. \setbox\@BILD=\vbox{\box\@BILD\vspace{-5pt}\hbox{\box\@TEXT}\vspace{4pt}}%
  161. \fi%
  162. \ifodd\count0\c@picpos=0\else\c@picpos=\@changemode\fi%
  163. \pagetotal=\the\pagetotal%
  164. \d@tmp=\pagegoal\advance\d@tmp by-\pagetotal\advance\d@tmp by-\baselineskip%
  165. \ifdim\d@hoehe>\d@tmp%
  166. \vskip 0pt plus\d@hoehe\relax\pagebreak[3]\vskip 0pt plus-\d@hoehe\relax%
  167. \ifnum\c@picpos=1\c@picpos=0\else\c@picpos=\@changemode\fi%
  168. \fi%
  169. \ifnum\c@picpos=1\ifnum\c@pos=1\c@pos=2\else\c@pos=1\fi\fi%
  170. \ifnum\@listdepth>0
  171. \@listtrue\parshape 0%
  172. \advance\hsize -\rightmargin%
  173. \d@leftskip \leftskip%
  174. \leftskip \@totalleftmargin%
  175. \if@inlabel\rule{\linewidth}{0pt}\vskip-\baselineskip\relax\fi%
  176. \else\@listfalse\medskip%
  177. \fi%
  178. \if@list\d@tmpa=\linewidth\else\d@tmpa=\hsize\fi%
  179. \ifnum\c@piccaption=3%
  180. \make@piccaption%
  181. \d@tmp\ht\@TEXT\advance\d@tmp\dp\@TEXT%
  182. \ifdim\d@hoehe>\d@tmp%
  183. \setbox\@TEXT=\vbox to\d@hoehe{\vfill\box\@TEXT\vspace{.2\baselineskip}\vfill}%
  184. \else%
  185. \setbox\@BILD=\vbox to\d@tmp{\vfill\box\@BILD\vfill}%
  186. \d@hoehe\d@tmp%
  187. \fi%
  188. \fi%
  189. \ifnum\c@piccaption=4%
  190. \make@piccaption%
  191. \d@tmp\ht\@TEXT\advance\d@tmp\dp\@TEXT%
  192. \setbox\@TEXT=\vbox to\d@hoehe{\vspace{-10pt}\box\@TEXT\vfil}%
  193. \advance\d@hoehe-\d@tmp%
  194. \fi%
  195. \ifnum\c@pos=1\d@tmpa=0pt%
  196. \ifnum\c@piccaption>2%
  197. \setbox\@BILD=\hbox{\box\@BILD\hspace{\d@pichskip}\hbox{\box\@TEXT}}%
  198. \fi%
  199. \else\advance\d@tmpa by-\wd\@BILD\d@breite=-\d@breite%
  200. \ifnum\c@piccaption>2%
  201. \d@tmpa=0pt%
  202. \setbox\@BILD=\hbox{\hbox{\box\@TEXT}\hspace{\d@pichskip}\box\@BILD}%
  203. \fi%
  204. \fi%
  205. \p@getot@l\the\pagetotal%
  206. \d@bskip\d@hoehe\advance\d@bskip by\parskip\advance\d@bskip by.3\baselineskip%
  207. {\noindent\hspace*{\d@tmpa}\relax%
  208. \box\@BILD\nopagebreak\vskip-\d@bskip\relax\nopagebreak}%
  209. \d@tmp=-\d@hoehe\divide\d@tmp by\baselineskip%
  210. \c@zeilen=\d@tmp\advance\c@zeilen by-1%
  211. \ifdim\d@breite<0pt\advance\d@breite by-\d@pichskip%
  212. \else\advance\d@breite by\d@pichskip%
  213. \fi%
  214. \hangindent=\d@breite%
  215. \hangafter=\c@zeilen%
  216. \let\par=\x@par%
  217. \ifnum\c@piccaption=3%
  218. \hangindent0pt\hangafter1\let\par=\old@par%
  219. \vskip\d@hoehe\vskip.2\baselineskip%
  220. \fi%
  221. \c@piccaption=0%
  222. }
  223. \newdimen\ptoti
  224. \newdimen\ptotii
  225. \def\x@par{%
  226. \ptoti\pagetotal%
  227. \old@par%
  228. \ptotii\pagetotal%
  229. \ifdim\ptoti=\ptotii%
  230. \d@tmp\d@hoehe%
  231. \else%
  232. \d@tmp\baselineskip%
  233. \multiply\d@tmp by\prevgraf%
  234. \advance\d@tmp by\parskip%
  235. \global\advance\d@hoehe by-\d@tmp\d@tmp=\d@hoehe%
  236. \fi%
  237. \ifdim\d@hoehe>0pt%
  238. \divide\d@tmp by\baselineskip\c@zeilen=-\d@tmp\advance\c@zeilen by-1%
  239. \c@zeilen=\the\c@zeilen%
  240. \else\c@zeilen=0
  241. \fi
  242. \ifnum\c@zeilen<0\hangafter=\c@zeilen\hangindent=\d@breite%
  243. \else\let\par=\old@par%
  244. \hangindent 0pt%
  245. \leftskip \d@leftskip%
  246. \if@list\parshape \@ne \@totalleftmargin \linewidth%
  247. \advance\hsize \rightmargin%
  248. \fi%
  249. \fi%
  250. }
  251. \def\picskip#1{%
  252. \let\par=\old@par%
  253. \par%
  254. \pagetotal\the\pagetotal%
  255. \c@tmp=#1\relax%
  256. \ifnum\c@tmp=0%
  257. \d@tmp\baselineskip\multiply\d@tmp by\prevgraf\advance\d@tmp\parskip%
  258. \ifdim\p@getot@l<\pagetotal
  259. \advance\d@hoehe by-\d@tmp\advance\d@hoehe by1ex%
  260. \ifdim\d@hoehe>0pt\vspace*{\d@hoehe}\fi%
  261. \fi%
  262. \ifdim\p@getot@l=\pagetotal%
  263. \advance\d@hoehe by-\d@tmp\advance\d@hoehe by1ex%
  264. \ifdim\d@hoehe>0pt\vspace*{\d@hoehe}\fi%
  265. \fi%
  266. \else\hangafter=-\c@tmp\hangindent=\d@breite%
  267. \fi%
  268. \leftskip \d@leftskip%
  269. \if@list\parshape \@ne \@totalleftmargin \linewidth%
  270. \advance\hsize \rightmargin%
  271. \fi%
  272. }
  273. \def\hpic{%
  274. \@ifnextchar ({\ihpic}{\ihpic(0pt,0pt)}
  275. }
  276. \def\ihpic(#1,#2){%
  277. \@ifnextchar ({\@offsettrue\iihpic(#1,#2)}%
  278. {\@offsetfalse\iihpic(#1,#2)(0pt,0pt)}
  279. }
  280. \def\iihpic(#1,#2)(#3,#4){%
  281. \@ifnextchar [{\iiihpic(#1,#2)(#3,#4)}{\iiihpic(#1,#2)(#3,#4)[l]}
  282. }
  283. \def\iiihpic(#1,#2)(#3,#4)[#5]{%
  284. \@ifnextchar [{\ivhpic(#1,#2)(#3,#4)[#5]}{\ivhpic(#1,#2)(#3,#4)[#5][]}
  285. }
  286. \def\ivhpic(#1,#2)(#3,#4)[#5][#6]#7{%
  287. \setbox\@BILD=\hbox{#7}%
  288. \d@breite=#1\d@breite=\the\d@breite%
  289. \ifdim\d@breite=0pt\d@breite=\wd\@BILD\fi%
  290. \c@breite=\d@breite\divide\c@breite by65536%
  291. \d@hoehe=#2\d@hoehe=\the\d@hoehe%
  292. \ifdim\d@hoehe=0pt\d@hoehe=\ht\@BILD\advance\d@hoehe by\dp\@BILD\fi%
  293. \c@hoehe=\d@hoehe\divide\c@hoehe by65536%
  294. \d@xoff=#3\c@xoff=\d@xoff\divide\c@xoff by65536%
  295. \d@yoff=\d@hoehe%
  296. \advance\d@yoff by-#4\c@yoff=\d@yoff\divide\c@yoff by65536%
  297. \c@pos=0\d@tmpa=\parindent\parindent=0pt\unitlength1pt%
  298. \if@offset
  299. \setbox\@BILD=\hbox{%
  300. \begin{picture}(\c@breite,\c@hoehe)%
  301. \put(0,0){\makebox(\c@breite,\c@hoehe){}}%
  302. \put(\c@xoff,\c@yoff){\box\@BILD}%
  303. \end{picture}%
  304. }%
  305. \else%
  306. \setbox\@BILD=\hbox{%
  307. \begin{picture}(\c@breite,\c@hoehe)%
  308. \put(0,0){\makebox(\c@breite,\c@hoehe)[#6]{\box\@BILD}}%
  309. \end{picture}%
  310. }%
  311. \fi%
  312. \@tfor\@tempa := #5\do{%
  313. \if\@tempa f\setbox\@BILD=\hbox{\Rahmen(\c@breite,\c@hoehe){\box\@BILD}}\fi%
  314. \if\@tempa s\setbox\@BILD=\hbox{\Schatten(\c@breite,\c@hoehe){\box\@BILD}}\fi%
  315. \if\@tempa o\setbox\@BILD=\hbox{\Oval(\c@breite,\c@hoehe){\box\@BILD}}\fi%
  316. \if\@tempa d\setbox\@BILD=\hbox{\Strich(\c@breite,\c@hoehe){\box\@BILD}}\fi%
  317. \if\@tempa x\setbox\@BILD=\hbox{\Kasten(\c@breite,\c@hoehe){\box\@BILD}}\fi%
  318. \if\@tempa t\c@pos=1\fi%
  319. \if\@tempa b\c@pos=2\fi%
  320. }%
  321. \ifnum\c@pos=0\parbox{\d@breite}{\makebox[0cm]{}\\\box\@BILD\smallskip}\fi%
  322. \ifnum\c@pos=1\parbox[t]{\d@breite}{\makebox[0cm]{}\\\box\@BILD\smallskip}\fi%
  323. \ifnum\c@pos=2\parbox[b]{\d@breite}{\makebox[0cm]{}\\\box\@BILD\smallskip}\fi%
  324. \parindent=\d@tmpa%
  325. }
  326. \def\Rahmen(#1,#2)#3{%
  327. \c@whole=\@wholewidth\divide\c@whole by65536%
  328. \c@half=\@halfwidth\divide\c@half by65536%
  329. \c@tmpa=#1\advance\c@tmpa by\c@whole\advance\c@tmpa by\c@whole%
  330. \c@tmpb=#2\advance\c@tmpb by\c@whole\advance\c@tmpb by\c@whole%
  331. \begin{picture}(\c@tmpa,\c@tmpb)%
  332. \put(\c@whole,\c@half){\framebox(#1,#2){#3}}%
  333. \end{picture}%
  334. \global\advance\d@breite by2\@wholewidth%
  335. \global\advance\d@hoehe by2\@wholewidth%
  336. }
  337. \def\Schatten(#1,#2)#3{%
  338. \c@whole=\@wholewidth\divide\c@whole by65536%
  339. \c@half=\@halfwidth\divide\c@half by65536%
  340. \c@shad=\d@shad\divide\c@shad by65536%
  341. \c@tmp=\c@whole\advance\c@tmp by\c@whole\c@tmpd=\c@tmp%
  342. \advance\c@tmp by\c@shad%
  343. \advance\c@tmpd by#1%
  344. \advance\c@half by\c@shad%
  345. \c@tmpa=#1\advance\c@tmpa by\c@tmp%
  346. \c@tmpb=#2\advance\c@tmpb by\c@tmp%
  347. \begin{picture}(\c@tmpa,\c@tmpb)%
  348. \put(\c@whole,\c@half){\framebox(#1,#2){#3}}%
  349. \put(\c@shad,0){\rule{\c@tmpd pt}{\c@shad pt}}%
  350. \put(\c@tmpd,0){\rule{\c@shad pt}{#2 pt}}%
  351. \end{picture}%
  352. \global\advance\d@breite by2\@wholewidth\global\advance\d@breite by\d@shad%
  353. \global\advance\d@hoehe by2\@wholewidth\global\advance\d@hoehe by\d@shad%
  354. }
  355. \def\Oval(#1,#2)#3{%
  356. \@wholewidth=0.4pt%
  357. \c@tmpa=\the#1\divide\c@tmpa by2%
  358. \c@tmpb=\the#2\divide\c@tmpb by2%
  359. \begin{picture}(#1,#2)%
  360. \put(\c@tmpa,\c@tmpb){\oval(#1,#2)}%
  361. \put(0.4,0.4){#3}%
  362. \end{picture}%
  363. \global\advance\d@breite by1pt\global\advance\d@hoehe by1pt%
  364. }
  365. \def\Strich(#1,#2)#3{%
  366. \c@whole=\@wholewidth\divide\c@whole by65536%
  367. \c@half=\@halfwidth\divide\c@half by65536%
  368. \c@dash=\d@dash\divide\c@dash by65536%
  369. \c@tmp=\c@whole\advance\c@tmp by\c@whole%
  370. \c@tmpa=#1\advance\c@tmpa by\c@tmp%
  371. \c@tmpb=#2\advance\c@tmpb by\c@tmp%
  372. \c@tmpc=#1\advance\c@tmpc by\c@whole%
  373. \c@tmpd=#2\advance\c@tmpd by\c@whole%
  374. \begin{picture}(\c@tmpa,\c@tmpb)%
  375. \put(\c@half,\c@half){\dashbox{\c@dash}(\c@tmpc,\c@tmpd){#3}}%
  376. \end{picture}%
  377. \global\advance\d@breite by2\@wholewidth%
  378. \global\advance\d@hoehe by2\@wholewidth%
  379. }
  380. \def\Kasten(#1,#2)#3{%
  381. \@wholewidth=0.4pt%
  382. \c@boxl=\d@boxl\divide\c@boxl by65536\c@boxl=\the\c@boxl%
  383. \c@tmpa=#1\advance\c@tmpa by\c@boxl%
  384. \c@tmpb=#2\advance\c@tmpb by\c@boxl%
  385. \c@tmp=#2%
  386. \begin{picture}(\c@tmpa,\c@tmpb)%
  387. \put(0,\c@boxl){\framebox(#1,#2){#3}}%
  388. \put(\c@boxl,0){\line(-1,1){\c@boxl}}%
  389. \put(\c@boxl,0){\line(1,0){#1}\line(-1,1){\c@boxl}}%
  390. \put(\c@boxl,0){\put(#1,0){\line(0,1){\c@tmp}%
  391. \put(0,\c@tmp){\line(-1,1){\c@boxl}}}}%
  392. \end{picture}%
  393. \global\advance\d@breite by\d@boxl%
  394. \global\advance\d@hoehe by\d@boxl%
  395. }
  396. \newbox\env@box%
  397. \newdimen\d@envdp
  398. \newcount\c@hsize
  399. \newcount\c@envdp
  400. \newdimen\d@envb
  401. \long\def\frameenv{\@ifnextchar [{\@frameenv}{\@frameenv[\textwidth]}}
  402. \long\def\@frameenv[#1]{%
  403. \hsiz@=\textwidth \textwidth=#1 \d@envb=#1
  404. \advance\textwidth by-2\@wholewidth
  405. \advance\textwidth by-2\fboxsep
  406. \hsize=\textwidth \linewidth=\textwidth
  407. \setbox\env@box=\vbox\bgroup}%
  408. \def\endframeenv{%
  409. \egroup%
  410. \hsize=\hsiz@ \textwidth=\hsiz@ \linewidth=\hsiz@
  411. \c@breite=\d@envb \divide\c@breite by65536
  412. \advance\d@envb by-2\@wholewidth
  413. \c@hsize=\d@envb \divide\c@hsize by65536%
  414. \d@envdp=\dp\env@box \advance\d@envdp by\ht\env@box%
  415. \advance\d@envdp by2\fboxsep%
  416. \d@hoehe=\d@envdp \advance\d@hoehe by2\@wholewidth
  417. \c@hoehe=\d@hoehe \divide\c@hoehe by65536
  418. \c@envdp=\d@envdp \divide\c@envdp by65536%
  419. \c@tmp=\@wholewidth \divide\c@tmp by65536
  420. \vskip\@wholewidth%
  421. \unitlength 1pt\noindent%
  422. \begin{picture}(\c@breite,\c@hoehe)(0,0)
  423. \put(\c@tmp,\c@tmp){\framebox(\c@hsize,\c@envdp){\box\env@box}}
  424. \end{picture}%
  425. }
  426. \long\def\shadowenv{\@ifnextchar [{\@shadowenv}{\@shadowenv[\textwidth]}}
  427. \long\def\@shadowenv[#1]{%
  428. \hsiz@=\textwidth \textwidth=#1 \d@envb=#1
  429. \advance\textwidth by-2\@wholewidth
  430. \advance\textwidth by-2\fboxsep
  431. \advance\textwidth by-\d@shad%
  432. \hsize=\textwidth \linewidth=\textwidth
  433. \setbox\env@box=\vbox\bgroup}%
  434. \def\endshadowenv{%
  435. \egroup
  436. \hsize=\hsiz@ \textwidth=\hsiz@ \linewidth=\hsiz@
  437. \d@tmpa=\d@envb
  438. \c@breite=\d@envb \divide\c@breite by65536
  439. \advance\d@envb by-2\@wholewidth \advance\d@envb by-\d@shad
  440. \c@hsize=\d@envb \divide\c@hsize by65536%
  441. \d@envdp=\dp\env@box \advance\d@envdp by\ht\env@box%
  442. \advance\d@envdp by2\fboxsep%
  443. \c@envdp=\d@envdp \divide\c@envdp by65536%
  444. \d@hoehe=\d@envdp
  445. \advance\d@hoehe by2\@wholewidth \advance\d@hoehe by\d@shad
  446. \c@hoehe=\d@hoehe \divide\c@hoehe by65536
  447. \c@shad =\d@shad \divide\c@shad by65536
  448. \c@tmp=\@wholewidth \divide\c@tmp by65536
  449. \advance\d@tmpa by-2\d@shad
  450. \c@xoff =\d@tmpa \divide\c@xoff by65536
  451. \advance\c@xoff by\c@shad \advance\c@xoff by-1
  452. \advance\d@envdp by\@wholewidth
  453. \vskip\@halfwidth
  454. \unitlength 1pt\noindent%
  455. \begin{picture}(\c@breite,\c@hoehe)(0,0)
  456. \put(\c@tmp,\c@shad){\framebox(\c@hsize,\c@envdp){\box\env@box}}
  457. \put(\c@shad,0){\rule{\d@tmpa}{\d@shad}}%
  458. \put(\c@xoff,0){\rule{\d@shad}{\d@envdp}}%
  459. \end{picture}%
  460. \vskip\@halfwidth
  461. }
  462. \long\def\dashenv{\@ifnextchar [{\@dashenv}{\@dashenv[\textwidth]}}
  463. \long\def\@dashenv[#1]{%
  464. \hsiz@=\textwidth \textwidth=#1 \d@envb=#1
  465. \advance\textwidth by-2\@wholewidth \advance\textwidth by-2\fboxsep
  466. \hsize=\textwidth \linewidth=\textwidth
  467. \setbox\env@box=\vbox\bgroup}%
  468. \long\def\enddashenv{%
  469. \egroup
  470. \hsize=\hsiz@ \textwidth=\hsiz@ \linewidth=\hsiz@
  471. \c@breite=\d@envb \divide\c@breite by65536
  472. \advance\d@envb by-\@wholewidth
  473. \c@hsize=\d@envb \divide\c@hsize by65536%
  474. \d@envdp=\dp\env@box \advance\d@envdp by\ht\env@box%
  475. \advance\d@envdp by2\fboxsep%
  476. \advance\d@envdp by\@wholewidth
  477. \d@hoehe=\d@envdp \advance\d@hoehe by2\@wholewidth
  478. \c@hoehe=\d@hoehe \divide\c@hoehe by65536
  479. \c@envdp=\d@envdp \divide\c@envdp by65536%
  480. \c@dash=\d@dash \divide\c@dash by65536%
  481. \c@whole=\@wholewidth \divide\c@whole by65536
  482. \c@half=\@halfwidth \divide\c@half by 65536
  483. \noindent\unitlength 1pt
  484. \begin{picture}(\c@breite,\c@hoehe)(0,0)
  485. \put(\c@half,\c@whole){\dashbox{\c@dash}(\c@hsize,\c@envdp){\box\env@box}}
  486. \end{picture}%
  487. }
  488. \long\def\ovalenv{\@ifnextchar [{\@ovalenv}{\@ovalenv[\textwidth]}}%
  489. \long\def\@ovalenv[#1]{%
  490. \hsiz@=\textwidth \textwidth=#1 \d@envb=#1
  491. \advance\textwidth by-4\fboxsep
  492. \hsize=\textwidth \linewidth=\textwidth
  493. \setbox\env@box=\vbox\bgroup}%
  494. \long\def\endovalenv{%
  495. \egroup
  496. \hsize=\hsiz@ \textwidth=\hsiz@ \linewidth=\hsiz@
  497. \@wholewidth=0.4pt
  498. \c@breite=\d@envb \divide\c@breite by65536
  499. \advance\d@envb by-2\@wholewidth
  500. \c@hsize=\d@envb \divide\c@hsize by65536%
  501. \d@envdp=\dp\env@box \advance\d@envdp by\ht\env@box%
  502. \advance\d@envdp by4\fboxsep%
  503. \c@envdp=\d@envdp \divide\c@envdp by65536%
  504. \d@hoehe=\d@envdp \advance\d@hoehe by2\@wholewidth
  505. \c@hoehe=\d@hoehe \divide\c@hoehe by65536
  506. \c@tmpa=\c@hsize \divide\c@tmpa by2%
  507. \c@tmpb=\c@envdp \divide\c@tmpb by2%
  508. \d@tmpa=2\fboxsep \advance\d@tmpa by\@wholewidth
  509. \c@xoff=\d@tmpa \divide\c@xoff by65536%
  510. \advance\d@tmpa by\dp\env@box
  511. \c@yoff=\d@tmpa \divide\c@yoff by65536%
  512. \unitlength 1pt\noindent
  513. \begin{picture}(\c@breite,\c@hoehe)(0,0)
  514. \put(\c@tmpa,\c@tmpb){\oval(\c@hsize,\c@envdp)}
  515. \put(\c@xoff,\c@yoff){\box\env@box}%
  516. \end{picture}%
  517. }

第三步:

  1. \par\noindent
  2. \parbox[t]{\linewidth}{
  3. \noindent\parpic{\includegraphics[height=1.5in,width=1in,clip,keepaspectratio]{IMAGE.jpg}}
  4. \noindent {\bf AUTHOR NAME}\BIO TEXT.}
  5. \vspace{4\baselineskip}

替换掉文件路径和姓名,以及介绍文字就行。有几个人就复制几段。

效果:

在这里插入图片描述

表格内某一个数据黑且加粗命令

\textbf{75.5}

表格内某一个数据变颜色命令:

\color{英文颜色单词}

LaTeX表格合并实现

https://www.cnblogs.com/alex-bn-lee/p/15200982.html

并某一行和列合

  1. \begin{table*}[!t]
  2. %\renewcommand{\arraystretch}{1.3}
  3. \caption{Information on GPS trajectory dataset.}
  4. \centering
  5. \begin{tabular}{c|c|c|c|c}
  6. % \toprule
  7. \hline
  8. % this part is the header
  9. Model &
  10. \begin{tabular}[c]{@{}c@{}}Blocks \\residential complexes\end{tabular} &
  11. \begin{tabular}[c]{@{}c@{}}Distance \\(km)\end{tabular} &
  12. \begin{tabular}[c]{@{}c@{}}Duration \\(hour)\end{tabular} &
  13. \begin{tabular}[c]{@{}c@{}}Number of \\trajectories\end{tabular}\\ \hline
  14. % this part is the header
  15. % \midrule
  16. Walking & 376 & 12,295 & 6,630 & 61,356 \\ \hline
  17. Cycling & 932 & 44,512 & 13,516 & 163,200 \\ \hline
  18. % \midrule
  19. Total & 1,308 & 56,807 & 20,146 & 224,556 \\
  20. % \bottomrule \hline
  21. \hline
  22. \end{tabular}
  23. \label{tab:my_label}
  24. % \end{threeparttable} %增加部分
  25. \end{table*}

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Gausst松鼠会/article/detail/106675
推荐阅读
  

闽ICP备14008679号