Re: controlling the space in itemize lists

2016-10-27 Thread Benedict Holland
In a perfect world, yes. From my understanding, the lyx integration of
beamer is quite complicated. Also, this makes a great deal of sense. The
itemized lists are under a frame object, so they are essentially treated as
a sub-object when the user hits tab, as they should be. It also clearly
denotes what lists and objects are under which frames and which objects
simply have their own window. I abuse this feature particularly when
presenting pictures, though I suppose I could create an empty frame and tab
the image over.

~Ben

On Thu, Oct 27, 2016 at 7:18 AM, UD  wrote:

> Wouldn't it be simpler (for users who are creating a slide presentation)
> to just include in the frame everything that comes after the frame title,
> unless indicated otherwise (perhaps by an explicit EndOfFrame mark?
>
> EK
>
> On 10/26/2016 07:50 PM, Paul A. Rubin wrote:
>
> On 10/26/2016 12:10 PM, UD wrote:
>
>
>
> Thanks to you all-- increasing the list depth did it (is that the most
> intuitive thing here?).
>
> It is for me. When you hit return after a frame title, you're in the frame
> environment, so text typed there will appear on the frame. As soon as you
> change to any other environment, though, you're out of the frame
> environment and need to nest under it.
>
> IIRC, before Jürgen refactored the Beamer layout you had to nest even
> ordinary text. So I guess it's a well-entrenched habit for me.
>
> Paul
>
>
>
> --
> Ehud Kaplan, Ph.D.
>
>


Re: controlling the space in itemize lists

2016-10-27 Thread UD

  
  
Wouldn't it be simpler (for users who are creating a slide
presentation) to just include in the frame everything that comes
after the frame title, unless indicated otherwise (perhaps by an
explicit EndOfFrame mark?

EK 

On 10/26/2016 07:50 PM, Paul A. Rubin
  wrote:


  
  On 10/26/2016 12:10 PM, UD wrote:
  
  




Thanks to you all-- increasing the list depth did it (is that
the most intuitive thing here?).  
  
  It is for me. When you hit return after a frame title, you're in
  the frame environment, so text typed there will appear on the
  frame. As soon as you change to any other environment, though,
  you're out of the frame environment and need to nest under it.
  
  IIRC, before Jürgen refactored the Beamer layout you had to nest
  even ordinary text. So I guess it's a well-entrenched habit for
  me.
  
  Paul
  
  


-- 
Ehud Kaplan, Ph.D.

  



Re: controlling the space in itemize lists

2016-10-26 Thread Paul A. Rubin

On 10/26/2016 12:10 PM, UD wrote:



Thanks to you all-- increasing the list depth did it (is that the most 
intuitive thing here?).
It is for me. When you hit return after a frame title, you're in the 
frame environment, so text typed there will appear on the frame. As soon 
as you change to any other environment, though, you're out of the frame 
environment and need to nest under it.


IIRC, before Jürgen refactored the Beamer layout you had to nest even 
ordinary text. So I guess it's a well-entrenched habit for me.


Paul




Re: controlling the space in itemize lists

2016-10-26 Thread UD

  
  


On 10/26/2016 05:36 PM, Paul A. Rubin
  wrote:

On 10/26/2016 11:08 AM, UD wrote:
  
  Thanks Scott, but that did not work. 
However, by exporting the Lyx file to Latex, I discovered that
the problem was that the \end{frame} appeared right after the
frame title, leaving the itemized text outside the frame.  Once
I corrected that (in the Latex file) everything was fine.  I
hate to have to export to Latex, fix things, and then import
back into Lyx...

There does not seem to be an explicit way to tell Lyx to insert
an \end{frame} mark where I want it.   BTW-- the manual
recommends using alt+P return to start a new frame, but it does
not work in my Lyx 2.2 under Linux Mint.  The edit/start new
environment (frame) seems to be available from time to time, but
not always. I am sure there is a logical explanation to all of
this, but I don't know what it is.


EK


  
  Ehud,
  
  
  If you begin an itemization or enumeration after the frame title,
  you need to "increase depth" to tuck it into the frame. Failure to
  do so results in the \end{frame} coming after the title and before
  the itemization. The default binding is alt-shift-right, or you
  can use the increase depth button on the toolbar (default location
  is three icons right of the itemize button), or Edit > Increase
  List Depth on the menu.
  
  
  For starting a new frame, try alt-P followed by shift-return.
  FWIW, I use the cua binding, but I added a custom binding,
  assigning "call newframe" to ctrl-alt-return. That starts a new
  frame from anywhere.
  
  
  I'm also running Mint, with LyX 2.2.2.
  
  
  Paul
  
  

Thanks to you all-- increasing the list depth did it (is that the
most intuitive thing here?).  No need to detour through Latex ;-)

