LaTeX Subfigure 中间添加垂直线
来源:互联网 发布:动漫素描教程软件 编辑:程序博客网 时间:2024/04/29 11:34
最近论文用到这个效果, 先实现下, 嘿嘿。
\documentclass{article}\usepackage{tikz,lscape,amsmath}\usepackage[margin=1cm]{geometry}\usetikzlibrary{matrix}\begin{document}\def\arraystretch{0.5}\tikzset{ table/.style={ matrix of nodes, row sep=-\pgflinewidth, % <-- This adjusts the row separation column sep=\pgflinewidth,% <-- This adjusts the column separation nodes={rectangle,draw=none, text width=2cm, align=center,inner sep=2pt,outer sep=0pt},% nodes in empty cells }}\begin{tikzpicture}\matrix (mat) [table]{\includegraphics[width=2cm]{example-image-A} & \includegraphics[width=2cm]{example-image-A} & \includegraphics[width=2cm]{example-image-A} & \includegraphics[width=2cm]{example-image-A} & \includegraphics[width=2cm]{example-image-B} & \includegraphics[width=2cm]{example-image-B} & \includegraphics[width=2cm]{example-image-B} & \includegraphics[width=2cm]{example-image-B}\\\includegraphics[width=2cm]{example-image-A} & \includegraphics[width=2cm]{example-image-A} &\includegraphics[width=2cm]{example-image-A}&\includegraphics[width=2cm]{example-image-A} &\includegraphics[width=2cm]{example-image-B} & \includegraphics[width=2cm]{example-image-B} & \includegraphics[width=2cm]{example-image-B}& \includegraphics[width=2cm]{example-image-B}\\\includegraphics[width=2cm]{example-image-A} & \includegraphics[width=2cm]{example-image-A} &\includegraphics[width=2cm]{example-image-A}&\includegraphics[width=2cm]{example-image-A} &\includegraphics[width=2cm]{example-image-B} & \includegraphics[width=2cm]{example-image-B} & \includegraphics[width=2cm]{example-image-B}& \includegraphics[width=2cm]{example-image-B}\\\includegraphics[width=2cm,height=2.3cm]{example-image-A} & \includegraphics[width=2cm,height=2.3cm]{example-image-A} &\includegraphics[width=2cm,height=2.3cm]{example-image-A}&\includegraphics[width=2cm,height=2.3cm]{example-image-A} &\includegraphics[width=2cm,height=2.3cm]{example-image-B}& \includegraphics[width=2cm,height=2.3cm]{example-image-B} & \includegraphics[width=2cm,height=2.3cm]{example-image-B} & \includegraphics[width=2cm,height=2.3cm]{example-image-B}\\};\draw[red,dashed,very thick](mat-1-4.north east)--(mat-4-4.south east); %<-- This is for the red line in the middle\end{tikzpicture}\end{document}
效果:
大家学习吧。 但是我自己用在论文中有个bug。 大家测试下, 有什么改进的方法哟, 欢迎指出来哟。
0 0
- LaTeX Subfigure 中间添加垂直线
- latex subfigure
- Latex's subfigure
- Latex使用--subfigure竖排图形
- <zz>latex中subfigure间距调整
- 使用latex的subfigure并排放置两张图
- latex error: file 'subfigure.sty' not found
- LaTeX subfigure和minipage的使用
- subfigure
- Android中添加水平线和垂直线
- Latex并列图形(不是subfigure)的画法,需要用到figure和minipage
- Latex并列图形(不是subfigure)的画法,用到figure和minipage
- latex subfigure 下标乱序 下标重排 下标置零 问题
- Latex并列图形(不是subfigure)的画法,用到figure和minipage
- 使用latex的subfigure并排放置多张图(亲测可用)
- 横线中间添加文字
- latex 添加插图
- LaTeX添加包
- 浅析Android中的消息机制
- 【转】Oracle内连接、外连接、右外连接、全外连接小总结
- 黑马程序员_交通等管理系统
- Linux操作系统访问
- SQLServer线程与纤维
- LaTeX Subfigure 中间添加垂直线
- 简单枚举类型——植物与颜色 (SDUT 1959)
- html Form属性Name和ID的区别
- 微信公众帐号开发教程第14篇-自定义菜单的创建及菜单事件响应
- el表达式
- html中ol,ul,li 分别是哪几个英语单词的缩写?
- AJAX
- POJ-1797(最短路的变形)
- 如何在Root的手机上开启ViewServer,使得HierachyViewer能够连接