Redian新闻
>
我写align语句遇到了编译错误。。。
avatar
我写align语句遇到了编译错误。。。# TeX - TeX电子排版系统
n*6
1
Environment: Win2003, SQL2005,
Process: Load .xls by using SSIS Wizard (DB->Task->Import Data)
.xls File Structure: (col1, col2, ..., col8, col9)
Columns: col8:numbers; col9: numbers
First Line: xx, xx,... xx, xx (to set col8, col9 character)
Loading result:col1, col2, ... col8 (nvarchar), col9(float)
Question: Why col8 nvarchar while col9 float?
Thank you.
avatar
m*d
2
想编方程组,老是报错,错误是\begin{align} allowed only in paragraph
mode...
怎么回事呢?是不是amsmath这个package的问题呢?谢谢!
avatar
n*6
3
Possible answer:
SQL define the col format by the first 8 rows, and the format with most
number of cells will be the format for that column.
avatar
s*g
4
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.

【在 m****d 的大作中提到】
: 想编方程组,老是报错,错误是\begin{align} allowed only in paragraph
: mode...
: 怎么回事呢?是不是amsmath这个package的问题呢?谢谢!

avatar
i*a
5
this can be controlled if you go to column settings when you setup the
import

【在 n********6 的大作中提到】
: Environment: Win2003, SQL2005,
: Process: Load .xls by using SSIS Wizard (DB->Task->Import Data)
: .xls File Structure: (col1, col2, ..., col8, col9)
: Columns: col8:numbers; col9: numbers
: First Line: xx, xx,... xx, xx (to set col8, col9 character)
: Loading result:col1, col2, ... col8 (nvarchar), col9(float)
: Question: Why col8 nvarchar while col9 float?
: Thank you.

avatar
m*d
6
谢谢你的意思是不是说,里面不能有$sign对吧,因为已经是数学格式啦,恩,谢谢了

a

【在 s*****g 的大作中提到】
: 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

avatar
n*6
7
thank you for your help.
avatar
m*d
8
终于
搞定啦,呵呵,看来不同版本规定不一定,有的要加$sign有的不需要,唉,麻烦!

a

【在 s*****g 的大作中提到】
: 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

avatar
g*l
9
import的时候要MAP COLUMN的,类型自己可以选
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。