由买买提看人间百态

topics

全部话题 - 话题: subfig
1 (共1页)
T*******n
发帖数: 493
1
There have been a lot of discussions about the "subfigure" package.
I would recommend that everyone try the "subfig" package instead,
which is replaces the obsolete "subfigure" package.
Both "subfigure" and "subfig" were written by Steven Cochran.
He originally wrote "subfigure" to be compatible with the "caption2"
package by Axel Sommerfeldt. When "caption2" was upgraded to
"caption version 3" with substantial code rewriting, the "subfigure"
package was also rewritten and became the newer "sub
s*******n
发帖数: 493
2
如果\usepackage{subfigure},大标题都左对齐,小标题是居中;如果\usepackage{
subfig},大、小标题都居中。有什么方法可以都是左对齐?谢谢!用的revtex4!
b******w
发帖数: 6
3

use figure* environment, and subfig package:
\begin{figure*}
\subfig ...
\subfig ...
\subfig ...
\end{figure*}
Check subfig documentation for detailed format.
T*******n
发帖数: 493
4
来自主题: TeX版 - help on subtable label
Try the following. You need the latest versions of subfig and caption from
ctan.org. Check the documentation subfig.pdf for more details. Don't use
subfigure.sty as it is obsolete and replaced by subfig.sty.
\documentclass{article}
\usepackage{subfig}
\captionsetup[table]{position=top}
\captionsetup[subtable]{position=top}
\begin{document}
See the two parts of Table~\ref{tab:something}, namely Table~\ref{tab:10}
and Table~\ref{tab:something}\subref{tab:20}.
\begin{table}[hbt]
\centering
r*******d
发帖数: 958
5
不想用subfig
subfig的ref在我用的模板里有问题
而且caption位置不好控制,总在subfig的下面。
我想放在subfig的左上角,“a)bla bla”
T*******n
发帖数: 493
6
来自主题: TeX版 - 怎么实现这个插图?
Try the subfloat package, LaTeX Companion 2nd ed. pp. 321-322 or
http://www.ctan.org/tex-archive/macros/latex/contrib/subfloat/
By the way, the subfigure package is replaced by the subfig package,
so those who want to generate subfigures should try to use subfig
instead of subfigure. They are by the same author. The subfig
package also works well with the caption package (subfigured worked
with caption2).
T*******n
发帖数: 493
7
来自主题: TeX版 - 请教图片排版问题
Actually the subfigure package is obsolete now. (I think I mentioned
this before.) You might want to try the newer subfig package
(written by the same author); subfig is more compatible with other
packages such as the caption package.
http://www.ctan.org/tex-archive/macros/latex/contrib/subfig/
Documentation for the obsolete subfigure is found at
http://www.ctan.org/tex-archive/obsolete/macros/latex/contrib/subfigure/
b*******t
发帖数: 33714
8
来自主题: TeX版 - 问一个排版图片的问题
最简单的办法是直接
\begin{center}
\includegraphics[width=8cm]{figure1}\\
\includegraphics[width=4cm]{figure2}\includegraphics[width=4cm]{figure3}\\
\end{center}
tabular的话
\begin{tabular}{c}
\includegraphics[width=8cm]{figure1}\\
\includegraphics[width=4cm]{figure2}\includegraphics[width=4cm]{figure3}\\
\end{tabular}
不过我自己的话会用subfig,label和caption支持更好一点。
ftp://ctan.tug.org/tex-archive/macros/latex/contrib/subfig/subfig.pdf
o*******u
发帖数: 242
9
来自主题: Linux版 - reference to subfigue (转载)
【 以下文字转载自 TeX 讨论区 】
发信人: ohliumliu (htmm), 信区: TeX
标 题: reference to subfigue
发信站: BBS 未名空间站 (Tue May 19 22:33:07 2009)
请问subfigure package有没有选项设置cross references的字体?比如有一个图,包
含两个小图(A)和(B),他们分别有label,在正文里引用这两个图的时候,就变成了Fig.
1(a)和Fig.1(b)。如何变成Fig.1(A)和Fig.1(B)呢?每个subfigure底下的title可以选
择是大写还是小写,但不知交叉引用时的字体在哪里控制。查了subfigure和subfig(
subfigure的替代)的文档,似乎没有发现。
谢谢!
T*******n
发帖数: 493
10
来自主题: TeX版 - 很多figure怎么include?
Do you want them to appear as Figures 1 to 16 (16 figures) or as Figures 1(a)
to 1(p) (one figure with 16 subfigures), or Figures 1(a) to 2(h) (two figures
each with eight subfigures)? Normally you should have some kind of captioning
on both pages, regardless of you number the figures. Anyway, take a look at
http://www.ctan.org/tex-archive/macros/latex/contrib/subfig/ if you haven't
already.
a******s
发帖数: 232
11
来自主题: TeX版 - 怎么实现这个插图?
Thanks for your answer. subfloat solved my problem. I have one more quesion
concerning the latex package. It seems there are tons of latex packages
available online,like subfloat,subfig etc. How do I know which package is
the one I need? Most of time, it's very hard to get the exact package I
need. Do you know subfloat before you answered my question? or you've have
experience with subfloat? Thanks again for the answer. :)
T*******n
发帖数: 493
12
You are including a figure of width \textwidth inside a
minipage of width 0.5\textwidth!
Try something simpler:
\documentclass{article}
\usepackage{subfig}
\begin{document}
\begin{figure}
\centering
\subfloat[]{\includegraphics[width=\textwidth]{fig1.eps}}\par
\subfloat[]{\includegraphics[width=\textwidth]{fig2.eps}}\par
\subfloat[]{\includegraphics[width=\textwidth]{fig3.eps}}
\caption{Caption}
\end{figure}
\begin{figure}
\centering
\includegraphics[width=\textwidth]{fig1.eps} \\ (a)\par\bigski
V***a
发帖数: 11942
13
\documentclass[12 pt]{report}
%% The file ``gmudissertation.sty'' is the GMU latex style file and
%% should be placed in the same directory as your LaTeX files
\usepackage{gmudissertation}
\usepackage{multirow}
\usepackage{subfig}
\usepackage{url}
\usepackage{longtable}
%%
%% other packages that need to be loaded
%%
\usepackage{graphicx} % for imported graphics
\usepackage{amsmath} %%
\usepackage{amsfonts} %% for AMS mathematics
\u
a**e
发帖数: 5794
14
来自主题: TeX版 - 很多个图形怎么分页?
subfig?
y*****o
发帖数: 101
15
来自主题: TeX版 - 很多个图形怎么分页?
COOL! it works! Thank you so much!
我的图片本身已经有了(a) (b) (c)的标签,要去掉subfig (或者subfloat)加的a, b,
c的caption应该怎么做?
Thank again!
h******s
发帖数: 176
16
use subfig package
b*m
发帖数: 124
17
来自主题: TeX版 - 插图问题
did you try subfig package?
i***g
发帖数: 551
18
用subfig这个package,大概是这个样子的:
\begin{figure}
\subfloat[][]{
\label{fig:xxx:a}
\begin{minipage}[b]{0.45\linewidth}
\centering \includegraphics[width=\linewidth]{img/xxx}
\end{minipage}}
\hfill
%
\subfloat[][]{
\label{fig:xxx:b}
\begin{minipage}[b]{0.45\linewidth}
\centering \includegraphics[width=\linewidth]{img/xxx}
\end{minipage}}\\
%
\subfloat[][]{
\label{fig:xxx:c}
\begin{minipage}[b]{0.45\linewidth}
\centering \includegraphics[width=\linewidth]{img/xxx}
\end{minipage}}
\hfill
%
\subfloat[][]{
\
o*******u
发帖数: 242
19
来自主题: TeX版 - reference to subfigue
请问subfigure package有没有选项设置cross references的字体?比如有一个图,包
含两个小图(A)和(B),他们分别有label,在正文里引用这两个图的时候,就变成了Fig.
1(a)和Fig.1(b)。如何变成Fig.1(A)和Fig.1(B)呢?每个subfigure底下的title可以选
择是大写还是小写,但不知交叉引用时的字体在哪里控制。查了subfigure和subfig(
subfigure的替代)的文档,似乎没有发现。
谢谢!
s*******n
发帖数: 493
g*********r
发帖数: 124
21
\captionsetup[subfigure]{singlelinecheck=false}
s*******n
发帖数: 493
22
谢谢!
需要\usepackage{caption}吗?
S**I
发帖数: 15689
23
use package subfig
u******s
发帖数: 316
24
来自主题: TeX版 - 请教高手:subfig 排三个图
如何排三个图 in the same Fig: 左边一个大图(a),右边两个小图纵向排列(b)&(c)
. (b)&(c)大小匀称,并要求它们的高度总和与(a)的相等
谢谢~~~~~~~~
g*********r
发帖数: 124
25
来自主题: TeX版 - 请教高手:subfig 排三个图
\begin{figure}[!htb]
\centering
\begin{minipage}[c]{0.5\textwidth}
\subfloat[\footnotesize]{\label{fig:1a}
\includegraphics[width=1.0\textwidth]{1a.eps}}% 左边大图
\end{minipage}\hfill
\begin{minipage}[c]{0.5\textwidth}
\subfloat[\footnotesize]{\label{fig:1b}\includegraphics[width=1.0\textwidth]
{1b.eps}}\ % 右上小图
\subfloat[\footnotesize]{\label{fig:1c}\includegraphics[width=1.0\textwidth]
{1c.eps}} % 右下小图
\end{minipage}
\caption{...}
\label{fig:1}
\end{figure}
如果想达到两边图形高度相等的效果,两个小页的宽度需要作适当调整。

c)
u******s
发帖数: 316
26
来自主题: TeX版 - 请教高手:subfig 排三个图
Thanks a lot....I did it yesterday ..minipage too ,but using 'overpic'
package ..
a**e
发帖数: 5794
27
我猜你排列图片的意思就是一张大图里有八张小图,那么可以用subfig
宏包。
S**I
发帖数: 15689
28
\usepackage{subfig}
\begin{figure}
\subfloat{\includegraphics{fig1}}
~~\subfloat{\includegraphics{fig2}}
\subfloat{\includegraphics{fig3}}
\end{figure}
b*******t
发帖数: 33714
29
来自主题: TeX版 - 请问tex中如何实现这种图
\usepackage[caption=false]{subfig}
\usepackage[footnotesize]{caption}
\begin{figure}[htbp]\centering
\subfloat[]{\label{aa}\includegraphics{a.jpg}}
\subfloat[]{\label{bb}\includegraphics{b.jpg}}\\
\subfloat[]{\label{cc}\includegraphics{c.jpg}}
\subfloat[]{\label{dd}\includegraphics{d.jpg}}\\
\caption{Subfloat test: \subref{aa} subplot a \subref{bb} subplot b \subref{
cc} subplot c \subref{dd} subplot d.}
\label{fig:test}
\end{figure}
b*****n
发帖数: 71
30
不明白为啥需要矢量图,又说eps除外……
print -depsc2 保存为eps,按照楼上的办法,subfig拼在一起不就完了?
Xelatex编译

as"
b*******t
发帖数: 33714
31
试试\ContinuedFloat
需要subfig和caption
m**a
发帖数: 53
32
来自主题: Physics版 - 有没有人用revtex4-1
这是个好问题。相关的包以及相互兼容性最近一两年好像老是变,我去年投文章用的是
subfig包,用法如下:
begin{figure}
subfloat[FOOBAR'S SUBCAPTION]{includegraphics{FOOBAR}}
%...
end{figure}
具体google之。
1 (共1页)