Redian新闻
>
如何限定作用区域,挺土的问题
avatar
如何限定作用区域,挺土的问题# TeX - TeX电子排版系统
w*e
1
我是新手
用过一些command后,总是会影响后面的文字,
比如\rightarrow, 之后,后面的文字就都拧在一起了,好ft
多谢
avatar
f*h
2
put it inside {}

【在 w******e 的大作中提到】
: 我是新手
: 用过一些command后,总是会影响后面的文字,
: 比如\rightarrow, 之后,后面的文字就都拧在一起了,好ft
: 多谢

avatar
T*n
3
Not sure what you mean by 后面的文字就都拧在一起了---
I wouldn't normally expect that to happen.
\rightarrow falls in the same math symbol class as the
equal sign. Do you get the same problem if you replace
\rightarrow with "="? Can you give a short LaTeX code
example that reproduces this problem?

【在 w******e 的大作中提到】
: 我是新手
: 用过一些command后,总是会影响后面的文字,
: 比如\rightarrow, 之后,后面的文字就都拧在一起了,好ft
: 多谢

avatar
w*e
4
比如
\vspace{0.1in}
The actual effect of first attack is ...,
which can be denoted as V\rightarrow I.
the second kind of...
\rightarrow 后面的文字就都变成斜体字,并且没有字间空格。我是在window下编辑te
x文件,然后在linux下编译。
后来我用了$, i.e. $V \rightarrow I$ 虽然控制住了范围,但是变成斜体字了:(

【在 T*******n 的大作中提到】
: Not sure what you mean by 后面的文字就都拧在一起了---
: I wouldn't normally expect that to happen.
: \rightarrow falls in the same math symbol class as the
: equal sign. Do you get the same problem if you replace
: \rightarrow with "="? Can you give a short LaTeX code
: example that reproduces this problem?

avatar
J*r
5
V $\rightarrow$ I

【在 w******e 的大作中提到】
: 比如
: \vspace{0.1in}
: The actual effect of first attack is ...,
: which can be denoted as V\rightarrow I.
: the second kind of...
: \rightarrow 后面的文字就都变成斜体字,并且没有字间空格。我是在window下编辑te
: x文件,然后在linux下编译。
: 后来我用了$, i.e. $V \rightarrow I$ 虽然控制住了范围,但是变成斜体字了:(

avatar
T*n
6
\rightarrow is a math mode command, so you can only use it in
an equation, e.g., surrounded by $...$ or \begin{equation}...\end{equation}.
Here you want to say
which can be denoted as $V\rightarrow I$.
Because the $...$ were missing, LaTeX added a $ in front of \rightarrow.
If you ran LaTeX on the command line in Linux or Windows, LaTeX should
have stopped to tell you that it had to add the $; it might not stop if you
ran LaTeX from some kind of integrated editor that throws away LaTeX's
wa

【在 w******e 的大作中提到】
: 比如
: \vspace{0.1in}
: The actual effect of first attack is ...,
: which can be denoted as V\rightarrow I.
: the second kind of...
: \rightarrow 后面的文字就都变成斜体字,并且没有字间空格。我是在window下编辑te
: x文件,然后在linux下编译。
: 后来我用了$, i.e. $V \rightarrow I$ 虽然控制住了范围,但是变成斜体字了:(

avatar
T*n
7
You won't get the right spacing this way, and the equation could
be broken incorrectly across two lines since LaTeX sees it as
three words, not an equation.
Use one of the two solutions I mentioned in my previous post.

【在 J*******r 的大作中提到】
: V $\rightarrow$ I
avatar
w*e
8
感谢斑猪
解释的好详细:)

【在 T*******n 的大作中提到】
: You won't get the right spacing this way, and the equation could
: be broken incorrectly across two lines since LaTeX sees it as
: three words, not an equation.
: Use one of the two solutions I mentioned in my previous post.

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