Re: \hat{x}_i

2018-06-11 Thread David L. Johnson
On Mon, 11 Jun 2018 03:14:59 -0700
Daniel Kian Mc Kiernan  wrote:

> A _pure_ LyX method is to select the hat box from the frame 
> decorations menu, enter the ‘x’, leave the hat box, then select 
> subscripts, and enter the ‘i’
> 
> But, really, I think that a mix of LaTeX and gooey LyX is a better
> way to go.  I'd probably use the method of Hal Kierstead.  Professor 
> Johnson's second method is fine too.

I would agree that a more LaTeX approach would be easiest, but I
usually find myself needing to add, or remove, an \overline{}
decoration, which is easier for me in the gooey fashion.  The only
problem with using LaTeX directly is that LyX puts you in that box, and
you have to know to get out of it.


-- 

David L. Johnson
Department of Mathematics
Lehigh University


Re: \hat{x}_i

2018-06-11 Thread Daniel Kian Mc Kiernan

On 06/08/2018 03:58 PM, Hal Kierstead wrote:



On Jun 8, 2018, at 3:28 PM, David L. Johnson  wrote:

On Fri, 08 Jun 2018 17:49:15 -0400
Neal Becker  wrote:


How do I enter (without using raw TeX)
\hat{x}_i?

I seem to always end up with \hat{x_i}, which isn't the same (and
doesn't look correct)


You have to be just a little careful.  You can either enter the x, then
highlight it and add in the \hat from the menu, then get out of that
box and enter the _i, or you can enter the x_i, highlight the x only,
and choose the \hat from the menu.  Since I don't always remember
quickly all of the commands for such decorations, it's easier for me to
do this than to use the keystrokes.

--

David L. Johnson
Department of Mathematics
Lehigh University


In math type \hat[return key]. You will get a box. Type x. Get out of the box. 
Type _i.

Hal


A _pure_ LyX method is to select the hat box from the frame 
decorations menu, enter the ‘x’, leave the hat box, then select 
subscripts, and enter the ‘i’


But, really, I think that a mix of LaTeX and gooey LyX is a better way 
to go.  I'd probably use the method of Hal Kierstead.  Professor 
Johnson's second method is fine too.


Re: \hat{x}_i

2018-06-11 Thread Jean-Marc Lasgouttes

Le 08/06/2018 à 23:49, Neal Becker a écrit :

How do I enter (without using raw TeX)
\hat{x}_i?

I seem to always end up with \hat{x_i}, which isn't the same (and doesn't
look correct)



I do
  \hatx_i

JMarc