24小时热门版块排行榜    

查看: 3477  |  回复: 20
当前主题已经存档。
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

math105

金虫 (正式写手)

[交流] 【求助】如何在latex里插入图片

如何在latex里插入图片呢? 我试了好几天都不行,网络上baidu来的也不能运行,不知道是为什么.  我用的软件是中文tex套装 winedt, 请大家帮帮忙.
回复此楼
踏实做学问
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

feiwch

木虫 (小有名气)

★ ★ ★
formleaf(金币+3,VIP+0):谢谢你的帮助! 11-1 18:05
一个简单的TEX,可以实现的。你把图形文件名调整一下就应该可以了。
\documentclass{svjour3}                     % onecolumn (standard format)
\usepackage{graphicx}
\begin{document}
\section{Section title}
\begin{figure}
  \includegraphics{example.eps}
\caption{Please write your figure caption here}
\label{fig:1}       % Give a unique label
\end{figure}
\end{document}
16楼2009-11-01 11:24:36
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 21 个回答

haixing2008

荣誉版主 (文坛精英)

★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★
wuguocheng(金币+5,VIP+0): 谢谢haixing2008 10-16 13:58
math105(金币+10,VIP+0): 10-22 10:58
检查一下是不是头文件漏加宏包了,呵呵!
头文件需加:
\usepackage{graphicx}
\usepackage{subfigure}
正文里面命令如下,分两种
1、如果图片是eps文件的话,用如下命令:
\begin{figure}[h!]
  \centering
   \includegraphics[height=0.4\textwidth,width=0.5\textwidth]{e2.eps}
     \caption{Simulated results of the solutions.}
    \label{fige2}
\end{figure}
2、如果图片格式是jpg文件的话,用如下命令:
\begin{figure}[!htb]
\centering
\includegraphics[width=10cm]{e.jpg}
\caption{模拟结果.}
\label{figc1}
\end{figure}

仅供参考,祝你好运!
平平淡淡才是真!
2楼2009-10-16 12:22:41
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

math105

金虫 (正式写手)

我还是不能运行啊,不知道是为什么? 谁有好用的有图的模板提供一个? 不甚感谢.
踏实做学问
3楼2009-10-22 11:23:17
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

haixing2008

荣誉版主 (文坛精英)

给你头文件

★ ★ ★ ★ ★
wuguocheng(金币+5,VIP+0): 谢谢帮助 10-22 12:01
\documentclass[11pt,a4paper]{article}
\usepackage[dvips]{graphics}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{makeidx}
%\usepackage{epsf}
%\usepackage{emlines2}
\usepackage{color}
\usepackage{graphicx}
%\usepackage{paisubfigure}
\usepackage{subfigure}
\usepackage{multicol}
\hoffset=0truemm    \voffset=0truemm  \topmargin=0truemm
\oddsidemargin=0truemm    \evensidemargin=0truemm
\textheight=226truemm       \textwidth=158truemm
\newtheorem{thm}{Theorem}
\newtheorem{cor}[thm]{Corollary}
\newtheorem{lem}[thm]{Lemma}
\newtheorem{prop}[thm]{Proposition}
\newtheorem{defn}[thm]{Definition}
\newtheorem{alg}[thm]{Algorithm}
\newtheorem{rem}[thm]{Remark}
  \newtheorem{exam}[thm]{Example}
%\numberwithin{equation}{section}
\newcommand{\double}{\baselineskip 1.2 \baselineskip}
\newcommand{\citeu}[1]{$^{\mbox{\protect \scriptsize \cite{#1}}}$}
\newcommand{\un}{\underline}
\newcommand{\bo}{\tilde}
\newcommand{\p}{\partial}
\newcommand{\da}{\displaystyle}
\newcommand{\pa}{\partial}
\renewcommand{\arraystretch}{1.28}
%\renewcommand{\tilde}[1]{\widetilde{#1}}
\newcommand{\bv}[1]{\mbox{\boldmath $#1 $}}
\newcommand{\bipar}[2]{\dfrac{\pa #1}{\pa #2}}

正文里面的插图命令
\begin{figure}[h!]\small
  \centering
   \includegraphics[height=0.38\textwidth,width=0.5\textwidth]{图片名称.eps}
     \caption{Simulated result of.}
    \label{fige3c}
\end{figure}

希望对你有用,祝你好运!
平平淡淡才是真!
4楼2009-10-22 11:41:46
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
普通表情 高级回复 (可上传附件)
信息提示
请填处理意见