Re: Frame Control in LYX Beamer Slides

2021-02-14 Thread Paul A. Rubin

On 2/14/21 3:02 PM, Doug Martin wrote:



On Sun, Feb 14, 2021 at 11:03 AM Paul A. Rubin > wrote:


That said, the culprit is a setting in the document. If you go to
Document > Settings... > Math Options, you will note that the
"Indent formulas" option is checked and set to Default. Uncheck it
and your centered formulas will center properly.


*Perfect. Many thanks.  Now I know to look around more at the settings.*
*
*
*Doug*


One last comment: When I create a new Beamer document, the "Indent 
formulas" box is unchecked by default (as it is with other document 
classes I use). So I think there are three possibilities here:


1. you selected it in this document a while back for some reason (or
   unintentionally -- the dreaded stray click);
2. you made this document by recycling a previous document or using a
   "template" document, and that document had it selected; or
3. you somehow wound up with having it selected by default when you
   create a new document.

The third one is easy to check: create a new doc and see if indent is 
chosen. I bring this up because you should not have to mess with this in 
future documents (unless you want indentation the default in other 
docs). If you accidentally have indentation as a document default and 
don't want that, just create a new doc of the correct default class 
(standard article for me), go to the math options settings and uncheck 
indentation, then go to Document Class settings and click "Save as 
Document Defaults".


Paul

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Frame Control in LYX Beamer Slides

2021-02-14 Thread Doug Martin
On Sun, Feb 14, 2021 at 11:03 AM Paul A. Rubin  wrote:

> On 2/14/21 1:16 PM, Doug Martin wrote:
>
> Paul (and all),
>
> Sorry for this partial repeat, as I accidentally sent previous email
> before I was finished:
>
> As for my desire to center equations, I have attached the LYX file and the
> resulting pdf file.
> The last pdf slide shows the left-justification of equations that I am
> getting.
>
> The Beamer theme used in the LaTeX preamble is Madrid.  There is a Madrid
> theme slide deck at
> Paul,
>
> As for my desire to center equations, I have attached the LYX file and the
> resulting pdf file.
> The last pdf slide shows the left-justification of equations that I am
> getting.
>
> The Beamer theme used in the LaTeX preamble is Madrid. For an example of
> the Madrid theme see
> http://homepages.math.uic.edu/~hurder/math589/beamer/index.html, where
> the equations are centered.
> So I guess there are some other things I have to change in the LaTeX
> preamble?  I'm a little bit lost here.
>
> Doug
>
> Doug,
>
> You and I have entirely different ideas of what a minimal example is.
>

*Sorry about that.*

> That said, the culprit is a setting in the document. If you go to Document
> > Settings... > Math Options, you will note that the "Indent formulas"
> option is checked and set to Default. Uncheck it and your centered formulas
> will center properly.
>

*Perfect.  Many thanks.  Now I know to look around more at the settings.*

*Doug*

>
> Paul
>
>

-- 
R. Douglas Martin
Professor Emeritus in Applied Mathematics and Statistics
Founder and Former Director of MS-CFRM Program
depts.washington.edu/compfin/
University of Washington
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Frame Control in LYX Beamer Slides

2021-02-14 Thread Paul A. Rubin

On 2/14/21 1:16 PM, Doug Martin wrote:

Paul (and all),

Sorry for this partial repeat, as I accidentally sent previous email 
before I was finished:


As for my desire to center equations, I have attached the LYX file and 
the resulting pdf file.
The last pdf slide shows the left-justification of equations that I am 
getting.


The Beamer theme used in the LaTeX preamble is Madrid.  There is a 
Madrid theme slide deck at

Paul,

As for my desire to center equations, I have attached the LYX file and 
the resulting pdf file.
The last pdf slide shows the left-justification of equations that I am 
getting.


The Beamer theme used in the LaTeX preamble is Madrid. For an example 
of the Madrid theme see
http://homepages.math.uic.edu/~hurder/math589/beamer/index.html, where 
the equations are centered.
So I guess there are some other things I have to change in the LaTeX 
preamble?  I'm a little bit lost here.


