Re: [請益] beamer multirow vdots

看板LaTeX (論文排版)作者 (cholauda)時間12年前 (2012/12/20 14:12), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/4 (看更多)
小弟就採用大大教的方式改 但是不很清楚該怎麼寫誠macro囧... 但至少問題解決了 感謝大大分享 ※ 引述《LaTeX <albert84317@gmail.com>, 看板: LaTeX》之銘言: : Here is one solution where I modify the definition of \vdots in TeX and : give it a name \vdotspan in which the pt size is manipulated : if multirow is 3, 4, or 5 you may need to try the pt size again. : or make a macro out of this. I will leave it to you. : If you do make a macro, please share your achievement here with others : --------------- : \documentclass{article} : \usepackage{multirow} : \def\vdotspan{\vbox{ : \baselineskip = 4pt\relax : \advance\baselineskip by 4pt\relax : \lineskiplimit = 0pt\relax : \kern 4pt\relax : \hbox {.}\hbox {.}\hbox {.} : }} : \begin{document} : \begin{tabular}{|c|c|c|} : \multirow{2}{*}{\vdotspan} : &A &B \\ : & C&D : \end{tabular} : \end{document} -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.113.150.197
文章代碼(AID): #1Gqgn6bL (LaTeX)
文章代碼(AID): #1Gqgn6bL (LaTeX)