作者Volodos (Volodos)
看板LaTeX
标题Re: [问题] 两张图片如何叠在一起
时间Wed Aug 17 06:24:29 2011
※ 引述《chaug ()》之铭言:
: 我现在手边有两张eps图档
: a.eps & b.eps
: 想要将一张叠在另外一张的左上角
: 不知道各位大大有没有甚麽建议跟方法?
我是用 .jpg 档来测, 但我想差不多
(以下假设, test2.JPG 是要叠上去的那一张,
所以 test2.JPT 比 test.jpg 小)
aaa, bbb, framebox 只是方便测试用
aaa
\setbox0=\hbox{{\includegraphics[width=.6\textwidth]{test.jpg}}}
\setbox1=\hbox{{\includegraphics[width=.3\textwidth]{test2.JPG}}}
\setbox2=\hbox{\hbox to0pt{\vbox to0pt{\framebox{\copy0}}}
\vbox to0pt{\framebox{\copy1}}}
\hbox{\copy2}\vspace{\ht0}
bbb
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 68.231.175.130