Doug


Doug,

You and I have entirely different ideas of what a minimal example is. 
That said, the culprit is a setting in the document. If you go to 
Document > Settings... > Math Options, you will note that the "Indent 
formulas" option is checked and set to Default. Uncheck it and your 
centered formulas will center properly.


Paul

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Frame Control in LYX Beamer Slides

2021-02-14 Thread Rich Shepard

On Sun, 14 Feb 2021, Doug Martin wrote:


I also found that it is helpful to always create right away the separator
to end the Frame, which is not in the main Dropdown menu for Standard,
etc., as I had seen in a tutorial, but in the Insert drop down menu.


Doug,

If you put the cursor at the very end of a frame and press Alt-P
Shift-Return you'll add a new frame below that one.


By the way, do you happen to know how to get true horizontally centered
equations in Beamer slides. When I center them in the LYX file, they end
up shifted somewhat left.


I've no answer to this, but when I have only a figure on a slide it is by
default left-justified. I add a {\hspace} of appropriate amount visually
center it in the compiled PDF.

HTH,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Frame Control in LYX Beamer Slides

2021-02-14 Thread Paul A. Rubin

On 2/14/21 11:58 AM, Doug Martin wrote:


I also found that it is helpful to always create right away the 
separator to end the Frame, which is not in the main Dropdown menu for 
Standard, etc., as I had seen in a tutorial, but in the Insert drop 
down menu.


By the way, do you happen to know how to get true horizontally 
centered equations in Beamer slides. When I center them in the LYX file,

they end up shifted somewhat left.


In the Insert menu, you should find "Separated Frame Below", the default 
binding for which is Alt+P Return. That will both insert a separator and 
start a new frame in one gulp.


I don't know what you mean about centering equations. I just hit 
Ctrl+Shift+M to get a math inset in display mode, then change the type 
of equation if necessary. The equations are centered on the slide, at 
least to my satisfaction. Perhaps you should post a minimal working 
example with an off-center equation to the user list.


Paul

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Frame Control in LYX Beamer Slides

2021-02-14 Thread Doug Martin
Paul,

Thanks very much for the quick response.  That works.

I also found that it is helpful to always create right away the separator
to end the Frame, which is not in the main Dropdown menu for Standard,
etc., as I had seen in a tutorial, but in the Insert drop down menu.

By the way, do you happen to know how to get true horizontally centered
equations in Beamer slides. When I center them in the LYX file,
they end up shifted somewhat left.

Doug

On Sun, Feb 14, 2021 at 8:40 AM Paul A. Rubin  wrote:

> On 2/14/21 10:50 AM, Doug Martin wrote:
>
> I I have the following simple question:  I have by mistake created a new
> Frame and want to
> delete.  There must be a simple way to do that, but I am not seeing it.
> Thanks in advance for any guidance provided.
>
> Doug
>
>
> Put the cursor in the inset for the frame title (assuming there is one),
> at the very left, and hit backspace to get rid of the inset. Then just use
> the environment select box (start of the top tool bar) to change from Frame
> to Standard (or whatever you would like).
>
> Paul
>


-- 
R. Douglas Martin
Professor Emeritus in Applied Mathematics and Statistics
Founder and Former Director of MS-CFRM Program
depts.washington.edu/compfin/
University of Washington
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Frame Control in LYX Beamer Slides

2021-02-14 Thread Paul A. Rubin

On 2/14/21 10:50 AM, Doug Martin wrote:
I I have the following simple question:  I have by mistake created a 
new Frame and want to

delete. There must be a simple way to do that, but I am not seeing it.
Thanks in advance for any guidance provided.

Doug


Put the cursor in the inset for the frame title (assuming there is one), 
at the very left, and hit backspace to get rid of the inset. Then just 
use the environment select box (start of the top tool bar) to change 
from Frame to Standard (or whatever you would like).


Paul
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users