看板LaTeX
标 题Re: [问题] includegraphics 的对齐
发信站(null) (Thu Aug 15 05:55:26 2013)
转信站ptt!news.ntu!ctu-gate!news.nctu!usenet.stanford.edu!f7no2415511qan.0!n
1. Why do I use vspace{0pt}?
The default reference point for minipage alignment is the baseline, i.e., b=
ottom. To release it, one needs to use \vspace{0pt}, a trick I learned from=
questions about minipage alignement in the Internet a while back, then jus=
t know such usage. In the beginning, I did not kwnow the reason behind it e=
ither, but persistent research pays off, one day, I saw a blogger mentioned=
this point in this website. When your question arised, I tried it out and =
it works. So puzzle confirmed and solved.=20
2. Yes, in theory, a new environment needs not another environment in it. B=
ut, often time, a new environment is used to modify an existing environment=
, to expand the existing one. In this particular case, the questioner wants=
to establish a connection with the higher level section counter. This is w=
hat the questioner wants because he/she defined it, not me. This also demon=
strates an MWE is important when one asks a LaTeX question.