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?
比如 \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
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
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
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
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.