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表格显示结果如下:

 

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM