首页 > 其他 > 详细

latex表格实现文本自动换行

时间:2021-01-14 09:59:52      阅读:286      评论:0      收藏:0      [点我收藏+]
\begin{table*}[]
    \centering
    \begin{tabular}{cclll}
    \hline
  Method & Metric form  & Ideas & Solvers  & Reg.  \  \hline
   Global DML      & Complete PSD matrix                 & \parbox[c]{4cm}{Maximizing the sum of distances between dissimilar points while keeping the distances between similar examples small.}  & \parbox[c]{2cm}{Projected gradient descent; Eigenvalue decomposition.} & No  \\ 
   \hline
   LMNN & Complete PSD matrix& \parbox[c]{4cm}{Local large margin nearest neighborhood; \\ Slack constraints.} &\parbox[c]{2cm}{ Sub-gradient descent.}& No   \\ 
    \end{tabular}
    \caption{Caption}
    \label{tab:my_label}
\end{table*}

  采用\parbox命令,使用方法\parbox{c}{4cm}{text},   以上latex表格显示结果如下:

 技术分享图片

 

latex表格实现文本自动换行

原文:https://www.cnblogs.com/huadongw/p/14275122.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!