Ek


  



Re: controlling the space in itemize lists

2016-10-26 Thread Paul A. Rubin

On 10/26/2016 11:08 AM, UD wrote:
Thanks Scott, but that did not work.  However, by exporting the Lyx 
file to Latex, I discovered that the problem was that the \end{frame} 
appeared right after the frame title, leaving the itemized text 
outside the frame.  Once I corrected that (in the Latex file) 
everything was fine.  I hate to have to export to Latex, fix things, 
and then import back into Lyx...
There does not seem to be an explicit way to tell Lyx to insert an 
\end{frame} mark where I want it.   BTW-- the manual recommends using 
alt+P return to start a new frame, but it does not work in my Lyx 2.2 
under Linux Mint.  The edit/start new environment (frame) seems to be 
available from time to time, but not always. I am sure there is a 
logical explanation to all of this, but I don't know what it is.


EK


Ehud,

If you begin an itemization or enumeration after the frame title, you 
need to "increase depth" to tuck it into the frame. Failure to do so 
results in the \end{frame} coming after the title and before the 
itemization. The default binding is alt-shift-right, or you can use the 
increase depth button on the toolbar (default location is three icons 
right of the itemize button), or Edit > Increase List Depth on the menu.


For starting a new frame, try alt-P followed by shift-return. FWIW, I 
use the cua binding, but I added a custom binding, assigning "call 
newframe" to ctrl-alt-return. That starts a new frame from anywhere.


I'm also running Mint, with LyX 2.2.2.

Paul



Re: controlling the space in itemize lists

2016-10-26 Thread Jürgen Spitzmüller
Am Mittwoch, den 26.10.2016, 17:08 +0200 schrieb UD:
> Thanks Scott, but that did not work.  However, by exporting the Lyx
> file 
> to Latex, I discovered that the problem was that the \end{frame} 
> appeared right after the frame title, leaving the itemized text
> outside 
> the frame.  

This sounds like you did not nest the itemize into the frame.

Since Frame is an environment, everything that has not itself "Frame"
paragraph type must be nested (like in other environments).

Select the list and hit Tab.

HTH
Jürgen

signature.asc
Description: This is a digitally signed message part


Re: controlling the space in itemize lists

2016-10-26 Thread Scott Kostyshak
On Wed, Oct 26, 2016 at 05:08:36PM +0200, UD wrote:

> I hate to have to
> export to Latex, fix things, and then import back into Lyx...

+1

Can you please send a minimal example showing the problem (not the fixed
.lyx file)?

> The edit/start new environment (frame) seems to be available from
> time to time, but not always.  I am sure there is a logical explanation to
> all of this, but I don't know what it is.

This is indeed confusing for a lot of users. If you send a minimal
example, say exactly where to put the cursor, then I or someone can see
whether there is a bug or which is the best way to start a new frame
from your cursor position.

Scott

P.S. thanks for bottom-posting and for a plain-text version of the
email!


signature.asc
Description: PGP signature


Re: controlling the space in itemize lists

2016-10-26 Thread UD


On 10/26/2016 05:37 AM, Scott Kostyshak wrote:

On Wed, Oct 26, 2016 at 04:39:16AM +0200, UD wrote:

The Beamer manual encourages us to use itemize "a lot-- REALLY use it".  But
what I observe is that it spreads the items on the slide so as to occupy the
entire height of the slide, even if there are only two items in the itemized
list, so there is a huge, ugly space between them.  If that is the default,
it is faulty. However, I suspect that I am doing something wrong, since it
is hard to imagine that this is what the Beamer creators had in mind.

I'm not sure if this is what you're talking about, but try this: at the
beginning of the first item, start an ERT and put the following in it:

\setlength\itemsep{\fill}

Scott
Thanks Scott, but that did not work.  However, by exporting the Lyx file 
to Latex, I discovered that the problem was that the \end{frame} 
appeared right after the frame title, leaving the itemized text outside 
the frame.  Once I corrected that (in the Latex file) everything was 
fine.  I hate to have to export to Latex, fix things, and then import 
back into Lyx...
There does not seem to be an explicit way to tell Lyx to insert an 
\end{frame} mark where I want it.   BTW-- the manual recommends using 
alt+P return to start a new frame, but it does not work in my Lyx 2.2 
under Linux Mint.  The edit/start new environment (frame) seems to be 
available from time to time, but not always.  I am sure there is a 
logical explanation to all of this, but I don't know what it is.


EK



Re: controlling the space in itemize lists

2016-10-26 Thread UD

  
  

On 10/26/2016 06:29 AM, Joel Kulesza
  wrote:


  

  On Tue, Oct 25, 2016 at 8:39 PM, UD 
wrote:

  
But what I observe is that it spreads the items on
  the slide so as to occupy the entire height of the
  slide, even if there are only two items in the
  itemized list, so there is a huge, ugly space between
  them.  If that is the default, it is faulty. However,
  I suspect that I am doing something wrong, since it is
  hard to imagine that this is what the Beamer creators
  had in mind.
  

I haven't seen the large spacing you're referring to in
  my other times using Beamer.  On the contrary, I see the
  attached behavior using rather vanilla settings.  Is there
  a customization somewhere that is affecting the spacing
  you're observing? 


Note that I included itemized (bulleted) and enumerated
  (numbered) lists, as it isn't clear from the earlier
  emails which is truly causing the problem.
  
  

  


I searched for an offending customization, but could not find it
  so far.  Your example works fine for me, as did many others of my
  own in the past, so for the time being it is a mystery.  Stay
  tuned
EK


-
  



Re: controlling the space in itemize lists

2016-10-25 Thread Joel Kulesza
On Tue, Oct 25, 2016 at 8:39 PM, UD  wrote:

> But what I observe is that it spreads the items on the slide so as to
> occupy the entire height of the slide, even if there are only two items in
> the itemized list, so there is a huge, ugly space between them.  If that is
> the default, it is faulty. However, I suspect that I am doing something
> wrong, since it is hard to imagine that this is what the Beamer creators
> had in mind.
>
I haven't seen the large spacing you're referring to in my other times
using Beamer.  On the contrary, I see the attached behavior using rather
vanilla settings.  Is there a customization somewhere that is affecting the
spacing you're observing?

Note that I included itemized (bulleted) and enumerated (numbered) lists,
as it isn't clear from the earlier emails which is truly causing the
problem.


beamer_short_list.lyx
Description: Binary data


beamer_short_list.pdf
Description: Adobe PDF document


Re: controlling the space in itemize lists

2016-10-25 Thread Scott Kostyshak
On Wed, Oct 26, 2016 at 04:39:16AM +0200, UD wrote:
> The Beamer manual encourages us to use itemize "a lot-- REALLY use it".  But
> what I observe is that it spreads the items on the slide so as to occupy the
> entire height of the slide, even if there are only two items in the itemized
> list, so there is a huge, ugly space between them.  If that is the default,
> it is faulty. However, I suspect that I am doing something wrong, since it
> is hard to imagine that this is what the Beamer creators had in mind.

I'm not sure if this is what you're talking about, but try this: at the
beginning of the first item, start an ERT and put the following in it:

\setlength\itemsep{\fill}

Scott


signature.asc
Description: PGP signature


Re: controlling the space in itemize lists

2016-10-25 Thread UD
The Beamer manual encourages us to use itemize "a lot-- REALLY use it".  
But what I observe is that it spreads the items on the slide so as to 
occupy the entire height of the slide, even if there are only two items 
in the itemized list, so there is a huge, ugly space between them.  If 
that is the default, it is faulty. However, I suspect that I am doing 
something wrong, since it is hard to imagine that this is what the 
Beamer creators had in mind.


Ek


On 10/25/2016 08:43 PM, Dr Eberhard W Lisse wrote:

The purpose of not messing with the defaults, so as to overload the slides :-)-O

el



--



Re: controlling the space in itemize lists

2016-10-25 Thread Dr Eberhard W Lisse
The purpose of not messing with the defaults, so as to overload the slides :-)-O

el

-- 
Sent from Dr Lisse's iPad mini 4

> On 25 Oct 2016, at 18:58, UD  wrote:
> 
> I am not sure which purpose it defeats-- my purpose is to have slides that 
> look the way I would like them to look. 
> Lyx interfaces with Beamer and-- as it does in other areas-- makes it easier 
> to avoid using native Latex directly. 
> In addition, there are experts latex users on this list, so I thought I'd try 
> here.
> 
> EK
> 
>> On 10/25/2016 10:05 AM, Dr Eberhard Lisse wrote:
>> Isn't that defeating the purpose?
>> 
>> Never mind that this is a LaTeX/Beamer and not a LyX issue, so you
>> might get more help on the correct lists.
>> 
>> el
>> 
>> On 2016-10-24 20:23, UD wrote:
>>> Since it seems that /enumitem/ is incompatible with Beamer, (how) can
>>> I control the vertical spacing in itemized lists in Beamer/Lyx?
>>> 
>>> Thanks
>>> 
>>> 
> 
> -- 
> Ehud Kaplan, Ph.D.
> Jules and Doris Stein Research to Prevent Blindness Professor
> Director, Center of Excellence for Computational & System neuroscience,
> The Friedman Brain Institute, ISMMS
> Director, The laboratory of Visual & Computational Neuroscience
> Depts. of Neuroscience, Ophthalmology, Chemical & Structural Biology
> The Icahn School of Medicine at Mount Sinai
> One Gustave Levy Place
> New York, NY, 10029
> USA



Re: controlling the space in itemize lists

2016-10-25 Thread UD

  
  
I am not sure which purpose it defeats-- my purpose is to have
slides that look the way I would like them to look. 
Lyx interfaces with Beamer and-- as it does in other areas-- makes
it easier to avoid using native Latex directly. 
In addition, there are experts latex users on this list, so I
thought I'd try here.

EK

On 10/25/2016 10:05 AM, Dr Eberhard
  Lisse wrote:


  Isn't that defeating the purpose?

Never mind that this is a LaTeX/Beamer and not a LyX issue, so you
might get more help on the correct lists.

el

On 2016-10-24 20:23, UD wrote:

  
Since it seems that /enumitem/ is incompatible with Beamer, (how) can
I control the vertical spacing in itemized lists in Beamer/Lyx?

Thanks



  
  



-- 
Ehud Kaplan, Ph.D.
Jules and Doris Stein Research to Prevent Blindness Professor
Director, Center of Excellence for Computational & System neuroscience,
The Friedman Brain Institute, ISMMS
Director, The laboratory of Visual & Computational Neuroscience
Depts. of Neuroscience, Ophthalmology, Chemical & Structural Biology
The Icahn School of Medicine at Mount Sinai
One Gustave Levy Place
New York, NY, 10029
USA
  



Re: controlling the space in itemize lists

2016-10-25 Thread edu Gpl
hi
mybe this code help you (put it in local layout):

Style Itemize
>
> ItemSep 0
>
> ParSep 0
>
> End
>
> Style Enumerate
>
> ItemSep 0
>
> ParSep 0
>
> End
>

best regards





2016-10-25 11:05 GMT+03:00 Dr Eberhard Lisse :

> Isn't that defeating the purpose?
>
> Never mind that this is a LaTeX/Beamer and not a LyX issue, so you
> might get more help on the correct lists.
>
> el
>
> On 2016-10-24 20:23, UD wrote:
> > Since it seems that /enumitem/ is incompatible with Beamer, (how) can
> > I control the vertical spacing in itemized lists in Beamer/Lyx?
> >
> > Thanks
> >
> >
>
>
>


Re: controlling the space in itemize lists

2016-10-25 Thread Dr Eberhard Lisse
Isn't that defeating the purpose?

Never mind that this is a LaTeX/Beamer and not a LyX issue, so you
might get more help on the correct lists.

el

On 2016-10-24 20:23, UD wrote:
> Since it seems that /enumitem/ is incompatible with Beamer, (how) can
> I control the vertical spacing in itemized lists in Beamer/Lyx?
>
> Thanks
> 
> 




controlling the space in itemize lists

2016-10-24 Thread UD
Since it seems that /enumitem/ is incompatible with Beamer, (how) can I 
control the vertical spacing in itemized lists in Beamer/Lyx?


Thanks


--
Ehud Kaplan