• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
华东 博客
17年国科大博士毕业,曾就职于三星电子,清华博后,目前在某大模型创业公司工作,研究方向大模型、智能体 新浪博客: http://blog.sina.com.cn/u/2463286753
博客园    首页    新随笔    联系   管理    订阅  订阅
latex表格实现文本自动换行
\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表格显示结果如下:

 

 

posted on 2021-01-14 00:04  华东博客  阅读(4717)  评论(1)    收藏  举报
刷新页面返回顶部
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3