由买买提看人间百态

topics

全部话题 - 话题: amsmath
首页 上页 1 2 3 下页 末页 (共3页)
o*******e
发帖数: 186
1
Here is the simplified version:
\documentclass[titlepage,landscape]{slides}
\usepackage{amsmath}
\usepackage[dvips]{graphicx}
\usepackage{psfig}
\hfuzz5pt
\vfuzz5pt
\pagestyle{plain}
\begin{document}
\input{inc.tex}
\end{document}
Thank you for the help.
T*******n
发帖数: 493
2
Try "gather" instead of "align".
Default behavior of "gather" is to center each equation.
If you already use the "fleqn" document class and amsmath option,
"gather" will left-align each equation instead of centering them.
No & is needed or should be used.
If you have to use "align", try putting the & at the beginning of
each equation, not at the = sign.
q******c
发帖数: 16
3
来自主题: TeX版 - 请问引用文献的一个问题
学校的模板上用到的
\documentclass[12pt, titlepage, openany, reqno]{amsbook}
\usepackage{amsmath, amsfonts,amsthm, amssymb, amscd, cite}
其中cite包是我自己加上的。
在我的计算机上试了试你给的例子,只要是用cite包,就是黑体,那三行代码好像不能
控制住字体。下面是我试你给的例子
\documentclass{amsbook}
\makeatletter
\def\@cite#1#2{{\m@th\upshape\mdseries[{#1}{\if@tempswa, #2\fi}]}}
\makeatother
\usepackage{cite}
\begin{document}
Here is the citation\cite{Bezerra2001,Cahen2002}.
\bibliographystyle{amsplain}
\bibliography{refer}
\end{document}
T*******n
发帖数: 493
4
来自主题: TeX版 - 怎样让下标换行
\usepackage{amsmath}
and then
\int_{\substack{x^2+y^2
c****r
发帖数: 185
5
need amsmath
\begin{align}
T*******n
发帖数: 493
6
来自主题: TeX版 - underbrace的问题
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{equation*}
\frac{\partial N\left(x,y,t\right)}{\partial t}
% added \vphantom{\bigg|} in next line
% and removed \biggl and \biggr from []
= \underbrace{\vphantom{\bigg|}[- MN]}_{\text{Mortality}} +
\underbrace{D\biggl[
\frac{\partial^2 N\left(x,y,t\right)}{\partial x^2} +
\frac{\partial^2 N\left(x,y,t\right)}{\partial y^2}
\biggr]}_{\text{Diffusion}}
\end{equation*}
\end{document}
T*******n
发帖数: 493
7
来自主题: TeX版 - underbrace的问题

Actually I usually do this:
save the following four lines in mymath.sty
\newcommand{\bigstrut}[0]{\vphantom{\big|}}
\newcommand{\Bigstrut}[0]{\vphantom{\Big|}}
\newcommand{\biggstrut}[0]{\vphantom{\bigg|}} % used below
\newcommand{\Biggstrut}[0]{\vphantom{\Bigg|}}
\endinput
then
\documentclass{article}
\usepackage{amsmath}
\usepackage{mymath}
\begin{document}
\begin{equation*}
\frac{\partial N\left(x,y,t\right)}{\partial t}
% use \biggstrut in next line, let \underbrace think that [-MN] i
T*********r
发帖数: 11175
8
来自主题: TeX版 - 为什么 \neq 会出错呢?
usepackage{amsmath}?
T*******n
发帖数: 493
9
来自主题: TeX版 - 为什么 \neq 会出错呢?
I didn't have to load amsmath. This worked:
\documentclass{minimal}
\begin{document}
$x\neq y$
\end{document}
T*******n
发帖数: 493
10
\usepackage{amsmath}
\begin{equation}
\sum_{\text{$i$ is odd}} x_i
\end{equation}
h*****0
发帖数: 4889
11
amsmath宏包
\text命令
赞!
b*********n
发帖数: 173
12
为什么?try the following code.
\usepackage[centertags]{amsmath}
\begin{equation}
H_{R} = \sum_{i=1}^{N} \left( \frac{ \text{Revenue}_{i} } {
\sum_{i=1}^{N} \text{Revenue}_{i} } \right)^2 \nonumber
\end{equation}
c****r
发帖数: 185
13
Read the User's Guide for amsmath.
You'll get all you need.
T*******n
发帖数: 493
14
See below. I also think it should be "in the region", not "of the region".
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\noindent determinant $J=|\partial x'_i/\partial x_j|$ does not
vanish at any point in the region
\begin{equation}
J = \biggl|\frac{\partial x'_i}{\partial x_j}\biggr|
= \begin{vmatrix}
\dfrac{\partial x'_1}{\partial x_1}
& \dfrac{\partial x'_1}{\partial x_2}
& \dfrac{\partial x'_1}{\partial x_3} \\[0.75\bigskipamount]
\dfrac{\partial x'_2}{\
l**e
发帖数: 6
15
来自主题: TeX版 - 关于Latex插入图表之我见
你是不是用了特殊的sty file ?
试了一会,一般好像是不行:
下面这个文件,只有第一个图可以正确显示, 余下两个都不行.
Error Message:
gs: ERROR: /undefined in ÿØÿà
gs: Operand stack:
gs:
gs: Execution stack:
.......
gs: Current allocation mode is local
gs: Current file position is 5
\documentclass{article}
\usepackage{amssymb,amsmath}
\usepackage{graphicx}
\usepackage[dvips]{epsfig}
\begin{document}
\begin{figure}[ht]
\begin{center}
\psfig{file=angle-all.ps,height=3.0in,angle=0}
\end{center}
\end{figure}
\newpage
\begin{figure}[ht]
T*******n
发帖数: 493
16
来自主题: TeX版 - 请教:如何生成下列matrix
Probably not the best solution, but it does what you want.
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{equation}
\left[
\begin{array}{ccc}
1 & 0 & 0 \\
\vdots & \vdots & \vdots \\
1 & 0 & 0 \\
0 & 1 & 0 \\
\vdots & \vdots & \vdots \\
0 & 1 & 0 \\
0 & 0 & 1 \\
\vdots & \vdots & \vdots \\
0 & 0 & 1
\end{array}
\right]
\mkern-30mu
\begin{array}{c}
\left.\begin{array}{c}
\vphantom{0}\\\vphantom{\vdots}\\\vphantom{0}
\end{array}\right\} n_{\phantom{0}} \\
\left.\begin{array
l**e
发帖数: 6
17
来自主题: TeX版 - 如何在table里面插入图?
试了一下,用psfig 可以
\documentclass{article}
\usepackage{amssymb,amsmath}
\usepackage[dvips]{epsfig}
\begin{document}
\begin{table}
\begin{tabular}{cc} \hline
XXXXX & ZZZZZZZZ \\
YYYYY & \psfig{file=image.ps,height=0.8in,angle=0} \\
\hline
\end{tabular}
\end{table}
\end{document}
T*******n
发帖数: 493
18
来自主题: TeX版 - latex方程编号的问题
Can you post two simple example source files, one showing
the situation before you add extra equations, and the second
showing the problem after you add extra equations. Use
only the article class, and load amsmath if you need it.
Your description of the problem is really confusing.
T*******n
发帖数: 493
19
\usepackage{amsmath}
\DeclareMathOperator{\arcsinh}{arcsinh}
\begin{equation}
x = \arcsinh(y)
\end{equation}
b******l
发帖数: 1632
20
看了 lshort,当时就可以写论文了。建议除了 lshort 还要参考 UsingGraphicx 和
amsmath。
emacs 用户一定要上 auctex。
最后,忠告是:
1、简单,简单,再简单。不要试图去用复杂的形式和结构去创造某种排版格式,这个
是费力不讨好的。一定有一种相当简单的方式,或者一个常用的 package,可以轻松实
现你想要的效果。
2、把所有注意力 focus 在内容和逻辑上,而不是格式上,否则,还不如回去用 word。
还有,既然用 latex 了,windows 下如果不习惯 emacs/vi 等工具,就上
Texniccenter 吧,winedit 和 latex 的精神不相符。

看看
T*******n
发帖数: 493
21
来自主题: TeX版 - 请问如何生成这样的矩阵
\documentclass{article}
\usepackage{amsmath}
\makeatletter % required because of the use of \@tempdima
\newcommand*{\toplabel}[4]{%
\settowidth{\@tempdima}{\ensuremath{#1}}%
\makebox[\@tempdima][c]{%
\hss
\ensuremath{%
\makebox[0pt][r]{\ensuremath{\scriptstyle#2}}%
\scriptstyle{#3}%
\makebox[0pt][l]{\ensuremath{\scriptstyle#4}}%
}%
\hss
}%
}
\makeatother
\begin{document}
Here is one way of doing this.
\begin{equation}
%
\begin{array}{r} % matrix of q and q
T*******n
发帖数: 493
22
来自主题: TeX版 - 怎样把公式编号重新计数?
What document class? If article, try either
\appendix
\renewcommand{\theequation}{\thesection\arabic{equation}}
\section{...} % Appendix A
\setcounter{equation}{0}
...
\section{...} % Appendix B
\setcounter{equation}{0}
...
or
\usepackage{amsmath}
...
\appendix
\numberwithin{equation}{section}
\section{...} % Appendix A
...
\section{...} % Appendix B
...
The first method gives A1, A2, B1, B2, while the second method
gives A.1, A.2, B.1, B.2, etc.

..
g*********r
发帖数: 124
23
来自主题: TeX版 - book里如何公式左对齐?
\usepackage[fleqn]{amsmath}
\makeatletter
\setlength{\@mathmargin}{1em}
\makeatother
V***a
发帖数: 11942
24
\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
g*********r
发帖数: 124
25
\usepackage{amsmath}
\begin{equation}
a=a \tag{$*$}
\end{equation}
T*******n
发帖数: 493
26
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{gather}
A \xrightarrow[]{k_1} B \xrightarrow[]{k_2} C \\
2A \xrightarrow[]{k_3} D
\end{gather}
\end{document}
T*******n
发帖数: 493
27
来自主题: TeX版 - environement nesting problem
Don't use LaTeX eqnarray. It's does not do a good job calculating spaces
and is not flexible. Learn to use the various alignment environments
provided by amsmath.sty instead.
The following should do what you want, except that the equation numbers
are automatically numbered in the order that the table is constructed.
If you want the equation number to go down the column automatically, it
will take more work.
The command \mitcmd and the environment "mitenv" are basically the same.
You can use wh
w********o
发帖数: 10088
28
我用网上下载的template,输入\Omega,没有用\textit,出来的却是斜体的
请问这是怎么回事儿,应该在哪里更改设置呢?用了下面的几个package
\documentclass[pss]{wiley2sp}
\usepackage{amsmath}
\renewcommand{\arraystretch}{1.2}
\usepackage{amsfonts}
\usepackage{graphicx}
\usepackage{xspace}
\usepackage{epsfig}
\usepackage{url}
T*******n
发帖数: 493
29
来自主题: TeX版 - beamer question
Maybe Beamer is scanning for the literal string \end{frame}, just like
the way LaTeX handles \end{verbatim} and AMS-LaTeX looks for
\end{equation}. If this is the case, you cannot bury \end{frame}
inside another macro.
The reason that you can't hide \end{verbatim} is that this sequence of
characters is the only clue that tells LaTeX to get out of verbatim mode.
For AMS-LaTeX (amsmath.sty), it needs to scan equation environments
twice in order to have the capability of setting some really compli
T*******n
发帖数: 493
30
来自主题: TeX版 - 在矩阵下面写size
See below. The \mathstrut's are needed so that LaTeX see all three
sets of subscripts as having the same height and set them with the correct
(same) vertical alignment. If you don't put \mathstrut, m*n will be set
slightly higher than m*j and j*n because the "j" has a descender.
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{equation}
\underset{\mathstrut m\times n}{A} =
\underset{\mathstrut m\times j}{B} \times \underset{\mathstrut j\times n}{
X}
\end{equation}
\end{do
T*******n
发帖数: 493
31
来自主题: TeX版 - Ask about \hat over \bar
Try \usepackage{amsmath}
b*********n
发帖数: 173
32
来自主题: TeX版 - Link 合集
The Comprehensive LaTeX Symbol List
ftp://tug.ctan.org/pub/tex-archive/info/symbols/comprehensive/symbols-letter
.pdf
LaTeX Mathematical Symbols
http://amath.colorado.edu/documentation/LaTeX/Symbols.pdf
Short Math Guide for LaTeX
ftp://ftp.ams.org/pub/tex/doc/amsmath/short-math-guide.pdf
t********4
发帖数: 14
33
来自主题: TeX版 - page number问题
前面roman的很不规则,abstract有ii,TOC就没有,acknowledge又有了 ,LOF又没了
,然后下面的chapter,chaper1,2,4,5,6,7,reference,appendix的首页都有,
然后其他的页面就没了,至于哪些package可以影响到,我就不知道了,template的sty
我没碰,我所加的package就是\usepackage{array},
\usepackage{graphicx},\usepackage{amsmath},\usepackage{subfigure},\
usepackage{verbatim,
\documentclass[setspace,oneside,a4paper]{StyleFiles/jthesis-v1},基本就这样
恩,也没google到任何类似的问题,奇怪
s**c
发帖数: 1247
34
3x
这是文件最开始的几行设置
\documentclass[11pt]{article}
\def\spacingset#1{\def\baselinestretch{#1}\small\normalsize}
\parskip=1pt
\usepackage{amssymb,boxedminipage}
\usepackage{latexsym}
\usepackage{epsf,epsfig,graphics}
\usepackage{psfig}
\usepackage{amsmath}
\usepackage{bm}
\include{com}
\addtolength{\topmargin}{-0.9in}
\addtolength{\oddsidemargin}{-0.9in}
\addtolength{\textwidth}{1.9in}
\addtolength{\textheight}{2.0in}
\newtheorem{lemma}{Lemma}
\newtheorem{definition}{Definition}
\newtheorem{claim}
T*******n
发帖数: 493
35
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{equation}
\dfrac{\dfrac{x}{y}\bigg/\dfrac{a}{b}}{\dfrac{x}{y}\bigg/\dfrac{a}{b}}
\end{equation}
\end{document}
T*******n
发帖数: 493
36
\usepackage[tbtags]{amsmath}
\begin{equation}
\begin{split}
...\\
...
\end{split} \label{...}
\end{equation}
Also try
\begin{gather}
\begin{split}
... \\ ...
\end{split} \label{...} \\
\begin{split}
... \\ ...
\end{split}
\end{gather}
T*******n
发帖数: 493
37
Avoid eqnarray as it doesn't calculate spacing correctly. The LaTeX
developers had decided not to fix this--if you want the fix, use the
bettern environments provided by AMS-LaTeX (amsmath.sty).
k****z
发帖数: 550
38
在所有可能的地方,amsmath建议用align来代替eqnarray。
不过split是用在另外的场合,比如讨论各种条件。
A**********e
发帖数: 3102
39
thanks a lot, but it's different.
I just hate to manually set the size of delimiters, and want latex to do
that.
\left and \right should be the latex way, but they conflict with & in
amsmath
T*******n
发帖数: 493
40
There is no easy way to get \left and \right to do what you want.
If there were a way, they would have implemented it already.
Even when you dont have & or \\, \left and \right don't always determine
the correct size for the fences/delimiters. See the amsmath manual for
examples.
In most cases, however, if you follow the standard mathematical
typographical rules, you only need the \bigg? macros that I have
defined. The "proper" way of setting complicated mathematical
expressions is explained i
T*******n
发帖数: 493
41
\usepackage{amsmath}
\begin{equation}
y=x, \text{if MIT-BBS}
\end{equation}
c*******h
发帖数: 1096
42
amsmath 数学
amssymb 数学符号
amscd commutative diagram
amsthm 定理环境
amsbsy 数学符号 (bold)
mathcomp using text companion font in math mode
array 更多的 tabular 和 array 的设置
eqnarray 喜欢用 eqnarray 的人,这个包提供更多的设置
listings 帖程序、代码
clrscode Introduction to Algorithms 的伪代码风格
algorithm, algorithmic 传统伪代码包,pascal风格
longtable 可分页的长table
colortbl 支持颜色的table
multirow tabl多行hebing
threeparttable 经典的三段表
graphicx 帖图
j******a
发帖数: 1599
43
来自主题: TeX版 - beamer里面的字是白色的?
this maybe slighter longer, sorry
\documentclass[dvips, mathserif]{beamer}
% [dvips] allows use of latex->dvips->ps2pdf instead of pdflatex
%\documentclass[handout,xcolor=pdftex,dvipsnames,table]{beamer}
\usepackage{beamerthemesplit}
\usepackage{color}
\usepackage{graphicx}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{geometry}
\usepackage[english]{babel}
\usepackage{epic}
\usepackage{eepic}
\usepackage{color}
\usepackage{epsfig}
\usepackage{bm}
\usepackage{amscd}
T*******n
发帖数: 493
44
I couldn't find an easier way.
\documentclass{minimal}
\usepackage{amsmath}
\begin{document}
\noindent
Equation~\eqref{eqn} includes Equations~\eqref{eqna} and~\eqref{eqnb}:
\begin{subequations}
\label{eqn}
\begin{alignat}{3}
&\smash{%
\raisebox{-0.5\baselineskip}%
{$\displaystyle |x|= \left\{
\vphantom{\begin{gathered}x\\x\end{gathered}}%
\right.$}%
}
& & x, &\quad &x\ge0; \label{eqna} \\
& & &{-}x, &\quad &x<0. \label{eqnb}
\end{alignat}
\end{su
g******s
发帖数: 141
45
来自主题: TeX版 - 如何插入.eps 图片?
我想在我的文档里插入一个图片,我可以看到这个图当我texify. 但是当我用pdf
texify时,产生一个错误:
Latex error: file Figure1.eps not found.
我用的是winedt. 下面是我的code.大家能帮我看看是什么原因吗?谢谢!
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{fullpage}
\usepackage{verbatim}
\usepackage{subfigure}
\usepackage{ulem}
\usepackage{graphicx}
\usepackage{grffile}
\begin{figure}[hbt]
\begin{center}
\includegraphics[scale=0.6]{Figure1.eps}
\end{center}
\caption{Process}
\end{figure}
w****h
发帖数: 212
46
你可以看看如下:
\documentclass[10pt,conference,letterpaper,twocolumn]{IEEEtran}
\usepackage{amsfonts}
\pagestyle{plain}
\pagenumbering{arabic}
\usepackage{amsmath,multirow} % for subequations
\usepackage{subfigure,graphics,psfig,epsfig,wrapfig}
\newtheorem{Theorem}{Theorem}
\newtheorem{Definition}{Definition}
\newtheorem{Assumption}{Assumption}
\newtheorem{Corollary}{Corollary}
显示的是斜体、非粗;
奇怪的是,但我在\documentclass[a4paper, 12pt]{article}下面,就能够显示正常的
粗体、正体定理、定义。
我不会change the definition of the class
T*******n
发帖数: 493
47
\usepackage{amsmath}
$x_\text{em---dash}$
$x_\text{en--dash}$
$x_\text{hy-phen}$
F**p
发帖数: 1046
48
来自主题: TeX版 - 写给Latex的初学者
我刚刚毕业,用Latex写了proposal,2篇文章,还有博士论文,大概前后2年的时间。
写的用Latex写文章的感受,希望给入门的人一点儿启发。
(1)和MS WORD相比,Latex绝对难用。WORD是所见即所得,非常直观,而Latex所有的
格式和字体,都是需要通过用户定义的,不错,是有各种各样的template可以套用,但
是许多的细节,仍然需要逐渐掌握。举个例子,写论文的时候,我发现在数学公式里面
的希腊字母没有办法变粗体(矢量需要用粗体),直接用\textbf是没有用的。一通
google,发现需要安装一个amsmath package,加上用\boldsymbol才能把希腊字母变粗
。还有对table的操作,简直烦不胜烦,没有一段时间的耐心学习,几乎不可能熟练掌
握。还有一开始对EPS图的产生和操作,还是很tricky的。
(2)和MS WORD相比,优点也是明显的。自我感觉最大优点是Latex对图文框的处理非
常优秀,几乎不需要人来做任何的干预。MS的图片会经常神秘失踪,尤其对长的文章来
说,是很头疼的事情。WORD2008不知道有没有改进。其次是会用Latex比较有
a**e
发帖数: 5794
49
来自主题: TeX版 - 问几个小问题
1. equation和split环境
参见amsmath User’s Guide, 2002.
http://www.ams.org/tex/amslatex.html.
3. \usepackage{indentfirst}
T*******n
发帖数: 493
50
来自主题: TeX版 - 为啥公式标号没出来?
Here is the proper way of doing this:
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{equation}
\label{SOLocationWeight}
\text{Weight} =
\begin{cases}
0.2, & \text{if $l \leq \frac{1}{3}$}; \\
2.4\cdot l-0.6, & \text{if $\frac{1}{3}\leq l \leq \frac{2}{3}$}; \\
-1.8\cdot l+2.2, & \text{if $\frac{2}{3}\leq l \leq 1 $}.
\end{cases}
\end{equation}
\end{document}

2}
1
首页 上页 1 2 3 下页 末页 (共3页)