24小时热门版块排行榜    

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

math105

金虫 (正式写手)

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

如何在latex里插入图片呢? 我试了好几天都不行,网络上baidu来的也不能运行,不知道是为什么.  我用的软件是中文tex套装 winedt, 请大家帮帮忙.
回复此楼

» 猜你喜欢

踏实做学问
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

haixing2008

荣誉版主 (文坛精英)


wenzhenzhong(金币+1,VIP+0):THANKS 10-25 13:03
http://www.latexstudio.cn/index.html
好东西,一起分享!
平平淡淡才是真!
9楼2009-10-25 12:38:57
已阅   回复此楼   关注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的回帖
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 2026国自然函评费到账 +7 羊腰板 2026-08-21 7/350 2026-08-21 21:28 by iwuli
[基金申请] 今日不放榜?网传国自然预计 8 月 27 日可查结果 +16 医学老男孩 2026-08-20 20/1000 2026-08-21 21:13 by Ldrop2023
[基金申请] 建议基金发布提前给出明确的时间点 +10 kulium 2026-08-21 12/600 2026-08-21 19:46 by kulium
[基金申请] 看来今天不会放榜了? +8 chengyan1220 2026-08-21 11/550 2026-08-21 17:52 by dcqxinyang
[基金申请] filecode,4个jtjc了 +11 ziyangfang 2026-08-19 14/700 2026-08-21 16:51 by applepetty
[基金申请] 让我中一个面上吧! +11 大萍1987 2026-08-20 13/650 2026-08-21 14:48 by 20120902066
[基金申请] 人气不行了 +7 fansofjerry 2026-08-21 7/350 2026-08-21 14:13 by Vivilian
[基金申请] 感觉是下周放榜了 +7 angus9576 2026-08-17 12/600 2026-08-21 13:38 by weiyin
[基金申请] 我面上完蛋了 +7 且听虎啸 2026-08-20 8/400 2026-08-21 12:31 by 酷酷墨镜
[基金申请] 只有每年这种时候来逛逛小木虫 +23 yaoyewhu2008 2026-08-20 25/1250 2026-08-21 12:19 by Poppy1104
[基金申请] 什么时候开奖? +7 CrisMessi 2026-08-18 7/350 2026-08-21 12:15 by weiyin
[论文投稿] 投稿咨询 +5 wwm09 2026-08-17 7/350 2026-08-21 10:11 by 期刊论文帮手
[基金申请] 今天放榜没戏了吧 +9 yuleib84 2026-08-19 11/550 2026-08-21 10:06 by gltch
[基金申请] 基金啊基金 +4 longfie172 2026-08-20 4/200 2026-08-21 08:58 by mark mao
[基金申请] 时间戳今天,20号变了 +4 archvillain 2026-08-20 4/200 2026-08-21 08:10 by gatelove
[基金申请] 重要消息,中午系统在维护 +11 yuleib84 2026-08-18 12/600 2026-08-20 11:09 by xskun
[教师之家] 为什么余额宝的年化利率越来越低?主要原因有哪些? +5 瞬息宇宙 2026-08-15 5/250 2026-08-19 20:23 by super2002521
[基金申请] 今天放榜吗? +14 布布和一二 2026-08-19 15/750 2026-08-19 18:07 by gltch
[基金申请] 2027广东省杰青 +4 奶牛小黑 2026-08-15 10/500 2026-08-19 11:02 by wanfengnew
[基金申请] 明天放榜? +5 Shxjjxjkx 2026-08-18 5/250 2026-08-18 18:14 by -大大大大大-
信息提示
请填处理意见