w******e 发帖数: 12 | 1 我是新手
用过一些command后,总是会影响后面的文字,
比如\rightarrow, 之后,后面的文字就都拧在一起了,好ft
多谢 |
f********h 发帖数: 149 | 2 put it inside {}
【在 w******e 的大作中提到】 : 我是新手 : 用过一些command后,总是会影响后面的文字, : 比如\rightarrow, 之后,后面的文字就都拧在一起了,好ft : 多谢
|
T*******n 发帖数: 493 | 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 : 多谢
|
w******e 发帖数: 12 | 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?
|
J*******r 发帖数: 379 | 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$ 虽然控制住了范围,但是变成斜体字了:(
|
T*******n 发帖数: 493 | 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$ 虽然控制住了范围,但是变成斜体字了:(
|
T*******n 发帖数: 493 | 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
|
w******e 发帖数: 12 | 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.
|