Centering Text within a Multirow Cell in LaTex

前端 未结 4 669
一生所求
一生所求 2021-02-07 03:27

This is probably best explained with an example. I have the following table, where the \"A\" cell spans two rows, and the \"B\" cell spans two columns.

\\begin{t         


        
4条回答
  •  名媛妹妹
    2021-02-07 03:44

    \multirow{2}{*}{\hfil A}
    

    \hfil will automatically calculate the width of the cell and insert a half-width space

    To insert a full cell-width space, which will right-justify a single cell, use \hfill. There are also \vfil and \vfill analogues.

提交回复
热议问题