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

合并不同行的表格内容 

\begin{table}[pos=!h]
  \caption{This is a MSCOCO val input size of $256\times192$. P=pretrain the backbone on the ImageNet classification task. GFs=GFLOPs.}\label{tab1}
  \begin{tabular*}{\tblwidth}{@{} LLLLLLLLLLLL@{}}
   \toprule
    Method & Backbone & Input size & P & Params & GFs & AP	& AP$^{50}$	& AP$^{75}$	& AP$^{M}$	& AP$^{L}$	& AR \\
    \midrule
    Large networks \\
   \midrule
    % IPR & ResNet-101 & $256\times256$ & Y & 45.0M & 11.0G & 67.8 & 88.2 & 74.8 & 63.9 & 74.0 & -  \\
    % CPN & ResNet-50 & $256\times192$ & Y & 27.0M & 6.2G & 68.6 & - & - & - & - & -  \\
    % SimpleBaseline & ResNet-50 & $256\times192$ & Y  & 34.0M & 8.9G  & 74.8 & - & - & -  \\
    8-stage-hg	& 8-stage-hg  & $259\times192$ & N	& -	& -	 & 66.9	& -	& -	& -	& -	& -	\\			
    CPN	        & ResNet-50  & $259\times192$  & Y	& -	& -	 & 68.6	& -	& -	& -	& -	& -\\
    CPN+OHKM	& ResNet-50	 & $259\times192$  & Y	& -	& -	 & 69.4	& -	& -	& -	& -	& -\\
    SimplePose	& ResNet-50	 & $259\times192$  & Y  & 45.0M & 11.0G 	& 70.4	& 88.6	& 78.3	& 67.1	& 77.2	& 76.3\\
    SimplePose	& ResNet-101 & $259\times192$  & Y  & 45.0M & 11.0G  & 71.4	& 89.3	& 79.3	& 68.1	& 78.1	& 77.1\\
    SimplePose	& ResNet-152 & $259\times192$  & Y  & 45.0M & 11.0G  &72.0	& 89.3	& 79.8	& 68.7	& 78.9	& 77.8\\
    % HRNet-W32	& HRNet-W32	 & $259\times192$  & N  & 28.5M & 7.1G 	& 73.4	& 89.5	& 80.7	& 70.2	& 80.1	& 78.9\\
    TokenPose   & TokenPose-S & $259\times192$  & Y & 6.2M & 11.6G  & 73.5  & 89.4  & 80.3  & 69.8  & 80.5  &78.7 \\
    HRNet-W32	& HRNet-W32	& $259\times192$   & Y & 28.5M & 7.1G 	& 74.4	& 90.5	& 81.9	& 70.8  &81.0	& 79.8\\
    HRNet-W48	& HRNet-W48	& $259\times192$   & Y & 63.6M	&14.6G	&75.1	&90.6	&82.2	&71.5	&81.8	&80.4\\
    UDP         &HRNet-W32 	& $259\times192$   & Y & 28.7M   &7.1G    &75.2   & 92.4  & 82.9  & 72.0  &80.8   &80.4\\
    TokenPose   &TokenPose-D24 & $259\times192$  & Y & 27.5M & 11.0G & 75.8  & 90.3  & 82.5  & 72.3  & 82.7  & 80.9 \\
    TransPose-H-A6 & HRNet-S-W48 & $259\times192$ & Y & 17.5M & 21.8G & 75.8 &90.1	&82.1	&71.9	&82.8	&87.2\\
    RSN         & 4×RSN-50 & $259\times192$   & N & 111.8M & 29.3G	& 79.0 & 92.5 & 85.7 &	75.2 &	84.5 &	83.7 \\
    % HRFormer-B  & HRFormer-B & $259\times192$   & Y & 43.2M & 12.2G & 75.6 & 90.8 & 82.8 & 71.7 & 82.6 & 80.8 \\
    % ViTPose-H     & ViT-H & $259\times192$        & Y & 632M & - & 79.1 & - & -	& -	& -	& 84.1 \\
    \midrule
    Small networks \\
    \midrule
    MobileNetV2 1 ×  & MobileNetV2  & $259\times192$  & N & 9.6M & 1.4G & 64.6 & 87.4 & 72.3 & 61.1 & 71.2 & 70.7  \\
    ShuffleNetV2 1× & ShuffleNetV2 & $259\times192$  & N &7.6M  & 1.2G & 59.9 & 85.4 & 66.3 & 56.6 & 66.2 & 66.4  \\
    Small-HRNet     & HRNet-W18 & $259\times192$     & N & 1.3M & 0.5G & 55.2 & 83.7 & 62.4 & 52.3 & 61.0 & 62.1  \\
    Lite-HRNet      & Lite-HRNet-18 & $259\times192$  & N & 1.1M & 0.2G & 64.8 & 86.7 & 73.0 & 62.1 & 70.5 & 71.2\\
    Lite-HRNet      & Lite-HRNet-30 & $259\times192$  & N & 1.8M & 0.3G & 67.2 & 88.0 & 75.0 & 64.3 & 73.1 & 73.3\\
    Dite-HRNet      & Dite-HRNet-18 & $259\times192$  & N & 1.1M & 0.2G & 65.9 &87.3 &74.0 &63.2 &71.6 &72.1\\
    Dite-HRNet      & Dite-HRNet-30 & $259\times192$  & N & 1.8M & 0.3G & 68.3 &88.2 &76.2 &65.5 &74.1 &74.2\\
    LDNet-w32      & LDNet-w32 & $259\times192$  & N & 5.1M & 1.6G & 71.3 &88.8 &78.3 &- &- &77.0\\
    LDNet-w48      & LDNet-w48 & $259\times192$  & N & 11.6M & 3.7G & 72.9   &89.5  &79.9 &- &- &78.5\\
    ours            & ours-18 & $259\times192$  & N & 2.24M & 0.61G & 72.8 &91.6 &80.5 &70.4 &76.8 &75.9\\
    ours            & ours-32 & $259\times192$  & N & 6.99M & 1.82G & 76.0 &93.6 &83.7 &73.4 &79.9 &78.7\\
   \bottomrule
  \end{tabular*}
