日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 综合教程 >内容正文

综合教程

latex题注(caption)位置

發布時間:2023/12/15 综合教程 34 生活家
生活随笔 收集整理的這篇文章主要介紹了 latex题注(caption)位置 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

http://anything-is-ok.blog.163.com/blog/static/205720233201301634053760/

我們以插入圖片為例來說明latex中將題注(caption)置于不同位置的方法。

一般而言圖片的題注會加在圖片下方。如果想要使題注位于圖片上方,只需要 caption{caption-content} 置于命令 includegraphics[options]{picture-file} 之前即可。下面是一個例子。

documentclass[a4paper,12pt]{article}
usepackage{graphicx}
egin{document}
egin{figure}[h!]
caption{A picture of a gull.}
centering
includegraphics[width=0.5 extwidth]{atom_in_cavity.jpg}
end{figure}
egin{figure}[h!]
centering
eflectbox{%
includegraphics[width=0.5 extwidth]{atom_in_cavity.jpg}}
caption{A picture of the same gull
looking the other way!}
end{figure}
end{document}

有的時候我們還可能希望題注出現在圖片的右面。這可以通過兩種方法實現。第一,在figure環境中嵌套小頁(minipage)環境來實現。第二,使用sidecap宏包中的SCfigure環境。下面例子中我們分別使用了這兩種方法實現了題注的側置。

documentclass[a4paper,12pt]{article}
usepackage{graphicx}
usepackage{sidecap}
egin{document}
egin{figure}
egin{minipage}{0.5 extwidth}
includegraphics[width= extwidth]{atoms_in_cavity.jpg}
end{minipage}%
egin{minipage}{0.5 extwidth}
caption{A picture of a gull.}
end{minipage}
end{figure}
egin{SCfigure}
centering
includegraphics[width=0.5 extwidth]{atoms_in_cavity.jpg}
caption{A picture of a gull}
end{SCfigure}
end{document}

——數聲風笛離亭晚,我想瀟湘君想秦!

總結

以上是生活随笔為你收集整理的latex题注(caption)位置的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。