Re: String including \rightarrow works unless with other text

2024-01-02 Thread Rich Shepard
On Tue, 2 Jan 2024, Kornel Benko wrote: Alternatively you could use symbols from Insert->Special Character->Symbols...->Category: Arrows or use unicode direct with M-x unicode-insert 2192 Kornel, Thank you. I'm used to using the unfortuately-named ERT so I added the $ where

Re: String including \rightarrow works unless with other text [RESOLVED]

2024-01-02 Thread Rich Shepard
On Tue, 2 Jan 2024, Herbert Voss wrote: $\rightarrow$  It must be in mathmode. However, insert it with the LyX mathmode and you can insert the arrow as symbol. Herbert, Mea culpa! You and Paul pointed out that totally spaced using mathmode. Adding the '$' was easier than inline math. Thanks

Re: String including \rightarrow works unless with other text

2024-01-02 Thread Rich Shepard
On Tue, 2 Jan 2024, Paul Rubin wrote: Neither displays correctly for me. The issue is that you are inserting the arrow as LaTeX without invoking math mode (at least in mwe2; in mwe it's not even LaTeX). So the compiler guesses where to begin and end math mode, and it does not guess correctly.

Re: String including \rightarrow works unless with other text

2024-01-02 Thread Kornel Benko
Am Tue, 2 Jan 2024 18:35:50 +0100 schrieb Herbert Voss : > Am 02.01.24 um 18:15 schrieb Rich Shepard: > > I'm puzzled. In a document I display a series using \rightarrow to > > separate > > the components. When I compile the document it displays as in the > > attached > > mwe2.lyx file. When

Re: String including \rightarrow works unless with other text

2024-01-02 Thread Herbert Voss
Am 02.01.24 um 18:15 schrieb Rich Shepard: I'm puzzled. In a document I display a series using \rightarrow to separate the components. When I compile the document it displays as in the attached mwe2.lyx file. When the string is by itself (mwe.lyx) it displays properly. I suspect it's a

Re: String including \rightarrow works unless with other text

2024-01-02 Thread Paul Rubin
On 1/2/24 12:15, Rich Shepard wrote: I'm puzzled. In a document I display a series using \rightarrow to separate the components. When I compile the document it displays as in the attached mwe2.lyx file. When the string is by itself (mwe.lyx) it displays properly. I suspect it's a matter of

String including \rightarrow works unless with other text

2024-01-02 Thread Rich Shepard
I'm puzzled. In a document I display a series using \rightarrow to separate the components. When I compile the document it displays as in the attached mwe2.lyx file. When the string is by itself (mwe.lyx) it displays properly. I suspect it's a matter of spacing but I haven't figured out where.