谁有这几张阿娇不照雅照片原图55的原图。急求谢谢。

查看: 9308|回复: 9
求助求助,怎样将图片并排插入,各有子标题?急求各位,谢谢了先。
\begin{figure}[htbp]
\centering
\begin{minipage}
\centering
\includegraphics{image001.jpg}
\caption{qingming}
\end{minipage}
\hspace {}
\begin{minipage}
\centering
\includegraphics{image001.jpg}
\caption{fuming}
\end{minipage}
\end{figure}
查看了相关资料,代码如上,编译时提示minipage环境未定义,怎么回事啊?求助下各位
minipage环境使用错误,没有指定页宽。其实用subfig可以更简单吧
Marlin 发表于
minipage环境使用错误,没有指定页宽。其实用subfig可以更简单吧
这个subfit怎么用呢?Marlin老师
咸菜粉丝团6 发表于
这个subfit怎么用呢?Marlin老师
去看文档。。texdoc subfig复制代码
Liam0205 发表于
去看文档。。
看了,源代码改为如下:
\begin{figure}[htbp]
\centering
\begin{minipage}[t]{0.4\textwidth}
\centering
\includegraphics{image010.png}
\caption{The curve of the extracted and predicted random term displacement with time of ZG118}
\end{minipage}
\hspace{.15\textwidth}
\begin{minipage}[t]{0.4\textwidth}
\centering
\includegraphics{image011.png}
\caption{The curve of the extracted and predicted random term displacement with time of XD-01}
\end{minipage}
\end{figure}
结果放在两个文件里编译出来不一样啊,一个文件里编译出来是符合要求的,但另一个文件里编译出来,独自占了一页,图片还只是显示一小部分,这是什么原因呢?
咸菜粉丝团6 发表于
看了,源代码改为如下:
\begin{figure}[htbp]
\centering
1. subfig 不是这样用的。
2. 无代码无真相。既然你知道这段代码在两份文档里效果不一样,就说明不是这段代码的问题(而是别的代码的问题)。那么为什么不给出来呢。
Liam0205 发表于
1. subfig 不是这样用的。
2. 无代码无真相。既然你知道这段代码在两份文档里效果不一样,就说明不是这段 ...
谢谢Liam的点拨。可能我没表达清楚:
1.我代码里用的是minipage,没有用到subfig,我也按你提供的文档找了那个,编了代码如下:
\begin{figure}[htbp]
\centering
\subfloat[The curve of the extracted and predicted random term displacement with time of ZG118]
{\includegraphics[height=5cm]{image042.png}}
\hspace{4em}
\subfloat[The curve of the extracted and predicted random term displacement with time of XD-01]
{\includegraphics[height=5cm]{image043.png}}
\end{figure}但最后编译出来时两个图片也没有并排排列。
2.别的代码没贴出来是因为太长了(编译出来14页),这个文章是要发在外文期刊上,之前别的都弄好了,就剩这个并排的图片问题了。而且两个文件之间除了引用的图片不一样,其余的都是一样的,所以我想别的代码应该是没有问题的。但就是不知道原因在哪里。
咸菜粉丝团6 发表于
谢谢Liam的点拨。可能我没表达清楚:
1.我代码里用的是minipage,没有用到subfig,我也按你提供的文档找了 ...
没有并排放是因为你没有限制图片在 pdf 输出中的宽度,导致换行了。这不是宏包的问题,而是你使用的问题。
贴代码是为了让错误/问题在我们的计算机上重现,而不是让我们看你的论文,所以你应该精简你的代码至少到你自己可以接受的程度。
代码简略如下:
\documentclass[a4paper,10pt]{article}
\usepackage{amsmath}
\usepackage{graphicx}
%\usepackage{indentfirst}%首段也缩进
\usepackage{times}
\begin{document}
\title{Displacement prediction in Baishuihe landslide, Three Gorges Reservoir, China}
\author{Allen }
%\date{Received: date / Accepted: date}
\maketitle
\begin{figure}[htbp]
\centering
\begin{minipage}[t]{0.4\linewidth}
\centering
\includegraphics{image007.png}
\caption{The curve of the extracted and predicted periodic term displacement with time of ZG118}
\end{minipage}
\hspace{.1\linewidth}
\begin{minipage}[t]{0.4\linewidth}
\centering
\includegraphics{image008.png}
\caption{The curve of the extracted and predicted random term displacement with time of XD-01}
\end{minipage}
\end{figure}
\end{document}
得到的图独自占了一页,图片还是只显示一小部分。该如何调整大小?
给你个使用 subfig + subcaption 宏包的例子:
\usepackage{graphicx}
\usepackage{caption}
\usepackage{subcaption}
\begin{figure}
& && &&&\centering
& && &&&\begin{subfigure}[b]{0.3\textwidth}
& && && && && & \centering
& && && && && & \includegraphics[width=\textwidth]{gull}
& && && && && & \caption{A gull}
& && && && && & \label{fig:gull}
& && &&&\end{subfigure}%
& && &&&~ %add desired spacing between images, e. g. ~, \quad, \qquad etc.
& && && & %(or a blank line to force the subfigure onto a new line)
& && &&&\begin{subfigure}[b]{0.3\textwidth}
& && && && && & \centering
& && && && && & \includegraphics[width=\textwidth]{tiger}
& && && && && & \caption{A tiger}
& && && && && & \label{fig:tiger}
& && &&&\end{subfigure}
& && &&&~ %add desired spacing between images, e. g. ~, \quad, \qquad etc.
& && && & %(or a blank line to force the subfigure onto a new line)
& && &&&\begin{subfigure}[b]{0.3\textwidth}
& && && && && & \centering
& && && && && & \includegraphics[width=\textwidth]{mouse}
& && && && && & \caption{A mouse}
& && && && && & \label{fig:mouse}
& && &&&\end{subfigure}
& && &&&\caption{Pictures of animals}\label{fig:animals}
\end{figure}复制代码
Powered by谁有这张照片的高清大图,急求谢谢了!_百度知道
谁有这张照片的高清大图,急求谢谢了!
我有更好的答案
采纳率:80%
去百度识图找
自己百度奥娜美丽莎,这俩娃确实很萌但现在好像长残了。
为您推荐:
其他类似问题
换一换
回答问题,赢新手礼包
个人、企业类
违法有害信息,请在下方选择后提交
色情、暴力
我们会通过消息、邮箱等方式尽快将举报结果通知您。求这位美女的其他照片,有张在草地上坐着,谢谢,_百度知道
求这位美女的其他照片,有张在草地上坐着,谢谢,
我有更好的答案
手机发不上图片
为您推荐:
其他类似问题
美女的相关知识
换一换
回答问题,赢新手礼包
个人、企业类
违法有害信息,请在下方选择后提交
色情、暴力
我们会通过消息、邮箱等方式尽快将举报结果通知您。谁有香港机场的照片啊,求白天夜间各一张、谢谢了._百度知道
谁有香港机场的照片啊,求白天夜间各一张、谢谢了.
我有更好的答案
你用“香港机场”上百度图片上找就有很多了。
采纳率:90%
为您推荐:
其他类似问题
车架号的相关知识
换一换
回答问题,赢新手礼包
个人、企业类
违法有害信息,请在下方选择后提交
色情、暴力
我们会通过消息、邮箱等方式尽快将举报结果通知您。已解决问题
找一款可以把图片和文件名一起打印出来的免费软件,一张A4纸可以打印几个图片的那种,急求,谢谢!
浏览次数:4379
用手机阿里扫一扫
最满意答案
ACDSEE你机器上总有吧,从5.0开始应该就这有这个功能了,在ACDSEE中选中你的图片,文件-打印,缩略图下指定图片大小,标题下加入文件名就可以了(这个操作视你的ACDSEE版本而定)
答案创立者
以企业身份回答&
正在进行的活动
生意经不允许发广告,违者直接删除
复制问题或回答,一经发现,拉黑7天
快速解决你的电商难题
店铺优化排查提升2倍流量
擅长&nbsp 店铺优化
您可能有同感的问题
扫一扫用手机阿里看生意经
问题排行榜
当前问题的答案已经被保护,只有知县(三级)以上的用户可以编辑!写下您的建议,管理员会及时与您联络!
server is ok}

我要回帖

更多关于 照片原图 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信