[問題] llap 文字對齊
我想做出一個客製化的theorem環境如下:
Theorem 1.2 Lorem ipsum dolor sit amet, consectetur adip asdas jasdjk asdj
----------- ad asd asdjasd ahsd hasjdh 1uheu h uqehru fhwefuoh wouehfo hqf
fwefwefihwuief wuiefh iuwhef wheuf hweufh uiwhefui hweu if hwu
wuiefhuweh fuiwhefui hwuefh wef
使用的方式是
\noindent\llap{%
\vtop{%
\hbox to 75pt{Theorem 1.2\hfil}%
\hbox{---------}%
}%
}
\lipsum[1]
其中虛線是用rule去實做
但是會得到這個結果:
Theorem 1.2 Lorem ipsum dolor sit amet, consectetur adip asdas jasdjk asdj
-----------
ad asd asdjasd ahsd hasjdh 1uheu h uqehru fhwefuoh wouehfo hqf
fwefwefihwuief wuiefh iuwhef wheuf hweufh uiwhefui hweu if hwu
wuiefhuweh fuiwhefui hwuefh wef
一個解決辦法是改成\vtop to 0pt
但這樣無法避免地會出現Overfull \vbox
請問有任何以這個大架構下的解決辦法嗎?
(用ntheorem定義\newtheoremstyle,也是一樣的問題)
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 122.116.92.72
※ 文章網址: https://www.ptt.cc/bbs/LaTeX/M.1462629066.A.E10.html
※ 編輯: chehsunliu (122.116.92.72), 05/07/2016 21:53:04
→
05/08 15:40, , 1F
05/08 15:40, 1F
→
05/08 19:10, , 2F
05/08 19:10, 2F
→
05/09 00:12, , 3F
05/09 00:12, 3F
LaTeX 近期熱門文章
PTT數位生活區 即時熱門文章