\end{table}

实现如下的表格内容: 

 

快捷键

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

整段缩进代码

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

\begin{itemize}
\item[]
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.
\end{itemize}

两个图并列

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

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

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



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

\usepackage{graphicx}
\usepackage{float}
\usepackage{subfigure}

 

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

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

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

双栏图片放到某一栏

\begin{figure}[htbp] 
    \centering
    \includegraphics[width=\linewidth,scale=1.00]{AFFM.pdf}
    \caption{AFFM.}
    \label{}
\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所在目录即可。
 

%       PICINS.STY --- Style File zum Einbinden von Bildern
%       Autor:  J. Bleser, E. Lang
%       Hochschulrechenzentrum
%       Technische Hochschule Darmstadt
%       !!!  Dieses Style-File ist urheberrechtlich geschuetzt  !!!
%       !!!  Aenderungen nur mit Zustimmung der Autoren         !!!
\message{Option `picins' Version 3.0  Sep. 1992, TH Darmstadt/HRZ}
\newbox\@BILD%
\newbox\@TEXT%
\newdimen\d@breite%
\newdimen\d@hoehe%
\newdimen\d@xoff%
\newdimen\d@yoff%
\newdimen\d@shad%
\newdimen\d@dash%
\newdimen\d@boxl%
\newdimen\d@pichskip%
\newdimen\d@tmp
\newdimen\d@tmpa
\newdimen\d@bskip
\newdimen\hsiz@%
\newdimen\p@getot@l%
\newcount\c@breite
\newcount\c@hoehe
\newcount\c@xoff
\newcount\c@yoff
\newcount\c@pos
\newcount\c@shad
\newcount\c@dash
\newcount\c@boxl
\newcount\c@zeilen%
\newcount\@changemode%
\newcount\c@piccaption%
\newcount\c@piccaptionpos%
\newcount\c@picpos
\newcount\c@whole%
\newcount\c@half%
\newcount\c@tmp
\newcount\c@tmpa
\newcount\c@tmpb
\newcount\c@tmpc
\newcount\c@tmpd
\newskip\d@leftskip
\newif\if@list \@listfalse%
\newif\if@offset%


\c@piccaptionpos=1%
\c@picpos=0
\d@shad=4pt%
\d@dash=4pt%
\d@boxl=10pt%
\d@pichskip=1em%
\@changemode=0%
\def\@captype{figure}%
\let\old@par=\par%

\def\pichskip#1{\d@pichskip #1\relax}


\def\shadowthickness#1{\d@shad #1\relax}


\def\dashlength#1{\d@dash #1\relax}


\def\boxlength#1{\d@boxl #1\relax}


\def\picchangemode{\@changemode=1}%
\def\nopicchangemode{\@changemode=0}%


\def\piccaptionoutside{\c@piccaptionpos=1}%
\def\piccaptioninside{\c@piccaptionpos=2}%
\def\piccaptionside{\c@piccaptionpos=3}%
\def\piccaptiontopside{\c@piccaptionpos=4}%

\def\piccaption{\@ifnextchar [{\@piccaption}{\@piccaption[]}}
\def\@piccaption[#1]#2{\c@piccaption=1\def\sh@rtf@rm{#1}\def\capti@nt@xt{#2}}
\def\make@piccaption{%
 \hsiz@\d@breite%
 \ifnum\c@piccaptionpos=2%
   \advance\hsiz@ -2\fboxsep%
 \fi%
 \ifnum\c@piccaptionpos>2%
   \hsiz@\hsize\advance\hsiz@-\d@breite\advance\hsiz@-\d@pichskip%
 \fi%
 \setbox\@TEXT=\vbox{\hsize\hsiz@\caption[\sh@rtf@rm]{\capti@nt@xt}}%
}



\def\newcaption{\refstepcounter\@captype\@dblarg{\@newcaption\@captype}}
\long\def\@newcaption#1[#2]#3{%
  \old@par%
  \addcontentsline{\csname ext@#1\endcsname }{#1}%
    {\protect\numberline{\csname the#1\endcsname}{\ignorespaces #2}}
  \begingroup\@parboxrestore\normalsize%
    \@newmakecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}\old@par%
  \endgroup%
}
\long\def\@newmakecaption#1#2{%
  \vskip 10pt%
  \setbox\@tempboxa \hbox {#1: #2}%
  \ifdim \wd\@tempboxa >\hsize%
    \setbox0=\hbox{#1: }\dimen0=\hsize\advance\dimen0 by-\wd0
    \setbox1=\vtop{\hsize=\dimen0 #2}
    \hbox{\box0 \box1}
    \par
  \else \hbox to\hsize {\hfil \box \@tempboxa \hfil}
  \fi
}





\def\parpic{%
  \@ifnextchar ({\iparpic}{\iparpic(0pt,0pt)}
}
\def\iparpic(#1,#2){%
  \@ifnextchar ({\@offsettrue\iiparpic(#1,#2)}%
                {\@offsetfalse\iiparpic(#1,#2)(0pt,0pt)}
}
\def\iiparpic(#1,#2)(#3,#4){%
  \@ifnextchar [{\iiiparpic(#1,#2)(#3,#4)}{\iiiparpic(#1,#2)(#3,#4)[l]}
}
\def\iiiparpic(#1,#2)(#3,#4)[#5]{%
  \@ifnextchar [{\ivparpic(#1,#2)(#3,#4)[#5]}{\ivparpic(#1,#2)(#3,#4)[#5][]}
}
\def\ivparpic(#1,#2)(#3,#4)[#5][#6]#7{%
 \let\par=\old@par\par%
 \hangindent0pt\hangafter1%
 \setbox\@BILD=\hbox{#7}%
 \d@breite=#1\d@breite=\the\d@breite%
 \ifdim\d@breite=0pt\d@breite=\wd\@BILD\fi%
 \c@breite=\d@breite\divide\c@breite by65536%
 \multiply\c@piccaption\c@piccaptionpos%
 \d@hoehe=#2\d@hoehe=\the\d@hoehe%
 \ifdim\d@hoehe=0pt\d@hoehe=\ht\@BILD\advance\d@hoehe by\dp\@BILD\fi%
 \c@hoehe=\d@hoehe\divide\c@hoehe by65536%
 \d@xoff=#3\c@xoff=\d@xoff\divide\c@xoff by65536%
 \d@yoff=\d@hoehe%
 \advance\d@yoff by-#4\c@yoff=\d@yoff\divide\c@yoff by65536%
 \c@pos=1\unitlength1pt%
 \if@offset%
   \setbox\@BILD=\hbox{%
     \begin{picture}(\c@breite,\c@hoehe)%
       \put(0,0){\makebox(\c@breite,\c@hoehe){}}%
       \put(\c@xoff,\c@yoff){\box\@BILD}%
     \end{picture}%
   }%
 \else%
   \setbox\@BILD=\hbox{%
     \begin{picture}(\c@breite,\c@hoehe)%
       \put(0,0){\makebox(\c@breite,\c@hoehe)[#6]{\box\@BILD}}%
     \end{picture}%
   }%
 \fi%
 \ifnum\c@piccaption=2%
   \make@piccaption%
   \advance\d@hoehe\ht\@TEXT\advance\d@hoehe\dp\@TEXT%
   \c@hoehe=\d@hoehe\divide\c@hoehe by65536%
   \setbox\@BILD=\vbox{\box\@BILD\vspace{-5pt}%
                       \hbox{\hspace{\fboxsep}\box\@TEXT}%
                       \vspace{4pt}}%
 \fi%
 \@tfor\@tempa := #5\do{%
   \if\@tempa f\setbox\@BILD=\hbox{\Rahmen(\c@breite,\c@hoehe){\box\@BILD}}\fi%
   \if\@tempa s\setbox\@BILD=\hbox{\Schatten(\c@breite,\c@hoehe){\box\@BILD}}\fi%
   \if\@tempa o\setbox\@BILD=\hbox{\Oval(\c@breite,\c@hoehe){\box\@BILD}}\fi%
   \if\@tempa d\setbox\@BILD=\hbox{\Strich(\c@breite,\c@hoehe){\box\@BILD}}\fi%
   \if\@tempa x\setbox\@BILD=\hbox{\Kasten(\c@breite,\c@hoehe){\box\@BILD}}\fi%
   \if\@tempa l\c@pos=1\fi%
   \if\@tempa r\c@pos=2\fi%
 }%
 \ifnum\c@piccaption=1%
   \make@piccaption%
   \advance\d@hoehe\ht\@TEXT\advance\d@hoehe\dp\@TEXT%
   \c@hoehe=\d@hoehe\divide\c@hoehe by65536%
   \setbox\@BILD=\vbox{\box\@BILD\vspace{-5pt}\hbox{\box\@TEXT}\vspace{4pt}}%
 \fi%
 \ifodd\count0\c@picpos=0\else\c@picpos=\@changemode\fi%
 \pagetotal=\the\pagetotal%
 \d@tmp=\pagegoal\advance\d@tmp by-\pagetotal\advance\d@tmp by-\baselineskip%
 \ifdim\d@hoehe>\d@tmp%
   \vskip 0pt plus\d@hoehe\relax\pagebreak[3]\vskip 0pt plus-\d@hoehe\relax%
   \ifnum\c@picpos=1\c@picpos=0\else\c@picpos=\@changemode\fi%
 \fi%
 \ifnum\c@picpos=1\ifnum\c@pos=1\c@pos=2\else\c@pos=1\fi\fi%
 \ifnum\@listdepth>0
   \@listtrue\parshape 0%
   \advance\hsize -\rightmargin%
   \d@leftskip \leftskip%
   \leftskip \@totalleftmargin%
   \if@inlabel\rule{\linewidth}{0pt}\vskip-\baselineskip\relax\fi%
 \else\@listfalse\medskip%
 \fi%
 \if@list\d@tmpa=\linewidth\else\d@tmpa=\hsize\fi%
 \ifnum\c@piccaption=3%
   \make@piccaption%
   \d@tmp\ht\@TEXT\advance\d@tmp\dp\@TEXT%
   \ifdim\d@hoehe>\d@tmp%
     \setbox\@TEXT=\vbox to\d@hoehe{\vfill\box\@TEXT\vspace{.2\baselineskip}\vfill}%
   \else%
     \setbox\@BILD=\vbox to\d@tmp{\vfill\box\@BILD\vfill}%
     \d@hoehe\d@tmp%
   \fi%
 \fi%
 \ifnum\c@piccaption=4%
   \make@piccaption%
   \d@tmp\ht\@TEXT\advance\d@tmp\dp\@TEXT%
   \setbox\@TEXT=\vbox to\d@hoehe{\vspace{-10pt}\box\@TEXT\vfil}%
   \advance\d@hoehe-\d@tmp%
 \fi%
 \ifnum\c@pos=1\d@tmpa=0pt%
   \ifnum\c@piccaption>2%
      \setbox\@BILD=\hbox{\box\@BILD\hspace{\d@pichskip}\hbox{\box\@TEXT}}%
   \fi%
 \else\advance\d@tmpa by-\wd\@BILD\d@breite=-\d@breite%
   \ifnum\c@piccaption>2%
      \d@tmpa=0pt%
      \setbox\@BILD=\hbox{\hbox{\box\@TEXT}\hspace{\d@pichskip}\box\@BILD}%
   \fi%
 \fi%
 \p@getot@l\the\pagetotal%
 \d@bskip\d@hoehe\advance\d@bskip by\parskip\advance\d@bskip by.3\baselineskip%
 {\noindent\hspace*{\d@tmpa}\relax%
  \box\@BILD\nopagebreak\vskip-\d@bskip\relax\nopagebreak}%
 \d@tmp=-\d@hoehe\divide\d@tmp by\baselineskip%
 \c@zeilen=\d@tmp\advance\c@zeilen by-1%
 \ifdim\d@breite<0pt\advance\d@breite by-\d@pichskip%
 \else\advance\d@breite by\d@pichskip%
 \fi%
 \hangindent=\d@breite%
 \hangafter=\c@zeilen%
 \let\par=\x@par%
 \ifnum\c@piccaption=3%
    \hangindent0pt\hangafter1\let\par=\old@par%
    \vskip\d@hoehe\vskip.2\baselineskip%
 \fi%
 \c@piccaption=0%
}




\newdimen\ptoti
\newdimen\ptotii
\def\x@par{%
 \ptoti\pagetotal%
 \old@par%
 \ptotii\pagetotal%
 \ifdim\ptoti=\ptotii%
   \d@tmp\d@hoehe%
 \else%
   \d@tmp\baselineskip%
   \multiply\d@tmp by\prevgraf%
   \advance\d@tmp by\parskip%
   \global\advance\d@hoehe by-\d@tmp\d@tmp=\d@hoehe%
 \fi%
 \ifdim\d@hoehe>0pt%
   \divide\d@tmp by\baselineskip\c@zeilen=-\d@tmp\advance\c@zeilen by-1%
   \c@zeilen=\the\c@zeilen%
 \else\c@zeilen=0
 \fi
 \ifnum\c@zeilen<0\hangafter=\c@zeilen\hangindent=\d@breite%
 \else\let\par=\old@par%
   \hangindent 0pt%
   \leftskip \d@leftskip%
   \if@list\parshape \@ne \@totalleftmargin \linewidth%
     \advance\hsize \rightmargin%
   \fi%
 \fi%
}


\def\picskip#1{%
 \let\par=\old@par%
 \par%
 \pagetotal\the\pagetotal%
 \c@tmp=#1\relax%
 \ifnum\c@tmp=0%
   \d@tmp\baselineskip\multiply\d@tmp by\prevgraf\advance\d@tmp\parskip%
   \ifdim\p@getot@l<\pagetotal
     \advance\d@hoehe by-\d@tmp\advance\d@hoehe by1ex%
     \ifdim\d@hoehe>0pt\vspace*{\d@hoehe}\fi%
   \fi%
   \ifdim\p@getot@l=\pagetotal%
     \advance\d@hoehe by-\d@tmp\advance\d@hoehe by1ex%
     \ifdim\d@hoehe>0pt\vspace*{\d@hoehe}\fi%
   \fi%
 \else\hangafter=-\c@tmp\hangindent=\d@breite%
 \fi%
 \leftskip \d@leftskip%
 \if@list\parshape \@ne \@totalleftmargin \linewidth%
   \advance\hsize \rightmargin%
 \fi%
}






\def\hpic{%
  \@ifnextchar ({\ihpic}{\ihpic(0pt,0pt)}
}
\def\ihpic(#1,#2){%
  \@ifnextchar ({\@offsettrue\iihpic(#1,#2)}%
                {\@offsetfalse\iihpic(#1,#2)(0pt,0pt)}
}
\def\iihpic(#1,#2)(#3,#4){%
  \@ifnextchar [{\iiihpic(#1,#2)(#3,#4)}{\iiihpic(#1,#2)(#3,#4)[l]}
}
\def\iiihpic(#1,#2)(#3,#4)[#5]{%
  \@ifnextchar [{\ivhpic(#1,#2)(#3,#4)[#5]}{\ivhpic(#1,#2)(#3,#4)[#5][]}
}
\def\ivhpic(#1,#2)(#3,#4)[#5][#6]#7{%
  \setbox\@BILD=\hbox{#7}%
  \d@breite=#1\d@breite=\the\d@breite%
  \ifdim\d@breite=0pt\d@breite=\wd\@BILD\fi%
  \c@breite=\d@breite\divide\c@breite by65536%
  \d@hoehe=#2\d@hoehe=\the\d@hoehe%
  \ifdim\d@hoehe=0pt\d@hoehe=\ht\@BILD\advance\d@hoehe by\dp\@BILD\fi%
  \c@hoehe=\d@hoehe\divide\c@hoehe by65536%
  \d@xoff=#3\c@xoff=\d@xoff\divide\c@xoff by65536%
  \d@yoff=\d@hoehe%
  \advance\d@yoff by-#4\c@yoff=\d@yoff\divide\c@yoff by65536%
  \c@pos=0\d@tmpa=\parindent\parindent=0pt\unitlength1pt%
  \if@offset
    \setbox\@BILD=\hbox{%
      \begin{picture}(\c@breite,\c@hoehe)%
        \put(0,0){\makebox(\c@breite,\c@hoehe){}}%
        \put(\c@xoff,\c@yoff){\box\@BILD}%
      \end{picture}%
    }%
  \else%
    \setbox\@BILD=\hbox{%
      \begin{picture}(\c@breite,\c@hoehe)%
        \put(0,0){\makebox(\c@breite,\c@hoehe)[#6]{\box\@BILD}}%
      \end{picture}%
    }%
  \fi%
  \@tfor\@tempa := #5\do{%
    \if\@tempa f\setbox\@BILD=\hbox{\Rahmen(\c@breite,\c@hoehe){\box\@BILD}}\fi%
    \if\@tempa s\setbox\@BILD=\hbox{\Schatten(\c@breite,\c@hoehe){\box\@BILD}}\fi%
    \if\@tempa o\setbox\@BILD=\hbox{\Oval(\c@breite,\c@hoehe){\box\@BILD}}\fi%
    \if\@tempa d\setbox\@BILD=\hbox{\Strich(\c@breite,\c@hoehe){\box\@BILD}}\fi%
    \if\@tempa x\setbox\@BILD=\hbox{\Kasten(\c@breite,\c@hoehe){\box\@BILD}}\fi%
    \if\@tempa t\c@pos=1\fi%
    \if\@tempa b\c@pos=2\fi%
  }%
 \ifnum\c@pos=0\parbox{\d@breite}{\makebox[0cm]{}\\\box\@BILD\smallskip}\fi%
 \ifnum\c@pos=1\parbox[t]{\d@breite}{\makebox[0cm]{}\\\box\@BILD\smallskip}\fi%
 \ifnum\c@pos=2\parbox[b]{\d@breite}{\makebox[0cm]{}\\\box\@BILD\smallskip}\fi%
 \parindent=\d@tmpa%
}






\def\Rahmen(#1,#2)#3{%
  \c@whole=\@wholewidth\divide\c@whole by65536%
  \c@half=\@halfwidth\divide\c@half by65536%
  \c@tmpa=#1\advance\c@tmpa by\c@whole\advance\c@tmpa by\c@whole%
  \c@tmpb=#2\advance\c@tmpb by\c@whole\advance\c@tmpb by\c@whole%
  \begin{picture}(\c@tmpa,\c@tmpb)%
    \put(\c@whole,\c@half){\framebox(#1,#2){#3}}%
  \end{picture}%
  \global\advance\d@breite by2\@wholewidth%
  \global\advance\d@hoehe by2\@wholewidth%
}


\def\Schatten(#1,#2)#3{%
  \c@whole=\@wholewidth\divide\c@whole by65536%
  \c@half=\@halfwidth\divide\c@half by65536%
  \c@shad=\d@shad\divide\c@shad by65536%
  \c@tmp=\c@whole\advance\c@tmp by\c@whole\c@tmpd=\c@tmp%
  \advance\c@tmp by\c@shad%
  \advance\c@tmpd by#1%
  \advance\c@half by\c@shad%
  \c@tmpa=#1\advance\c@tmpa by\c@tmp%
  \c@tmpb=#2\advance\c@tmpb by\c@tmp%
  \begin{picture}(\c@tmpa,\c@tmpb)%
    \put(\c@whole,\c@half){\framebox(#1,#2){#3}}%
    \put(\c@shad,0){\rule{\c@tmpd pt}{\c@shad pt}}%
    \put(\c@tmpd,0){\rule{\c@shad pt}{#2 pt}}%
  \end{picture}%
  \global\advance\d@breite by2\@wholewidth\global\advance\d@breite by\d@shad%
  \global\advance\d@hoehe by2\@wholewidth\global\advance\d@hoehe by\d@shad%
}


\def\Oval(#1,#2)#3{%
  \@wholewidth=0.4pt%
  \c@tmpa=\the#1\divide\c@tmpa by2%
  \c@tmpb=\the#2\divide\c@tmpb by2%
  \begin{picture}(#1,#2)%
    \put(\c@tmpa,\c@tmpb){\oval(#1,#2)}%
    \put(0.4,0.4){#3}%
  \end{picture}%
  \global\advance\d@breite by1pt\global\advance\d@hoehe by1pt%
}


\def\Strich(#1,#2)#3{%
  \c@whole=\@wholewidth\divide\c@whole by65536%
  \c@half=\@halfwidth\divide\c@half by65536%
  \c@dash=\d@dash\divide\c@dash by65536%
  \c@tmp=\c@whole\advance\c@tmp by\c@whole%
  \c@tmpa=#1\advance\c@tmpa by\c@tmp%
  \c@tmpb=#2\advance\c@tmpb by\c@tmp%
  \c@tmpc=#1\advance\c@tmpc by\c@whole%
  \c@tmpd=#2\advance\c@tmpd by\c@whole%
  \begin{picture}(\c@tmpa,\c@tmpb)%
    \put(\c@half,\c@half){\dashbox{\c@dash}(\c@tmpc,\c@tmpd){#3}}%
  \end{picture}%
  \global\advance\d@breite by2\@wholewidth%
  \global\advance\d@hoehe by2\@wholewidth%
}


\def\Kasten(#1,#2)#3{%
  \@wholewidth=0.4pt%
  \c@boxl=\d@boxl\divide\c@boxl by65536\c@boxl=\the\c@boxl%
  \c@tmpa=#1\advance\c@tmpa by\c@boxl%
  \c@tmpb=#2\advance\c@tmpb by\c@boxl%
  \c@tmp=#2%
  \begin{picture}(\c@tmpa,\c@tmpb)%
    \put(0,\c@boxl){\framebox(#1,#2){#3}}%
    \put(\c@boxl,0){\line(-1,1){\c@boxl}}%
    \put(\c@boxl,0){\line(1,0){#1}\line(-1,1){\c@boxl}}%
    \put(\c@boxl,0){\put(#1,0){\line(0,1){\c@tmp}%
         \put(0,\c@tmp){\line(-1,1){\c@boxl}}}}%
  \end{picture}%
  \global\advance\d@breite by\d@boxl%
  \global\advance\d@hoehe by\d@boxl%
}





\newbox\env@box%
\newdimen\d@envdp
\newcount\c@hsize
\newcount\c@envdp
\newdimen\d@envb

\long\def\frameenv{\@ifnextchar [{\@frameenv}{\@frameenv[\textwidth]}}
\long\def\@frameenv[#1]{%
 \hsiz@=\textwidth  \textwidth=#1  \d@envb=#1
 \advance\textwidth by-2\@wholewidth
 \advance\textwidth by-2\fboxsep
 \hsize=\textwidth   \linewidth=\textwidth
 \setbox\env@box=\vbox\bgroup}%
\def\endframeenv{%
 \egroup%
 \hsize=\hsiz@  \textwidth=\hsiz@  \linewidth=\hsiz@
 \c@breite=\d@envb   \divide\c@breite by65536
 \advance\d@envb by-2\@wholewidth
 \c@hsize=\d@envb  \divide\c@hsize by65536%
 \d@envdp=\dp\env@box  \advance\d@envdp by\ht\env@box%
 \advance\d@envdp by2\fboxsep%
 \d@hoehe=\d@envdp   \advance\d@hoehe by2\@wholewidth
 \c@hoehe=\d@hoehe   \divide\c@hoehe by65536
 \c@envdp=\d@envdp   \divide\c@envdp by65536%
 \c@tmp=\@wholewidth \divide\c@tmp by65536
 \vskip\@wholewidth%
 \unitlength 1pt\noindent%
 \begin{picture}(\c@breite,\c@hoehe)(0,0)
   \put(\c@tmp,\c@tmp){\framebox(\c@hsize,\c@envdp){\box\env@box}}
 \end{picture}%
}



\long\def\shadowenv{\@ifnextchar [{\@shadowenv}{\@shadowenv[\textwidth]}}
\long\def\@shadowenv[#1]{%
 \hsiz@=\textwidth  \textwidth=#1  \d@envb=#1
 \advance\textwidth by-2\@wholewidth
 \advance\textwidth by-2\fboxsep
 \advance\textwidth by-\d@shad%
 \hsize=\textwidth   \linewidth=\textwidth
 \setbox\env@box=\vbox\bgroup}%
\def\endshadowenv{%
 \egroup
 \hsize=\hsiz@  \textwidth=\hsiz@  \linewidth=\hsiz@
 \d@tmpa=\d@envb
 \c@breite=\d@envb   \divide\c@breite by65536
 \advance\d@envb by-2\@wholewidth  \advance\d@envb by-\d@shad
 \c@hsize=\d@envb  \divide\c@hsize by65536%
 \d@envdp=\dp\env@box  \advance\d@envdp by\ht\env@box%
 \advance\d@envdp by2\fboxsep%
 \c@envdp=\d@envdp   \divide\c@envdp by65536%
 \d@hoehe=\d@envdp
 \advance\d@hoehe by2\@wholewidth  \advance\d@hoehe by\d@shad
 \c@hoehe=\d@hoehe    \divide\c@hoehe by65536
 \c@shad =\d@shad     \divide\c@shad  by65536
 \c@tmp=\@wholewidth  \divide\c@tmp by65536
 \advance\d@tmpa by-2\d@shad
 \c@xoff =\d@tmpa     \divide\c@xoff by65536
 \advance\c@xoff by\c@shad  \advance\c@xoff by-1
 \advance\d@envdp by\@wholewidth
 \vskip\@halfwidth
 \unitlength 1pt\noindent%
 \begin{picture}(\c@breite,\c@hoehe)(0,0)
    \put(\c@tmp,\c@shad){\framebox(\c@hsize,\c@envdp){\box\env@box}}
    \put(\c@shad,0){\rule{\d@tmpa}{\d@shad}}%
    \put(\c@xoff,0){\rule{\d@shad}{\d@envdp}}%
 \end{picture}%
 \vskip\@halfwidth
}


\long\def\dashenv{\@ifnextchar [{\@dashenv}{\@dashenv[\textwidth]}}
\long\def\@dashenv[#1]{%
 \hsiz@=\textwidth  \textwidth=#1  \d@envb=#1
 \advance\textwidth by-2\@wholewidth  \advance\textwidth by-2\fboxsep
 \hsize=\textwidth   \linewidth=\textwidth
 \setbox\env@box=\vbox\bgroup}%
\long\def\enddashenv{%
 \egroup
 \hsize=\hsiz@  \textwidth=\hsiz@  \linewidth=\hsiz@
 \c@breite=\d@envb   \divide\c@breite by65536
 \advance\d@envb by-\@wholewidth
 \c@hsize=\d@envb  \divide\c@hsize by65536%
 \d@envdp=\dp\env@box  \advance\d@envdp by\ht\env@box%
 \advance\d@envdp by2\fboxsep%
 \advance\d@envdp by\@wholewidth
 \d@hoehe=\d@envdp   \advance\d@hoehe by2\@wholewidth
 \c@hoehe=\d@hoehe   \divide\c@hoehe by65536
 \c@envdp=\d@envdp   \divide\c@envdp by65536%
 \c@dash=\d@dash     \divide\c@dash  by65536%
 \c@whole=\@wholewidth  \divide\c@whole by65536
 \c@half=\@halfwidth  \divide\c@half by 65536
 \noindent\unitlength 1pt
 \begin{picture}(\c@breite,\c@hoehe)(0,0)
   \put(\c@half,\c@whole){\dashbox{\c@dash}(\c@hsize,\c@envdp){\box\env@box}}
 \end{picture}%
}


\long\def\ovalenv{\@ifnextchar [{\@ovalenv}{\@ovalenv[\textwidth]}}%
\long\def\@ovalenv[#1]{%
 \hsiz@=\textwidth  \textwidth=#1  \d@envb=#1
 \advance\textwidth by-4\fboxsep
 \hsize=\textwidth   \linewidth=\textwidth
 \setbox\env@box=\vbox\bgroup}%
\long\def\endovalenv{%
 \egroup
 \hsize=\hsiz@  \textwidth=\hsiz@  \linewidth=\hsiz@
 \@wholewidth=0.4pt
 \c@breite=\d@envb   \divide\c@breite by65536
 \advance\d@envb by-2\@wholewidth
 \c@hsize=\d@envb  \divide\c@hsize by65536%
 \d@envdp=\dp\env@box  \advance\d@envdp by\ht\env@box%
 \advance\d@envdp by4\fboxsep%
 \c@envdp=\d@envdp   \divide\c@envdp by65536%
 \d@hoehe=\d@envdp   \advance\d@hoehe by2\@wholewidth
 \c@hoehe=\d@hoehe   \divide\c@hoehe by65536
 \c@tmpa=\c@hsize   \divide\c@tmpa by2%
 \c@tmpb=\c@envdp   \divide\c@tmpb by2%
 \d@tmpa=2\fboxsep   \advance\d@tmpa by\@wholewidth
 \c@xoff=\d@tmpa     \divide\c@xoff  by65536%
 \advance\d@tmpa by\dp\env@box
 \c@yoff=\d@tmpa     \divide\c@yoff  by65536%
 \unitlength 1pt\noindent
 \begin{picture}(\c@breite,\c@hoehe)(0,0)
   \put(\c@tmpa,\c@tmpb){\oval(\c@hsize,\c@envdp)}
   \put(\c@xoff,\c@yoff){\box\env@box}%
 \end{picture}%
}

第三步:

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

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

效果:

在这里插入图片描述

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

\textbf{75.5}

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

\color{英文颜色单词}

LaTeX表格合并实现

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

并某一行和列合

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

单个单词标红 

\textcolor{red}{SRHPENet}

  • 1
    点赞
  • 24
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
引用\[1\]: 【写博客常用】latex表格详细教程(table, tabular, multirow, multicolumn)&latex表格内如何自动换行 看本文先看,本文是基于此篇做表格方法上加了换行的改进,原文有教表格怎么做,两篇都看了你就能做成下面👇这样。\[1\] 引用\[2\]:我们用了上文链接制作出了表格之后,我们发现无法换行,文字可能会超出表格,这里笔者研究了很多方式最后发现:首先加上这个包 \usepackage{multirow} \usepackage{makecell} \usepackage{hyperref}。\[2\] 问题:latex表格不接着 回答: 如果你在使用latex制作表格时遇到了无法换行的问题,可以尝试使用一些包来解决。其中包括multirow、makecell和hyperref。\[2\]这些包可以帮助你在表格中实现自动换行的效果。另外,你也可以参考一些详细的教程,如【写博客常用】latex表格详细教程,该教程提供了关于table、tabular、multirow和multicolumn等方面的详细指导。通过学习这些教程,你可以更好地掌握latex表格的制作方法,并解决表格不接着的问题。\[1\] #### 引用[.reference_title] - *1* *2* [【写博客常用】latex表格详细教程(table, tabular, multirow, multicolumn)&latex表格内如何自动换行](https://blog.csdn.net/liuyiming2019/article/details/115740137)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值