T*******n 发帖数: 493 | 1 \usepackage{amsmath}
environment alignedat should do what you want. See the AMS-LaTeX manual for
examples. |
|
T*******n 发帖数: 493 | 2 \documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{equation}
\begin{gathered}
A=B+c \\
B=E+e
\end{gathered}
\end{equation}
\end{document} |
|
N**D 发帖数: 10322 | 3 use amsmath? or amssymb?
can |
|
g*********r 发帖数: 124 | 4 试试 amsmath 宏包里的 \intertext 命令 |
|
q******c 发帖数: 16 | 5 我的文件编译后发现参考文献中的字体比正文的小,实在是找不到问题出在哪里。恳请
高手赐教,谢谢。下面是文件的基本信息
\documentclass[12pt, titlepage, openany, reqno]{amsbook}
\usepackage{amsmath, amsfonts,amsthm, amssymb, amscd, graphicx, subfigure}
\usepackage{cmbright}
\input{dissertation.sty} %university's style file
\begin{document}
%include chapters here
\backmatter
\bibliographystyle{amsplain}
\bibliography{refer}
\end{document} |
|
d***s 发帖数: 55 | 6 最简单的代码,把 institution 注释掉也没有用
那么多usepackage我也不知道哪个是相关的
\documentclass[10pt]{beamer}
\mode
{
\usetheme{Madrid}
\usefonttheme{professionalfonts}
}
\usepackage[english]{babel}
\usepackage{times}
\usepackage[T1]{fontenc}
\usepackage{graphics}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{amssymb}
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{amsbsy}
\usepackage{manfnt}
\usepackage{array}
\usepackage{mathptmx}
\usepackage{helvet}
\usepackage{verbatim}
\title[]
{Pro |
|
d***s 发帖数: 55 | 7 已经简化成这样了,还是不行,把结果贴上来。左下角的括号,右下的日期和页码总在
,不知道是在什么地方设置的。其他还好,那个括号也太难看了
\documentclass[10pt]{beamer}
\mode {
\usetheme{Madrid}
\usefonttheme{professionalfonts}
}
\usepackage[english]{babel}
\usepackage{times}
\usepackage[T1]{fontenc}
\usepackage{graphics}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{amssymb}
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{amsbsy}
\usepackage{manfnt}
\usepackage{array}
\usepackage{mathptmx}
\usepackage{helvet}
\usepackage{verbatim} |
|
T*******n 发帖数: 493 | 8 \usepackage{amsmath}
\begin{equation}
\begin{split}
Y &\phantom{=} \null \\
&= X+E \\
&= Z1+Z2+E
\end{split}
\end{equation} |
|
q******c 发帖数: 16 | 9 文件的头是:
\documentclass[12pt, titlepage, openany, reqno]{amsbook}
\usepackage{amsmath, amsfonts,amsthm, amssymb, amscd, graphicx, subfigure}
行间距全部设置为两倍行距,用的是\renewcommand{\baselinestretch}{1.66}
编译后出来的结果很奇怪,每页的底边距都多多少少不一样,看起来很糟糕。请教高人
指点一下该怎么改。
谢谢! |
|
T*******n 发帖数: 493 | 10 \documentclass{minimal}
\usepackage{amsmath}
\begin{document}
\begin{subequations}
\begin{alignat}{2}
x&=a+b, & \qquad & \text{if $abc$} \\
y&=c+d+c, & & \text{if $abcde$}
\end{alignat}
\end{subequations}
\end{document} |
|
T*******n 发帖数: 493 | 11 Try this; use \quad instead of \qquad if you want half the space.
\documentclass{minimal}
\usepackage{amsmath}
\begin{document}
\begin{alignat}{2}
x&=a+b, & \qquad & \text{if $abc$} \\
y&=c+d+c, & & \text{if $abcde$}
\end{alignat}
\end{document} |
|
r****t 发帖数: 10904 | 12 amsmath 里面的 multline, align, split 环境都可以,后面两个管对齐。 |
|
|
n**o 发帖数: 11 | 14 Dear all,
I am new to Latex and I am using the natbib package and \citet{} to cite the
papers. It is strange that the complied pdf shows "the paper is by Mike [
1998] ...". I expect to have the round parentheses. The document says the
round is default. I tried
\usepackage[round]{natbib}
I does not work. Can anyone show me how to correc it? Thank you so much.
My preamble is like this
\documentclass[11pt]{article}
\usepackage{natbib, amsmath, amssymb,graphicx, setspace,url, rotating}
\begin{docume |
|
s*m 发帖数: 9 | 15 我自己做了个test.tex用
\usepackage[colorlinks,linkcolor=blue,anchorcolor=red,citecolor=blue]{
hyperref}
和\cite{},发现链接是可以的。
但是用Optics Letters的模板就不行,
\documentclass[10pt,letterpaper,twocolumn]{article} %% two column, final
layout
\usepackage{ol2}
%\usepackage[draft]{hyperref}
\usepackage{amsmath}
\usepackage{subfigure}
\usepackage[colorlinks,linkcolor=blue,anchorcolor=red,citecolor=blue]{
hyperref}
那位高手思考过这个问题? |
|
q**j 发帖数: 10612 | 16 我的mybib.bib:
@misc{ Nobody06,
author = "Nobody Jr",
title = "My Article",
year = "2006" }
我的tex:
\documentclass[12pt,a4paper]{report}
\usepackage[latin1]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{makeidx}
\begin{document}
Blablabla said Nobody ~\cite{Nobody06}.
\bibliography{E://mybib}{}
\bibliographystyle{plain}
\end{document}
非常简单的例子。为什么就不行呢? |
|
g*********r 发帖数: 124 | 17 \usepackage{amsmath}
\begin{equation*}
f(x)=\left\{\begin{aligned}
B'&=-\partial\times E,\\
E'&=\partial\times B - 4\pi j,
\end{aligned}
\right.
\end{equation*} |
|
|
g*********r 发帖数: 124 | 19 \usepackage{amsmath}
\makeatletter
\def\ExtendSymbol#1#2#3#4#5{\ext@arrow 0099{\arrowfill@#1#2#3}{#4}{#5}}
\makeatother
\newcommand\myArrow[2][]{\ExtendSymbol{\leftarrow}{-}{\rightarrow}{#1}{#2}}
$A\myArrow[A^2=B^2]{A^2=A^2+B^2+C^2}B $
\ |
|
dm 发帖数: 92 | 20 amsmath package \limits and \nolimits |
|
S**I 发帖数: 15689 | 21 \usepackage{amsmath}
\numberwithin{equation}{section}
.2 |
|
S**I 发帖数: 15689 | 22 \usepackage{amsmath}
\begin{flalign}
& ... &
\end{flalign} |
|
z***i 发帖数: 8285 | 23 这个应该也可以:
\begin{flushleft}
$...$
\end{flushleft}
\usepackage{amsmath}
\begin{flalign}
& ... &
\end{flalign} |
|
s*****g 发帖数: 5159 | 24 如果以前没看过,可以先看看Short Math Guide
ftp://ftp.ams.org/pub/tex/doc/amsmath/short-math-guide.pdf
这个文章最好的地方是规范了公式的写法,遗弃了eqnarray这样不是很explicit的环境
变量。
我写文章的另一个指导方针是,只有在其他地方引用的公式在标号,其他的一概不标号
。
当然很多情况这个short math guide不覆盖,我自己也问过很多,不过读读对于规范写
作还是有好处的。 |
|
|
S**I 发帖数: 15689 | 26 \usepackage{amsmath}
\numberwithin{figure}{section}
如在 |
|
s*****k 发帖数: 604 | 27 要加amsmath 包
用 \operatorname* 应该可以的
mathrm{ |
|
a**e 发帖数: 5794 | 28 \usepackage{amsmath}
$\bigl[\begin{smallmatrix} a&b\\c&d \end{smallmatrix}\bigr]$ |
|
k*********g 发帖数: 791 | 29 \usepackage{newlfont}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{array}
\usepackage[dvipdfm]{hyperref}
\parindent 1.0cm
\parskip 0.1cm
\renewcommand{\baselinestretch}{1.5}
\input{psfig.sty}
\begin{document}
\begin{frontmatter} |
|
a**e 发帖数: 5794 | 30 方程组有很多种排版方式,请参考
ftp://ftp.ams.org/pub/tex/doc/amsmath/amsldoc.pdf |
|
m****d 发帖数: 9307 | 31 想编方程组,老是报错,错误是\begin{align} allowed only in paragraph
mode...
怎么回事呢?是不是amsmath这个package的问题呢?谢谢! |
|
s*****g 发帖数: 5159 | 32 First, make sure you used
\usepackage{amsmath,amssymb}
Then make sure the align environtment is not in math mode, i.e., in cannot a
ppear within
\begin{equation}
\end{equation}
or
\[
\]
or
$$
$$.
Align by itself is display mode. |
|
A*******e 发帖数: 108 | 33 源码:
\usepackage{amsmath}
$\begin{matrix}
a & & b \\
& \searrow & \\
c & & d \\
\end{matrix}$ |
|
a**e 发帖数: 5794 | 34 \documentclass{article}
\usepackage{booktabs,multirow,warpcol}
\usepackage{amsmath}
\begin{document}
\begin{tabular}{ccP{1.4}P{1.4}P{1.4}}
\toprule\toprule
& & \multicolumn{3}{c}{Correlation($\rho$)} \\
\cmidrule{3-5}
$\theta$ & Variances ($\sigma_{11},\sigma_{22}$) & 0 & .4 & .9 \\
\midrule
\multirow{4}{*}{\centering
$\begin{pmatrix}
1 \\ 0 \\
\end{pmatrix}$
} & (.1,.1) & .0138 & .0141 & .0131 \\
& (.1,.5) & .0059 & .0064 & .008 \\ |
|
g*********r 发帖数: 124 | 35 试试 \pmb 命令 (“Poor man's bold”),
注意 \boldsymbol 和 \pmb 都要加载 amsmath,amssymb 宏包
贴个效果图 |
|
h*****r 发帖数: 1052 | 36 我希望部分公式左对齐,部分公式居中
如果我在开头加入fleqn,即
\documentclass[11pt,fleqn]{article}
所有的公式自动左对齐,想居中的对\begin{center}\end{center}无效
如果我开头不加fleqn的话
那所有的公式自动居中,我想左对齐的公式用flalign也无效
请大家帮忙看看这是怎么回事啊?
我用的模板如下,谢谢大家了!
\documentclass[11pt,fleqn]{article}
\title{Experiments of Variance Reduction for Financial Options}
\author{Na Sun}
\date{\today}
\usepackage[dvips]{graphics}
\usepackage{natbib}
\usepackage{graphicx}
\usepackage{float}
\usepackage{epsfig}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{booktabs}
\use |
|
q**j 发帖数: 10612 | 37 try the two approaches you recommended.
still the same problem.
i am really confused.
let me make a really simple one to make it easier for da xia to try this.
alpha.tex:
\documentclass[10pt,a4paper]{article}
\usepackage[latin1]{inputenc}
\usepackage{amsmath}
\usepackage{harvard}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{booktabs}
~\citeasnoun{Roll:1980}
\bibliography{alpha}{}
\bibliographystyle{location/jf}{}
\end{document}
alpha.bib
@article{Roll:1980,
author = "Richard Roll", |
|
f*****k 发帖数: 353 | 38 用latexdraw画的pstricks的图,直接放到文件里面了,直接编译是可以的,如果加上
\begin{figure}[htb]
\begin{center}
\input{./Graph}
\end{center}
\caption{}
\label{wt-1}
\end{figure}
编译的时候就出问题
! Too many }'s.
\color@endbox ->\color@endgroup \egroup
l.35 \end{figure}
前面用的package如下
\usepackage{amsmath,amssymb,amscd}
\usepackage{epsfig,epic,eepic,units}
\usepackage{hyperref}
\usepackage{url}
\usepackage{longtable}
\usepackage{mathrsfs}
\usepackage{multirow}
\usepackage{bigstrut}
\usepackage{gr |
|
w******g 发帖数: 40 | 39 模板是将公式的编号放在公式的前面的,就是页面的左侧。
但是加了amsmath宏包后,编号都被放到公式后面了。
请问,怎样才能将编号放到公式前面呢?谢谢。 |
|
h****b 发帖数: 157 | 40 用的模板是documentstyle,以前都用的是documentclass,所以不知道怎么加库,好像不
能用
usepackage,要跟在documentstyle后面,
我用的是
\documentstyle[12pt, algorithmic, graphicx, algorithm2e, verbatim,
graphics, caption2, amsfonts, subfigure, cite, amsmath, times,
url]{thesis}
但是算法包不能用,以前都是\usepackage{algorithmic}
\usepackage{algorithm}
请问现在应该怎么改?问题很简单,谢谢。 |
|
g*********r 发帖数: 124 | 41 你自己试过吗?
下面的例子在我的机器上可以得到跨页的公式
\documentclass{article}
\usepackage{amsmath}
\allowdisplaybreaks[1]
\begin{document}
\begin{align}
u =v \
u =v \
u =v \
u =v \
.......
u =v \
u =v \
u =v \
u =v \
u =v
\end{align}
\end{document} |
|
F****I 发帖数: 270 | 42 \documentclass{article}
\usepackage{cite}
\usepackage{amssymb,amsmath}
就这些了 |
|
w******n 发帖数: 430 | 43 大侠继续救命,我thesis里面\int但是不显示积分符号,而是现实int这几个字,我用
了\usepackage{amsmath}。多谢! |
|
h****g 发帖数: 772 | 44 新手问题,windows vista, miktex2.9 texmaker 2.3
测试文件如下,发现不知谁把u给丢了,怎么办呢?
\documentclass[10pt,letterpaper]{article}
\usepackage[latin1]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{fontspec}
\usepackage{xeCJK}
%\setCJKmainfont{標楷體} %設定中文為系統上的字型,而英文不去更動,使用原TeX
字型
\setCJKmainfont{黑体}
\XeTeXlinebreaklocale "zh" %這兩行一定要加,中文才能自動換行
\XeTeXlinebreakskip = 0pt plus 1pt %這兩行一定要加,中文才能自動換行
\begin{document}
abcdefghijklmnopqrstuvwxyz
测试
\end{document} |
|
b*****u 发帖数: 445 | 45 已经加载了amsmath,用这三个命令都试过了,还是不行。。。
报错:
Underfull \hbox (badness 10000) in paragraph at lines 20--23
Underfull \hbox (badness 10000) in paragraph at lines 25--27
SyncTeX warning: Synchronization was disabled from
the command line with -synctex=0
Changing the value of \synctex has no effect.[1{C:/ProgramData/MiKTeX/2.9/
pdftex/config/pdftex.map}]
! Undefined control sequence.
l.37 $\llbracket \test
{SESP} \rrbracket=\llbracket \verb|SES| \rrbracket (\l
...
? |
|
m*******s 发帖数: 3142 | 46 【 以下文字转载自 Physics 讨论区 】
发信人: manifolds (流形), 信区: Physics
标 题: 问个诡异的\eqref问题
发信站: BBS 未名空间站 (Thu Apr 19 22:04:23 2012, 美东)
最近写文章准备投prb,使用的模版是
\documentclass[superscriptaddress,aps,amsmath,amssymb,prb]{revtex4}
我准备在一个小节的标题中使用前面的公式编号,
直接输入
\section{initial condition for Eq.\eqref{loren11th}},
其中 \label{loren11th}已经在前面定义好了,结果发现那个公式的编号根本
就无法显示。
请问大家有没有遇到过类似的问题?怎么解决的?谢谢! |
|
b*******t 发帖数: 33714 | 47 加一句\usepackage{amssymb,amsmath}试试 |
|
s*****g 发帖数: 5159 | 48 I usually make this a macro
\newcommand{\brace{#1}}{\left\{#1\right\}}
\newcommand{\paren{#1}}{\left(#1\right)}
this will pair things up easily.
Long time no show.
He might have missed
\usepack{amsmath,amssymb} |
|
z***i 发帖数: 8285 | 49 \documentclass[a4paper,11pt]{article}
\usepackage[latin1]{inputenc}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage[colorlinks=true]{hyperref}
\usepackage{colortbl}
\usepackage{hyperref}
\usepackage{extramarks}
\usepackage{fancyhdr}
\usepackage{color}
\usepackage{eso-pic}
\usepackage{ifpdf}
\usepackage{svgcolor}
\usepackage{booktabs}
\usepackage{amssymb}
\pagenumbering{arabic}
\hypersetup{urlcolor=blue}
\definecolor{light-gray}{gray}{0.86}
\setlength{\paperwidth}{597pt}
\setlength{\paperh... 阅读全帖 |
|
k*********g 发帖数: 791 | 50 \usepackage{newlfont}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{array}
\usepackage[dvipdfm]{hyperref}
\parindent 1.0cm
\parskip 0.1cm
\renewcommand{\baselinestretch}{1.5}
\input{psfig.sty}
\begin{document}
\begin{frontmatter} |
|