24小时热门版块排行榜    

查看: 5449  |  回复: 2

lulu_66

银虫 (正式写手)

[求助] 如何在latex中插图插文字

我想在latex中插入图片, 并且把这个图片的注释放在图片的右边, 不知道有什么命令可以实现? 以前用过把这个图片的注释放在图片的下边, 但现在想把这个图片的注释放在图片的右边, 就不会了, 谢谢指点.
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

生活没有目标=慢性自杀
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

lgsppq

木虫 (正式写手)

【答案】应助回帖

图文分离是排版的一个大原则啊(文中不应该使用图的右边左边上面下面这样的字眼),如果实在要放在图的旁边且注释不多的话,可以考虑把注释作为图的一部分。
否则即使你把注释成功放在图的右边了,排版的编辑一不小心就把位置给弄开了,这个时候可能别人就读不懂了。
2楼2011-12-09 08:48:32
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

wolfqfy

金虫 (正式写手)

【答案】应助回帖

Putting the figure and the caption side by side.
Normally the caption goes below or above the figure, but you may want it to the left or the right instead. The minipage environment is useful. The following example puts the figure on the left side using 58% of the with, and the caption on the rigth using 38% of the with. The remaining 4% of the page width ends up separating the two due to the \hfill command.

\begin{figure}
  \begin{center}
    \begin{minipage}[t]{0.58\linewidth}
      \epsfig{file=somefile.ps, width=\linewidth}
    \end{minipage}\hfill
    \begin{minipage}[t]{0.38\linewidth}
      \caption{This is the caption.\label{fig:rawss}}
    \end{minipage}
  \end{center}
\end{figure}

Note the placement of the \label command, it must appear inside the \caption command, or after it but still inside the minipage environment. Otherwise references to the figure will be wrong.

The vertical alignment of the figure and the caption may be troublesome, you may have to put the figure inside a \raisebox command.

\raisebox{2cm}{\epsfig{file=somefile.ps, width=\linewidth}}

Or change the [t] optional argument to the minipage environments to [c] or . Experiment!
白日放歌须纵酒,青春作伴好还乡。
3楼2011-12-09 10:47:53
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 lulu_66 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 0703化学 305求调剂 +6 FY_yy 2026-03-14 6/300 2026-03-21 22:23 by peike
[基金申请] 山东省面上项目限额评审 +3 石瑞0426 2026-03-19 3/150 2026-03-21 18:59 by RRRKKK
[考研] 初试 317 +6 半拉月丙 2026-03-20 6/300 2026-03-21 18:27 by 学员8dgXkO
[考研] 278求调剂 +9 烟火先于春 2026-03-17 9/450 2026-03-21 17:47 by 学员8dgXkO
[考研] 0703化学297求调剂 +3 Daisy☆ 2026-03-20 3/150 2026-03-21 17:45 by ColorlessPI
[考研] 311求调剂 +3 勇敢的小吴 2026-03-20 3/150 2026-03-21 17:40 by ColorlessPI
[考研] 313求调剂 +4 肆叁贰壹22 2026-03-19 4/200 2026-03-21 17:33 by ColorlessPI
[考研] 材料 271求调剂 +5 展信悦_ 2026-03-21 5/250 2026-03-21 17:29 by 学员8dgXkO
[考研] 306求0703调剂一志愿华中师范 +5 纸鱼ly 2026-03-21 5/250 2026-03-21 17:11 by 学员8dgXkO
[考研] 0805材料320求调剂 +3 深海物语 2026-03-20 3/150 2026-03-21 15:46 by 无际的草原
[考研] 一志愿山大07化学 332分 四六级已过 本科山东双非 求调剂! +3 不想理你 2026-03-16 3/150 2026-03-21 03:59 by JourneyLucky
[考研] 机械专硕299求调剂至材料 +3 kkcoco25 2026-03-16 4/200 2026-03-21 03:52 by JourneyLucky
[考研] 08工科 320总分 求调剂 +6 梨花珞晚风 2026-03-17 6/300 2026-03-21 03:40 by JourneyLucky
[考研] 085700资源与环境308求调剂 +12 墨墨漠 2026-03-18 13/650 2026-03-21 01:42 by JourneyLucky
[考研] 311求调剂 +5 冬十三 2026-03-18 5/250 2026-03-21 00:16 by JourneyLucky
[考研] 0817 化学工程 299分求调剂 有科研经历 有二区文章 +22 rare12345 2026-03-18 22/1100 2026-03-20 20:39 by zhukairuo
[考研] 08工学调剂 +5 用户573181 2026-03-20 5/250 2026-03-20 15:47 by xia_2003
[论文投稿] 申请回稿延期一个月,编辑同意了。但系统上的时间没变,给编辑又写邮件了,没回复 10+3 wangf9518 2026-03-17 4/200 2026-03-19 23:55 by babero
[考研] 考研求调剂 +3 橘颂. 2026-03-17 4/200 2026-03-17 21:43 by 有只狸奴
[考研] 070303 总分349求调剂 +3 LJY9966 2026-03-15 5/250 2026-03-16 14:24 by xwxstudy
信息提示
请填处理意见