Re: problem nesting enumerate lists
On Wed, Jun 5, 2013 at 11:18 AM, Richard Heck wrote: > On 06/05/2013 12:12 PM, Piersante Sestini wrote: > >> On 05/06/2013 17:46, Richard Heck wrote: >> >>> On 06/05/2013 11:32 AM, Piersante Sestini wrote: >>> >>>> I have a problem formatting enumerated lists in a document. >>>> >>>> What I need is >>>> == >>>> 1 item bla bla bla bla >>>> (a) sub-item >>>> (b)another sub-item >>>> continue item 1 again bla bla bla >>>> >>>> 2 another item bla bla bla >>>> >>>> However, what I get is: >>>> >>>> 1 item bla bla bla bla >>>> (a) sub-item >>>> (b)another sub-item >>>> 2 continue item 1 again bla bla bla <---!!! >>>> >>>> 3 another item bla bla bla >>>> >>>> == >>>> How do I prevent lyx from inserting a new item number after the last >>>> sub-item of a list? >>>> >>> >>> I don't think you can do this in LyX without ERT. LyX thinks that new >>> paragraphs are new items, and I don't see any way to override this behavior. >>> >>> For now, then, you have to use ERT for your subitems, as in the attached. >>> >>> Richard >>> >>> Thanks! I actually solved it (just by luck) changing the text after the >> last sub-item to "standard", and keeping it nested at the same level of the >> sub-items. >> > > Indeed, that does work. And what's really funny is that I've used this > trick myself in the past. Totally forgot about it. > > Bennet's solution works perfectly and it is aesthetically pleasing to the eye. Sometimes, though, you need to interrupt the list altogether, go back to regular, non-indented body text, and then resume the list from the next number.Something like this: 1 item bla bla bla bla (a) sub-item (b)another sub-item continue item 1 again bla bla bla 2 another item bla bla bla In these cases you can use the enumitem module, which imports the enumitem latex package. Unfortunately the numbering pattern looks wrong on screen, but it turns out fine in the pdf. See attached example. Cheers, Stefano -- __ Stefano Franchi Associate Research Professor Department of Hispanic StudiesPh: +1 (979) 845-2125 Texas A&M University Fax: +1 (979) 845-6421 College Station, Texas, USA stef...@tamu.edu http://stefano.cleinias.org enumitem-test.lyx Description: Binary data
Re: problem nesting enumerate lists
On 06/05/2013 12:18 PM, Richard Heck wrote: On 06/05/2013 12:12 PM, Piersante Sestini wrote: On 05/06/2013 17:46, Richard Heck wrote: On 06/05/2013 11:32 AM, Piersante Sestini wrote: I have a problem formatting enumerated lists in a document. What I need is == 1 item bla bla bla bla (a) sub-item (b)another sub-item continue item 1 again bla bla bla 2 another item bla bla bla However, what I get is: 1 item bla bla bla bla (a) sub-item (b)another sub-item 2 continue item 1 again bla bla bla <---!!! 3 another item bla bla bla == How do I prevent lyx from inserting a new item number after the last sub-item of a list? I don't think you can do this in LyX without ERT. LyX thinks that new paragraphs are new items, and I don't see any way to override this behavior. For now, then, you have to use ERT for your subitems, as in the attached. Richard Thanks! I actually solved it (just by luck) changing the text after the last sub-item to "standard", and keeping it nested at the same level of the sub-items. Indeed, that does work. And what's really funny is that I've used this trick myself in the past. Totally forgot about it. I'll attach a document like that in case anyone else has this problem. Wrong file attached last time. rh item.lyx Description: application/lyx
Re: problem nesting enumerate lists
On 06/05/2013 12:12 PM, Piersante Sestini wrote: On 05/06/2013 17:46, Richard Heck wrote: On 06/05/2013 11:32 AM, Piersante Sestini wrote: I have a problem formatting enumerated lists in a document. What I need is == 1 item bla bla bla bla (a) sub-item (b)another sub-item continue item 1 again bla bla bla 2 another item bla bla bla However, what I get is: 1 item bla bla bla bla (a) sub-item (b)another sub-item 2 continue item 1 again bla bla bla <---!!! 3 another item bla bla bla == How do I prevent lyx from inserting a new item number after the last sub-item of a list? I don't think you can do this in LyX without ERT. LyX thinks that new paragraphs are new items, and I don't see any way to override this behavior. For now, then, you have to use ERT for your subitems, as in the attached. Richard Thanks! I actually solved it (just by luck) changing the text after the last sub-item to "standard", and keeping it nested at the same level of the sub-items. Indeed, that does work. And what's really funny is that I've used this trick myself in the past. Totally forgot about it. I'll attach a document like that in case anyone else has this problem. Richard item.lyx Description: application/lyx
Re: problem nesting enumerate lists
Actually, it's quite easy. The key is to make the continuation of (1) be a standard paragraph, but indent it so that it does not alter the numbering of (2). I hope this is clear: 1. [enumerated paragraph] item 1 (a) [indented enumerated paragraph] sub-item (b) [indented enumerated paragraph] another sub-item [indented standard paragraph] continue item 1 2. [non-indented enumerated paragraph] item 2. BH On Wed, Jun 5, 2013 at 11:46 AM, Richard Heck wrote: > On 06/05/2013 11:32 AM, Piersante Sestini wrote: > >> I have a problem formatting enumerated lists in a document. >> >> What I need is >> == >> 1 item bla bla bla bla >> (a) sub-item >> (b)another sub-item >> continue item 1 again bla bla bla >> >> 2 another item bla bla bla >> >> However, what I get is: >> >> 1 item bla bla bla bla >> (a) sub-item >> (b)another sub-item >> 2 continue item 1 again bla bla bla <---!!! >> >> 3 another item bla bla bla >> >> == >> How do I prevent lyx from inserting a new item number after the last >> sub-item of a list? >> > > I don't think you can do this in LyX without ERT. LyX thinks that new > paragraphs are new items, and I don't see any way to override this behavior. > > For now, then, you have to use ERT for your subitems, as in the attached. > > Richard > >
Re: problem nesting enumerate lists
On 06/05/2013 11:32 AM, Piersante Sestini wrote: I have a problem formatting enumerated lists in a document. What I need is == 1 item bla bla bla bla (a) sub-item (b)another sub-item continue item 1 again bla bla bla 2 another item bla bla bla However, what I get is: 1 item bla bla bla bla (a) sub-item (b)another sub-item 2 continue item 1 again bla bla bla <---!!! 3 another item bla bla bla == How do I prevent lyx from inserting a new item number after the last sub-item of a list? I don't think you can do this in LyX without ERT. LyX thinks that new paragraphs are new items, and I don't see any way to override this behavior. For now, then, you have to use ERT for your subitems, as in the attached. Richard item.lyx Description: application/lyx
problem nesting enumerate lists
I have a problem formatting enumerated lists in a document. What I need is == 1 item bla bla bla bla (a) sub-item (b)another sub-item continue item 1 again bla bla bla 2 another item bla bla bla However, what I get is: 1 item bla bla bla bla (a) sub-item (b)another sub-item 2 continue item 1 again bla bla bla <---!!! 3 another item bla bla bla == How do I prevent lyx from inserting a new item number after the last sub-item of a list? thanks, Piersante
The pLyX system: sorting tables and lists
There are four scripts attached with this email and one compressed-format LyX document: sortable.py, sortable_help.py -- a script for sorting tables in LyX, & its help file sortlist.py, sortlist_help.py -- a script for sorting lists in LyX, & its help file pLyXSorting(compressed).lyx -- an explanatory document with examples The LyX document is in compressed LyX format. For the examples to work it must be saved in uncompressed format. (The pLyX system depends on LyX files being *text* files.) It contains some example tables and a substantial multi-level list to play with. The table sorting script reworks for the pLyX system a script aired on this list back in September. On the developer's list I've noticed recent work to swap columns or swap rows in tables. I imagine once that is done, the next step will be hard to resist: go the whole way and sort the table. This might be a short-lived script. The list sorting script is new and was harder to write because of the recursive calls to the sorting routine required by the (possible) presence of sub-lists. My underlying interest in sorting lists arose from a wish to sort indexes. (With their headings, subheadings, sub-subheadings, ... the logic is the same.) Andrew def helpnote(hv): if hv > 1: return header + version else: return header + tail header = r'''\begin_layout LyX-Code \family roman \series bold .sort table \end_layout ''' version = r'''\begin_layout LyX-Code \family roman Version 1.0 (15 December 2012) Columns can be sorted more than once for inter-filed mixed-case alphabetical sorting. \end_layout \begin_layout LyX-Code \family roman Version 0.4 (1 November 2012) First version for pLyX system. \end_layout \begin_layout LyX-Code \family roman Version 0.3 (17 September 2012) Use of custom insets; yellow notes option, hrules and vrules preserved. \end_layout \begin_layout LyX-Code \family roman Version 0.2 (13 September 2012) Script now ignores ERT insets. \end_layout \begin_layout LyX-Code \family roman Version 0.1 (12 September 2012 Table sorting script posted to user's list. \end_layout ''' tail = r'''\begin_layout LyX-Code \family roman Sort the \emph on rows \emph default by the values in specified columns. \end_layout \begin_layout LyX-Code \end_layout \begin_layout LyX-Code \family roman \series bold Global options \end_layout \begin_layout LyX-Code \family roman - \series bold h --help \series default show this help note. \end_layout \begin_layout LyX-Code \family roman \series bold -v --version \series default show version information. \end_layout \begin_layout LyX-Code \family roman \series bold -n --notes \series default make LyX's (yellow) notes sortable; notes are sort-neutral by default. \end_layout \begin_layout LyX-Code \end_layout \begin_layout LyX-Code \family roman \series bold Local options \end_layout \begin_layout LyX-Code \family roman A sort specification is a sequence like \series bold 2a3A1+ \series default (or \series bold 2a 3A 1+ \series default or \series bold 2a \series default , \series bold 3A \series default , \series bold 1+ \series default , etc.) where the number indicates the column and the qualifying letter or sign indicates the kind of sort. A specification may involve from one to all columns in the table and a column may appear in the spec. more than once. The primary sort is by the first column specified, the secondary sort by the second column, etc. \end_layout \begin_layout Itemize \family roman \series bold a, A, + \series default indicate ascending sorts; \end_layout \begin_layout Itemize \family roman \series bold z, Z, - \series default indicate descending sorts; \end_layout \begin_layout Itemize \family roman letters indicate alphabetical sorts, uppercase indicating case sensitivity; \end_layout \begin_layout Itemize \family roman \series bold +, - \series default indicate numerical sorts. \end_layout \begin_layout LyX-Code \family roman The \emph on next \emph default and subsequent rows of a table following a sort specification are sorted. For neat alphabetical sorts involving inter-filed mixed case, specify columns twice, e.g. \series bold 1a1A \series default for an AaBbCc ... sort, or \series bold 1a1Z \series default for an aAbBcC ... sort. \end_layout ''' def helpnote(hv): if hv > 1: return header + version else: return header + tail header = r'''\begin_layout LyX-Code \family roman \series bold .sort list \end_layout ''' version = r'''\begin_layout LyX-Code \family roman Version 1.0 (16 December 2012) Allow secondary, tertiary, etc. sorts. \end_layout \begin_layout LyX-Code \family roman Version 0.2 (13 December 2012) Include -a and -n options. \end_layout \begin_layout LyX-Code \family roman Version 0.1 (8 N
Re: customizing bullets in lists: I got Simpsons now, you could too
On Fri, Dec 14, 2012 at 5:14 PM, Paul Johnson wrote: > Without further adieu! Working example output: > > http://pj.freefaculty.org/scraps/simpsons/simpsons-2.pdf > > Lyx file: > > http://pj.freefaculty.org/scraps/simpsons/simpsons-2.lyx > If anybody has ideas about these things, let me know. I may post that > example into the LyX Wiki, if I can reach the conclusion about whether > 1 and 2 can be "solved" and if 3 is a problem unique to this document > (probably because I've damaged some default setting somewhere). This would make a good wiki page in my opinion, even if you're unable to resolve the issues. Scott
Re: customizing bullets in lists: I got Simpsons now, you could too
"SNPP", I'm sure, is "Springfield Nuclear Power Plant". Love all of this, and the documentation you've done. It's nice to know what's possible, even if there are unsolved problems. From: Paul Johnson >To: lyx-users@lists.lyx.org >Sent: Friday, December 14, 2012 1:14 PM >Subject: customizing bullets in lists: I got Simpsons now, you could too > >Without further adieu! Working example output: > >http://pj.freefaculty.org/scraps/simpsons/simpsons-2.pdf > >Lyx file: > >http://pj.freefaculty.org/scraps/simpsons/simpsons-2.lyx > >Even if you don't want the Simpsons as your bullets in lists, you >might still look this over because it shows how you can put in ANY >valid LaTeX symbol a the bullet for a particular item or for an entire >list. And each list in a presentation can have different bullet >symbols. > >I did not find any easy LyX documentation on this. If there is some, >and you wrote it, I'm sorry to overlook you. . > >1. Easy, direct way, no LyX module or new package required: > >In case you did not know this yet, in LyX, after you create a list >item, and the bullet symbol is showing, you can enter ERT mode and >just put the name of a symbol in brackets, like [\Bart]. That replaces >the default bullet with your symbol. Also things like [$\gamma$] work >if you don't have the Simpson's characters. You can intersperse those >customized bullet symbols with regular bullets. If you go shopping in >the MASSIVE LaTeX symbol collection (see slide 1 in the pdf), you will >probably see symbols you would love in your lists. > >2. Use enumitem, gain ability to change bullet for entire list easily: >ERT [label=\Bart] > >If you turn on the LyX module to Customize Itemized Lists (enumitem), >then you gain some new powers, such as the ability to declare a label >in the first item of any list and that is used automatically for all >remaining list items. > >I could use your help. > >Here are problems I did not solve. They are listed in the pdf, but in >case you miss them > >1. I can't find a way to re-size the metafont symbols, some (Marge) >are way too big > >2. The bullets are aligned with the bottom of the text line, but it >would be more usual to have them aligned with the center of the >multi-line item. Ideas? > >3. In Lyx-2.0.3, at least in this example file, as soon as I turn on >the module to Customize lists, then all default bullet symbols are >lost. If I don't specify a label for each list, I get no bullets. >That is a new feature/bug for me, I've not seen it before. > >If anybody has ideas about these things, let me know. I may post that >example into the LyX Wiki, if I can reach the conclusion about whether >1 and 2 can be "solved" and if 3 is a problem unique to this document >(probably because I've damaged some default setting somewhere). > >pj > >-- >Paul E. Johnson >Professor, Political Science Assoc. Director >1541 Lilac Lane, Room 504 Center for Research Methods >University of Kansas University of Kansas >http://pj.freefaculty.org http://quant.ku.edu > > >
Re: Seperating Definition Lists
On 2012-08-16, Kortink, Mark A wrote: > [-- Type: text/plain, Encoding: base64 --] > Hi Michael, which drop list, the only one that says anything about a > separator is “Menu Separator” and that doesn’t work. The list of Styles (like section, title, definition) should also contain the --- separator --- dummy style. (The same effect can be achieved by a LyX-Note in an otherwise empty Standard paragraph.) Günter
RE: Seperating Definition Lists
Hi Michael, which drop list, the only one that says anything about a separator is “Menu Separator” and that doesn’t work. Mark From: Michael Joyner [mailto:mjoy...@vbservices.net] Sent: Thursday, 16 August 2012 12:42 PM To: Kortink, Mark A Cc: lyx-users@lists.lyx.org Subject: Re: Seperating Definition Lists Look for -separator- in the drop list On Wed, Aug 15, 2012 at 8:40 PM, Kortink, Mark A mailto:mark.a.kort...@team.telstra.com>> wrote: Hi Often you want to write a list of separate definitions or examples in sequence in a document, but Lyx wants to combine them together. What special character or trick do you use to keep them separate? Mark Kortink -- * Learn to speak Cherokee: http://www.cherokeelessons.com/ * Cherokee Language Help BBS/Chat: http://www.cherokeelessons.com/phpBB3/viewforum.php?f=6 * Cherokee Lessons PDF made with: http://www.lyx.org/
Re: Seperating Definition Lists
Look for -separator- in the drop list On Wed, Aug 15, 2012 at 8:40 PM, Kortink, Mark A < mark.a.kort...@team.telstra.com> wrote: > Hi > > ** ** > > Often you want to write a list of separate definitions or examples in > sequence in a document, but Lyx wants to combine them together. What > special character or trick do you use to keep them separate? > > *Mark* Kortink > > ** ** > -- - Learn to speak Cherokee: http://www.cherokeelessons.com/ - Cherokee Language Help BBS/Chat: http://www.cherokeelessons.com/phpBB3/viewforum.php?f=6 - Cherokee Lessons PDF made with: http://www.lyx.org/
Seperating Definition Lists
Hi Often you want to write a list of separate definitions or examples in sequence in a document, but Lyx wants to combine them together. What special character or trick do you use to keep them separate? Mark Kortink
Re: Problem with customized lists
Thanks Richard. I found a way with your suggestion.
Re: Problem with customized lists
On 07/30/2012 10:42 AM, CP wrote: I would like to use roman numerals for lists and be able to cross-reference them in the document. Example: i) blah ii) blah The elements in the text i) and ii) refer to gibberish. <<<<< I added the following line to the preamble \renewcommand{\theenumi}{\roman{enumi})} This achieves almost exactly what I want, except that the list has dots after the parentheses, e.g. i). blah ii). blah Does anyone know how to remove those? Look into the enumitem package, which LyX already uses for some lists. It makes it much easier to do this kind of thing. Richard
Problem with customized lists
I would like to use roman numerals for lists and be able to cross-reference them in the document. >>>> Example: i) blah ii) blah The elements in the text i) and ii) refer to gibberish. <<<<< I added the following line to the preamble \renewcommand{\theenumi}{\roman{enumi})} This achieves almost exactly what I want, except that the list has dots after the parentheses, e.g. i). blah ii). blah Does anyone know how to remove those? Thanks.
Re: Keeping lists together?
On 14/07/12 05:35, Steve Litt wrote: > Hi all, > > Is there any way, using LaTeX or maybe a LaTeX package, that I could > make lists try to stay on one page? For the clarity of my book, it's > much better if a list doesn't flow across pages, even if it causes > different pages to have significantly different amounts of text. The > latter is cosmetic, the former is a matter of reader understanding. > > I'm thinking maybe something with rubber lengths, but can't really > fathom it out any farther. > > Thanks > > SteveT > > Steve Litt* http://www.troubleshooters.com/ > Troubleshooting Training * Human Performance Could you put the list on a new page then use ERT to create that page as 2 column ? Ok that depends on how big your list is, if you want each item to be on 1 line, you may even be able to get away with 3 column. paul -- -- http://drupal.zleap.net http://www.ubuntu.com skype : psutton111 http://www.linkedin.com/pub/paul-sutton/36/595/911
Re: Keeping lists together?
On 07/14/2012 03:32 PM, Steve Litt wrote: On Sat, 14 Jul 2012 18:49:28 + (UTC), Paul A. Rubin said: Put the list in a minipage? Paul Hi Paul, That ain't a half bad idea. Lately I've explored LyX environments with a LatexType of "Command", which bestows unbelieveable power and configurablity, which I could probably use to make these lists. If I did this, I'd probably start from scratch, as described here: http://www.troubleshooters.com/linux/lyx/ownlists.htm I'm still considering, rather than completely strongarming it by using a minipage (great idea, Paul) to use some sort of rubber lengths to bias it against page-splitting, but if I have a 30 item list, it will split it rather than having almost-blank pages before and after. You could try adding some kind of page-splitting penalty to the item commands. Something like that must work. (Or you could try asking on comp.text.tex. That would almost certainly work.) Richard
Re: Keeping lists together?
On Sat, 14 Jul 2012 18:49:28 + (UTC), Paul A. Rubin said: > Put the list in a minipage? > > Paul > Hi Paul, That ain't a half bad idea. Lately I've explored LyX environments with a LatexType of "Command", which bestows unbelieveable power and configurablity, which I could probably use to make these lists. If I did this, I'd probably start from scratch, as described here: http://www.troubleshooters.com/linux/lyx/ownlists.htm I'm still considering, rather than completely strongarming it by using a minipage (great idea, Paul) to use some sort of rubber lengths to bias it against page-splitting, but if I have a 30 item list, it will split it rather than having almost-blank pages before and after. Thanks SteveT Steve Litt* http://www.troubleshooters.com/ * http://twitter.com/stevelitt Troubleshooting Training * Human Performance
Re: Keeping lists together?
On 07/14/2012 02:49 PM, Paul A. Rubin wrote: Put the list in a minipage? That would be the standard way. rh
Re: Keeping lists together?
Put the list in a minipage? Paul
Keeping lists together?
Hi all, Is there any way, using LaTeX or maybe a LaTeX package, that I could make lists try to stay on one page? For the clarity of my book, it's much better if a list doesn't flow across pages, even if it causes different pages to have significantly different amounts of text. The latter is cosmetic, the former is a matter of reader understanding. I'm thinking maybe something with rubber lengths, but can't really fathom it out any farther. Thanks SteveT Steve Litt* http://www.troubleshooters.com/ Troubleshooting Training * Human Performance
Re: Using lists in a table?
On 03/09/2012 03:27 PM, Marian Beermann wrote: Hello everyone, I just tried to put a list of some items into a table cell, but unfortunately the commands for starting a list are disabled. As I can use lists and stuff like that without any problem in "normal" LaTeX I am unsure whether this is intended behavior or maybe a bug... You need to set the cell width manually, then you can do it. Richard
Using lists in a table?
Hello everyone, I just tried to put a list of some items into a table cell, but unfortunately the commands for starting a list are disabled. As I can use lists and stuff like that without any problem in "normal" LaTeX I am unsure whether this is intended behavior or maybe a bug... Regards, enkore
Re: line spacing in lyxlist type lists
Liviu Andronic írta: >On Sat, Dec 3, 2011 at 12:55 PM, Csikos Bela wrote:> > Hello.> > Thank you again.> > I have built lyx 2.0.2 from the source file available at> > ftp://ftp.lyx.org/pub/lyx/stable/2.0.x/lyx-2.0.2.tar.gz> >> > Compilation and installaton went without errors, but> > the installation does not include enumitem.lyx file.> >> > /usr/local/lyx/2.0.2> ls -lR |grep enumitem> > -rw-r--r-- 1 root root 3206 2011-12-03 01:33 enumitem.module> > :/usr/local/lyx/2.0.2>> >> I'm not sure why you don't have this file. I'm using 2.0.2, too.> http://wiki.lyx.org/Layouts/Modules#toc4> > > >>>load the module, and insert the option via C-menu > Insert>>> >>>Short Title.>>> >>>> >> This was exactly what I wanted to do. I loaded the module, but>> >> insert>short title is greyed out when labeling list type is selected.>> >>>> >>See last list in the attached. I guess it should do what you want.>> >>Liviu>> >> > I opened the file that you have attached.> > The greyed opt insert with the accompanying nolistsep ERT is visible in the > editor window, however this is not reflected in the text sourec code. See the > attached image, opened-doc-with-nolistsep-option.jpg.> >> I'm not sure what goes wrong. Perhaps it's a bug in LyX support of 'enumitem'.> > Try to load the 'enumitem' module and then include the following in> the preamble:> \setlist{nolistsep} % or \setlist{noitemsep} to leave space around whole list> %\setlist{noitemsep}> %\setlist{itemsep=0pt,parsep=2pt,partopsep=0pt,topsep=0pt}> > Note that this should have an effect on all the lists in your document.> Thanks Liviu. I apologize for the delayed answer but had other stuff to do. Inserting the lines above into the preamble had effect on the list's line spacing. However I still can not understand what can be the problem with the enumitem module. I probably will start a new thread for this issue. Thanks again, bcsikos
Re: line spacing in lyxlist type lists
On Sat, Dec 3, 2011 at 12:55 PM, Csikos Bela wrote: > Hello. > Thank you again. > I have built lyx 2.0.2 from the source file available at > ftp://ftp.lyx.org/pub/lyx/stable/2.0.x/lyx-2.0.2.tar.gz > > Compilation and installaton went without errors, but > the installation does not include enumitem.lyx file. > > /usr/local/lyx/2.0.2> ls -lR |grep enumitem > -rw-r--r-- 1 root root 3206 2011-12-03 01:33 enumitem.module > :/usr/local/lyx/2.0.2> > I'm not sure why you don't have this file. I'm using 2.0.2, too. http://wiki.lyx.org/Layouts/Modules#toc4 >>>load the module, and insert the option via C-menu > Insert>> >>>Short Title.>> >>> >> This was exactly what I wanted to do. I loaded the module, but> >> insert>short title is greyed out when labeling list type is selected.> >>> >>See last list in the attached. I guess it should do what you want.> >>Liviu> > > I opened the file that you have attached. > The greyed opt insert with the accompanying nolistsep ERT is visible in the > editor window, however this is not reflected in the text sourec code. See the > attached image, opened-doc-with-nolistsep-option.jpg. > I'm not sure what goes wrong. Perhaps it's a bug in LyX support of 'enumitem'. Try to load the 'enumitem' module and then include the following in the preamble: \setlist{nolistsep} % or \setlist{noitemsep} to leave space around whole list %\setlist{noitemsep} %\setlist{itemsep=0pt,parsep=2pt,partopsep=0pt,topsep=0pt} Note that this should have an effect on all the lists in your document. Liviu > If I delete that option the source does not change at all. > See attached image opened-doc-without-nolistsep-option.jpg. > > Plus, I can not insert an option, as the insert>short list is greyed out in > my lyx 2.0.2. (I don't know how to make a screenshot with an opened pulldown > menu, so I can't attach an image of the greyed out option.) > > And, no matter whether the option is present or deleted, the generated files > (pdf previews) look exactly the same. That is, the inserted option has no any > effect on the lookout of the generated document. > > I guess my lyx installation must be different from yours. > Maybe your svn installation has more than the standard stable release? > > Thanks, > > bcsikos -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: line spacing in lyxlist type lists
On Fri, Dec 2, 2011 at 9:46 PM, Csikos Bela wrote: > Liviu Andronic írta: >>On Fri, Dec 2, 2011 at 2:42 PM, Csikos Bela wrote:> >> Liviu Andronic írta:> >>>On Fri, Dec 2, 2011 at 12:56 PM, Csikos Bela >>>wrote:>> >>> Hello:>> > >>> How can I set or change the line spacing of the lyxlist style in lyx 2?>> >>> I would like to set the distance between the list items, and also the >>> linespace within the item. It is also fine if I have to use latex code, or >>> edit the preamble.>> > >> Look into the docs of the 'enumitem' module.>> >>> >> Thanks.> >>> >> I looked at the lyx's user guide and I found the following in section >> 3.3.7.3:> >>> >>Have you looked into 'examples/enumitem.lyx'? It has an example on how> >>to do this: > > I don't have this file in lyx 2.0.1, I have only enumitem.module in > share/lyx/layouts. > You should. Try liv@liv-laptop:~$ locate enumitem.lyx /usr/local/share/lyx-svn/examples/enumitem.lyx >>load the module, and insert the option via C-menu > Insert> >>Short Title.> > > This was exactly what I wanted to do. I loaded the module, but > insert>short title is greyed out when labeling list type is selected. > See last list in the attached. I guess it should do what you want. Liviu > Thanks, > > bcsikos > -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail newfile1.lyx Description: Binary data
Re: line spacing in lyxlist type lists
Liviu Andronic írta: >On Fri, Dec 2, 2011 at 2:42 PM, Csikos Bela wrote:> > Liviu Andronic írta:> >>On Fri, Dec 2, 2011 at 12:56 PM, Csikos Bela wrote:>> >> Hello:>> >> How can I set or change the line spacing of the lyxlist style in lyx 2?>> >> I would like to set the distance between the list items, and also the >> linespace within the item. It is also fine if I have to use latex code, or >> edit the preamble.>> > Look into the docs of the 'enumitem' module.>> >>> >> > Thanks.> >> > I looked at the lyx's user guide and I found the following in section > 3.3.7.3:> >> >Have you looked into 'examples/enumitem.lyx'? It has an example on how> >to do this: I don't have this file in lyx 2.0.1, I have only enumitem.module in share/lyx/layouts. >load the module, and insert the option via C-menu > Insert> >Short Title.> This was exactly what I wanted to do. I loaded the module, but insert>short title is greyed out when labeling list type is selected. Thanks, bcsikos
Re: line spacing in lyxlist type lists
On Fri, Dec 2, 2011 at 2:42 PM, Csikos Bela wrote: > Liviu Andronic írta: >>On Fri, Dec 2, 2011 at 12:56 PM, Csikos Bela wrote:> >> Hello:> >>> >> How can I set or change the line spacing of the lyxlist style in lyx 2?> >> I would like to set the distance between the list items, and also the >> linespace within the item. It is also fine if I have to use latex code, or >> edit the preamble.> >>> > Look into the docs of the 'enumitem' module.> >> > > Thanks. > > I looked at the lyx's user guide and I found the following in section 3.3.7.3: > Have you looked into 'examples/enumitem.lyx'? It has an example on how to do this: load the module, and insert the option via C-menu > Insert Short Title. Regards Liviu > You can decrease the space by adding an optional argument to the first item of > the list. There add the command nolistsep to get no additional list space > like in this example: > • A bullet list > • without additional > • vertical space > > If I understand correctly I have to add '\nolistsep' in TEX code, but I don't > know where. If add it right before the first item I get error message: > > \item \nolistsepa > > The control sequence at the end of the top line > of your error message was never \def'ed. > > The lyx user guide is very obscure in regard how and where to insert the > commands. > > bcsikos > > -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: line spacing in lyxlist type lists
Liviu Andronic írta: >On Fri, Dec 2, 2011 at 12:56 PM, Csikos Bela wrote:> > Hello:> >> > How can I set or change the line spacing of the lyxlist style in lyx 2?> > I would like to set the distance between the list items, and also the > linespace within the item. It is also fine if I have to use latex code, or > edit the preamble.> >> Look into the docs of the 'enumitem' module.> > Thanks. I looked at the lyx's user guide and I found the following in section 3.3.7.3: You can decrease the space by adding an optional argument to the first item of the list. There add the command nolistsep to get no additional list space like in this example: • A bullet list • without additional • vertical space If I understand correctly I have to add '\nolistsep' in TEX code, but I don't know where. If add it right before the first item I get error message: \item \nolistsepa The control sequence at the end of the top line of your error message was never \def'ed. The lyx user guide is very obscure in regard how and where to insert the commands. bcsikos
Re: line spacing in lyxlist type lists
On Fri, Dec 2, 2011 at 12:56 PM, Csikos Bela wrote: > Hello: > > How can I set or change the line spacing of the lyxlist style in lyx 2? > I would like to set the distance between the list items, and also the > linespace within the item. It is also fine if I have to use latex code, or > edit the preamble. > Look into the docs of the 'enumitem' module. Liviu > Thanks, > > bcsikos > > -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
line spacing in lyxlist type lists
Hello: How can I set or change the line spacing of the lyxlist style in lyx 2? I would like to set the distance between the list items, and also the linespace within the item. It is also fine if I have to use latex code, or edit the preamble. Thanks, bcsikos
Re: How to shorten captions in table and figure lists
On 13/10/2011 8:27 PM, Gian Maria Niccolò Benucci wrote: Hi all, I am using ClassisThesis style. How to reduce the length or shorten the Figure and Table captions in the Table and Figure lists? Thank you in advance, Gian Position your cursor somewhere within the caption and click Insert > Short title. Type a shorter description in there. This description will appear in the list of figure instead of the longer one. -- Julien
How to shorten captions in table and figure lists
Hi all, I am using ClassisThesis style. How to reduce the length or shorten the Figure and Table captions in the Table and Figure lists? Thank you in advance, Gian
Mini lists of own floats?
Hello, In my book I use different lists of floats I've created myself. I would need in front of each chapter mini lists of these floats. I've looked into the package "minitoc" but it works only with tocs, lofs and lots. The package tocstyle needs at least the generation of one complete list, from where it draws the copy for the mini list. But I would like to distribute the chapters separately without the overhead of a complete version of Is there a easy way to produce lists of own floats for each chapter? Peter
Re: Reducing indentation of enumerated lists
On Mon, Dec 13, 2010 at 11:38 AM, Paul Rubin wrote: > Assuming you want to do this for all enumerations, add the following to your > preamble: > > \usepackage{enumitem} > \setenumerate{leftmargin=*} > > This of course assumes that you have the enumitem package installed. > > /Paul > > Thanks Paul, this worked beautifully.
Re: Reducing indentation of enumerated lists
Assuming you want to do this for all enumerations, add the following to your preamble: \usepackage{enumitem} \setenumerate{leftmargin=*} This of course assumes that you have the enumitem package installed. /Paul
Reducing indentation of enumerated lists
Hi LyX users, I would like to reduce the indentation of an enumerated list so that the number is flush with the left margin of the regular text, and the text within the list is indented by the same amount relative to the number as it is now. That is, i just want to move things to the left a bit, leaving the right margin as is. A crude stick-figure drawing follows: Current: Regular text __1.__First line of enumerated text. What I'd like: Regular text 1.__First line of enumerated text. Is this possible? Thanks in advance.
Re: UI - enumerate lists
On 08/13/2010 03:47 AM, Peter Baumgartner wrote: Is there a way in the LyX user interface to label enumerate lists besides the standard (arabic)? Using package and module enumitem I've written some list formats I'm using very often but can't display in LyX their different labels. I've tried to define counters at paragraph style and text class level but the LabelString parameter does not work for me. There is a cryptic footnote in the manual saying "any numbertype other than those described below will produce arabic numerals", but than the text goes on and describes all relevant types like alph, roman etc. I've seen that other people in their modules have used in similar situations blue font to warn that there is no WYSIWYG. So what: Is this a bug or I'm doing something wrong? I'd have to see what you'd tried to do to know what was wrong. Possibly the issue is that enumerations can only use the predefined enumi, enumii, etc, counters. I think enunitem and the module are best for one-off changes to lists. If you want regularly to use a list that is marked with roman numerals, then I'd write a new list type and a little module that contained it, such as the attached. Ps.: I very appreciate the module "customizable list" by Guenter Milde. Thanks! But IMHO it lacks appropriate documentation. Feel free to write some! Also the name for the inset "Short Title" is misleading and should - as long as is not provided as standard with LyX - go into the Custom insets menu. This will be addressed in 2.0, where argument support is much more flexible. Richard #\DeclareLyXModule{Entry} #DescriptionBegin #An environment for syllabus entries. #DescriptionEnd Format 11 Style Entry MarginFirst_Dynamic LatexType List_Environment LatexName Entry NextNoIndent 1 LabelSep xx LeftMarginMMM ParSkip 0.4 ItemSep 0.2 TopSep0.7 BottomSep 0.7 ParSep0.3 Align Block AlignPossible Block, Left LabelType Manual #define the environment Preamble \usepackage{calc} \newlength{\dwidth} \newenvironment{Entry}% {% \begin{list}{}% {% \setlength{\parsep}{0pt}% \setlength{\itemsep}{0.25\baselineskip}% \settowidth{\dwidth}{29--29 September 2007}% \renewcommand{\makelabel}[1]{##1\hfill}% \setlength{\leftmargin}{\dwidth + 0.5in}% \setlength{\labelsep}{0.5in}% \setlength{\labelwidth}{\dwidth}% \renewcommand{\makelabel}[1]{##1\hfill}% }% } {% \end{list} } EndPreamble End
UI - enumerate lists
Is there a way in the LyX user interface to label enumerate lists besides the standard (arabic)? Using package and module enumitem I've written some list formats I'm using very often but can't display in LyX their different labels. I've tried to define counters at paragraph style and text class level but the LabelString parameter does not work for me. There is a cryptic footnote in the manual saying "any numbertype other than those described below will produce arabic numerals", but than the text goes on and describes all relevant types like alph, roman etc. I've seen that other people in their modules have used in similar situations blue font to warn that there is no WYSIWYG. So what: Is this a bug or I'm doing something wrong? Using LyX 1.6.7 on a Mac. Peter Ps.: I very appreciate the module "customizable list" by Guenter Milde. Thanks! But IMHO it lacks appropriate documentation. Also the name for the inset "Short Title" is misleading and should - as long as is not provided as standard with LyX - go into the Custom insets menu.
LyX mailing lists up again - resubscription needed
Hello, As many of you may have already experienced, the LyX mailing lists were down for two weeks. This was due to hardware accident of our mail-list server. We have unfortunately lost not only the data but also their backups. The mailing lists are living again, but you need to manually re-subscribe to them since the subscribers database is gone. For your convenience we prepared short summary of most important subscription addresses (blank mail is enough): Users List - lyx-users-subscr...@lists.lyx.org Developers List - lyx-devel-subscr...@lists.lyx.org Documentation List - lyx-docs-subscr...@lists.lyx.org Annoucenment List - lyx-announce-subscr...@lists.lyx.org Other lists and details can be found at http://www.lyx.org/MailingLists . You can also look in the list archives in case you are curious about the messages which happened during your unsubscribed period: http://www.mail-archive.com/lyx-users@lists.lyx.org http://www.mail-archive.com/lyx-de...@lists.lyx.org http://www.mail-archive.com/lyx-d...@lists.lyx.org We are sorry for inconvenience. The LyX Team.
Re: numbered lists in AMS theorems
Hauser Helmut wrote: > I have the problem, that I would like to have a numbered list, or a > description list (or similar environments) within a AMS theorem > environments. While that is possible in LaTeX, unfortunately it is not > in LyX. It is possible. Hit Alt-Shift-Rightarrow or simply Tab to nest a list to a preceding theorem. Jürgen
numbered lists in AMS theorems
Hello, I have the problem, that I would like to have a numbered list, or a description list (or similar environments) within a AMS theorem environments. While that is possible in LaTeX, unfortunately it is not in LyX. Right now I use a work around with ERT, but it is kind of annoying and it would be great to have the possibility to simple nest those environments. Is that already possible (I use LyX 1.6.3 under Fedora)? thanks for your help and for this great peace of software. cheers, - helmut -- Helmut Hauser Institute for Theoretical Computer Sciences Technische Universitaet Graz Inffeldgasse 16b, I A-8010 Graz, Austria --- helmut.hau...@igi.tugraz.at Tel: + 43 316 873-5821 Fax: + 43 316 873-5805 http://www.igi.TUGraz.at/helmut/
Re: Step bullet item lists in Beamer
Gentlemen, Thank you very much for all the time and attention you have paid to my question. I have tried using Command Sequences to address this problem. My idea was to create two commands: C-[ would insert the latex code to begin the frame and create a placeholder for the frame title: \begin{frame} \frametitle{} C-] would insert the latex code to end the frame: \end{frame} (The choice of [ and ] was arbitrary.) I created the following Command Sequences in the Tools-Preferences-Editing dialog box: command-sequence ert-insert; self-insert \begin{frame}; inset-toggle; ert-insert; self-insert \frametitle{}; inset-toggle; This is assigned keyboard shortcut Crtl-[ and command-sequence ert-insert; self-insert \end{frame}; inset-toggle; This is assigned keyboard shortcut Ctrl-] The second (end frame) works as expected. The first reverses the order of the ERT boxes somehow, i.e. the resulting content is \frametitle{} first followed by \begin{frame}. This seems a little odd - perhaps I am doing something wrong - but is not a big deal, I just redefined the sequence as command-sequence ert-insert; self-insert \begin{frame}; inset-toggle; ert-insert; self-insert \frametitle{}; inset-toggle; (Again, assigned to Ctrl-[ ) That works pretty well, but there is one small complication. I was expecting the resulting LaTex code to be simply \begin{frame} \frametitle{} However, initially something else is inserted (at least, visible in the preview window): \inputencoding{latin1}\begin{frame}\inputencoding{latin9}\foreignlanguage{english}{\frametitle{}} Once I save the file, close and reopen, the content of the preview window is as expected (i.e. all that extraneous stuff is gone), so perhaps this is not a big deal. However, it leads me to think I am doing something wrong and in any event it would be nice to have the code right from the start. Can anyone point out what I am doing wrong or should be doing differently? There are a few refinements I would like to attempt eventually (adding the begin and end frame code with just one command, having the cursor appear in the frametitle field, having the resulting material in the LyX document mimic more closely what you get when you import from LaTex, etc.) but I would like to get this basic, sufficient code right first. Any suggestions are most welcome.
Re: Step bullet item lists in Beamer
On 2009-08-09, Paul A. Rubin wrote: > Self-reply ... never a good sign ... > Paul A. Rubin wrote: >> I'm not sure, but I suspect that the somewhat convoluted macros in the >> current layout file trace back to something that could not be done in a >> straightforward way in some early versions of LyX. If we could figure >> out what those were, perhaps we could determine whether more linear >> solutions would work with the current generation. The solution is InsetLayout (see my other post.) > It occurs to me that refactoring beamer.layout would cause > backward-compatibility issues. I suppose, assuming the Good Layout > Fairy dropped off a better beamer.layout, we could offer > oldbeamer.layout and force everyone to convert their old files (of which > I possess zillions). We would need a conversion script :-( Günter
Re: Step bullet item lists in Beamer
On 2009-08-09, rgheck wrote: > On 08/08/2009 04:47 PM, Paul A. Rubin wrote: >> Another thing that is included in the lyxframe stuff is automatic >> closing of the previous frame. Without that, you would have to insert >> an EndFrame environment after each frame. With it, you only have to >> insert an EndFrame at the end of the document. > I find this kind of puzzling: Other environments don't have this issue. All environments have this issue, if you want a new paragraph to start a new environment of the same type (e.g. two theorems, tow slides (in seminar or prosper). I filed several bug reports about this years ago but the matter did not seem urgent enough. However, LyX evolved the custom inset and now this might be a better way to handle this cases: Instead of a Frame environment (where you nest the content), you could define a Frame inset. I've done this (experimentally) for seminar.layout and it seems to work nice. The only problem that I cannot obsolete a Layout with an InsetLayout, so for backwards compatibility I have to keep them both Günter Style LandscapeSlide CopyStyle --Separator-- LatexType Environment LatexName slide NextNoIndent1 Margin Static LeftMargin N ParIndent "" TopSep 0.4 LabelType Top_Environment LabelString "Landscape Slide:" End Style Slide Obsoletedby LandscapeSlide End InsetLayout LandscapeSlide LyXType custom LatexTypeEnvironment LatexNameslide Decoration classic LabelFont Size Small EndFont MultiPar true LabelString "Landscape Slide" # Requires endnotes End
Re: Step bullet item lists in Beamer
On 08/09/2009 10:14 AM, Paul A. Rubin wrote: rgheck wrote: On 08/08/2009 04:47 PM, Paul A. Rubin wrote: Another thing that is included in the lyxframe stuff is automatic closing of the previous frame. Without that, you would have to insert an EndFrame environment after each frame. With it, you only have to insert an EndFrame at the end of the document. I find this kind of puzzling: Other environments don't have this issue. I guess that's because, in a sense, BeginFrame automatically increases the depth, and everything afterwards is "inside" it. Is there a way we could automate that? Isn't that true with all LaTeX environments? I just took a look at a sample Beamer presentation done the old fashioned way (i.e., not using LyX). Frames look like \begin{frame}[options]{heading}...\end{frame}. The last \end{frame} is followed directly by \end{document}. So I don't see anything there that's fundamentally any different from \begin{quote}...\end{quote}, say. Yes, that is true, but there are complications. Suppose we just had a Frame environment, which could be repeated, much as quote is. You'd get \begin{frame} at the first frame, then \end{frame} when the sequence ended. Then (i) there would be a greater need for depth increases, since frames very often contain something besides what amounts to pure text. (ii) You'd end up having to use the Separator thingy a lot: whenever you wanted to start a new frame. But the real issue is that, the way it works now, the content of the frame layout becomes the frame title. There's no way, so far as I can see, to do this using the quote-like approach. Conceptually, \begin{frame} is being treated kind of like \section here: More as a command, and less as if it were an environment. Hence all the dancing to make it behave like an environment. I'm not sure, but I suspect that the somewhat convoluted macros in the current layout file trace back to something that could not be done in a straightforward way in some early versions of LyX. If we could figure out what those were, perhaps we could determine whether more linear solutions would work with the current generation. I think it still can't be done in a straightforward way rh
Re: Step bullet item lists in Beamer
Self-reply ... never a good sign ... Paul A. Rubin wrote: I'm not sure, but I suspect that the somewhat convoluted macros in the current layout file trace back to something that could not be done in a straightforward way in some early versions of LyX. If we could figure out what those were, perhaps we could determine whether more linear solutions would work with the current generation. It occurs to me that refactoring beamer.layout would cause backward-compatibility issues. I suppose, assuming the Good Layout Fairy dropped off a better beamer.layout, we could offer oldbeamer.layout and force everyone to convert their old files (of which I possess zillions).
Re: Step bullet item lists in Beamer
rgheck wrote: On 08/08/2009 04:47 PM, Paul A. Rubin wrote: Another thing that is included in the lyxframe stuff is automatic closing of the previous frame. Without that, you would have to insert an EndFrame environment after each frame. With it, you only have to insert an EndFrame at the end of the document. I find this kind of puzzling: Other environments don't have this issue. I guess that's because, in a sense, BeginFrame automatically increases the depth, and everything afterwards is "inside" it. Is there a way we could automate that? Isn't that true with all LaTeX environments? I just took a look at a sample Beamer presentation done the old fashioned way (i.e., not using LyX). Frames look like \begin{frame}[options]{heading}...\end{frame}. The last \end{frame} is followed directly by \end{document}. So I don't see anything there that's fundamentally any different from \begin{quote}...\end{quote}, say. That said, the lyxframe macro does seem to create problems on occasion, particularly when trying to add optional arguments to frames. Not being particularly TeX-literate, though, I certainly cannot offer a better solution. Yes, well, me neither. But if we can figure out exactly what we want, maybe we can make LyX do it for us. Seeing how I seem to be in charge of layout nowadays The wages of competence are responsibility. That's why I take great pains to explain to everyone (especially administrators at my school) that I am utterly incompetent at pretty much everything. (This is all post-tenure, of course.) I'm not sure, but I suspect that the somewhat convoluted macros in the current layout file trace back to something that could not be done in a straightforward way in some early versions of LyX. If we could figure out what those were, perhaps we could determine whether more linear solutions would work with the current generation. /Paul
Re: Step bullet item lists in Beamer
On 08/08/2009 04:47 PM, Paul A. Rubin wrote: Another thing that is included in the lyxframe stuff is automatic closing of the previous frame. Without that, you would have to insert an EndFrame environment after each frame. With it, you only have to insert an EndFrame at the end of the document. I find this kind of puzzling: Other environments don't have this issue. I guess that's because, in a sense, BeginFrame automatically increases the depth, and everything afterwards is "inside" it. Is there a way we could automate that? That said, the lyxframe macro does seem to create problems on occasion, particularly when trying to add optional arguments to frames. Not being particularly TeX-literate, though, I certainly cannot offer a better solution. Yes, well, me neither. But if we can figure out exactly what we want, maybe we can make LyX do it for us. Seeing how I seem to be in charge of layout nowadays rh
Re: Step bullet item lists in Beamer
rgheck wrote: OnAs an aside, it would be an improvement to LyX generally if LyX did not use this "lyxframe" customization when creating Beamer documents, since it makes interoperability less convenient than it could be. For example, SWP users can use Plain LaTeX files that contain lyxframe commands, since the command definition is automatically exported in the .tex-file preamble, but it is somewhat awkward since the lyxframe and other commands are unfamiliar to SWP. Similarly, LyX users who receive Beamer tex-files created either directly in LaTeX code or via another GUI (such as SWP) could be tripped up by all the resulting ERT and so on. However, perhaps the -lyxframe- stuff is necessary for reasons that are unknown to this novice, and anyway this feels like a discussion for another thread. Well, we can discuss it here. Again, I'm no expert on beamer, and the beamer layout was actually written by the guy who develops beamer, not by one of the LyX team, so I'm not sure anyone here really understands it. But if you look at beamer.layout, you'll see the declaration and can start to get a sense, I think, why it's used. The main reason, I think, is because we need to geneate both the \frame and \frametitle commands, but we want any ERT that appears at the beginning---optional arguments to \frame---to appear before the title. So the sequence of commands serves to move things around a bit. Another thing that is included in the lyxframe stuff is automatic closing of the previous frame. Without that, you would have to insert an EndFrame environment after each frame. With it, you only have to insert an EndFrame at the end of the document. That said, the lyxframe macro does seem to create problems on occasion, particularly when trying to add optional arguments to frames. Not being particularly TeX-literate, though, I certainly cannot offer a better solution. /Paul
Re: Step bullet item lists in Beamer
OnAs an aside, it would be an improvement to LyX generally if LyX did not use this "lyxframe" customization when creating Beamer documents, since it makes interoperability less convenient than it could be. For example, SWP users can use Plain LaTeX files that contain lyxframe commands, since the command definition is automatically exported in the .tex-file preamble, but it is somewhat awkward since the lyxframe and other commands are unfamiliar to SWP. Similarly, LyX users who receive Beamer tex-files created either directly in LaTeX code or via another GUI (such as SWP) could be tripped up by all the resulting ERT and so on. However, perhaps the -lyxframe- stuff is necessary for reasons that are unknown to this novice, and anyway this feels like a discussion for another thread. Well, we can discuss it here. Again, I'm no expert on beamer, and the beamer layout was actually written by the guy who develops beamer, not by one of the LyX team, so I'm not sure anyone here really understands it. But if you look at beamer.layout, you'll see the declaration and can start to get a sense, I think, why it's used. The main reason, I think, is because we need to geneate both the \frame and \frametitle commands, but we want any ERT that appears at the beginning---optional arguments to \frame---to appear before the title. So the sequence of commands serves to move things around a bit. Richard
Re: Step bullet item lists in Beamer
Thanks, that works great. It also exports nicely into LaTeX as you mentioned. As an aside, it would be an improvement to LyX generally if LyX did not use this "lyxframe" customization when creating Beamer documents, since it makes interoperability less convenient than it could be. For example, SWP users can use Plain LaTeX files that contain lyxframe commands, since the command definition is automatically exported in the .tex-file preamble, but it is somewhat awkward since the lyxframe and other commands are unfamiliar to SWP. Similarly, LyX users who receive Beamer tex-files created either directly in LaTeX code or via another GUI (such as SWP) could be tripped up by all the resulting ERT and so on. However, perhaps the -lyxframe- stuff is necessary for reasons that are unknown to this novice, and anyway this feels like a discussion for another thread. Again, many thanks to both of you. This is very helpful.
Re: Step bullet item lists in Beamer
Venable wrote: Thanks for the great suggestion, I will give that a try. I am a bit of a LyX noob, so the following may be obvious as well, but: will that export well to plain LaTeX? I have some collaborators who I have not (yet!) been able to convince to move to LyX, so being able to share documents is important to me. Yes, it should (does) export seamlessly. I'm attaching a first shot at the module (charitably assuming the list server lets me add an attachment -- I seem to be on its s**t list sometimes). I used "incremental" rather than "step" in the descriptive stuff to be consistent with the Beamer manual. Just drop it into your local layout directory (the one under the "user directory" listed in Help > About LyX), reconfigure (Tools > Reconfigure) and restart LyX, and you should be good to go. Please let us know if it works or if it trips up. Richard, I tried putting the option [beamer.cls] in the \DeclareLyXModule line, and managed to offend LyX mightily. Is there some other way to specify that the module requires a particular document class, or is that left to the reader as an exercise? /Paul PS: I'm going to upload this to the wiki. Assuming no bugs (and there's always a first time, even for that), should we nominate this for inclusion in a future release? On the one hand, I see module bloat in the future. On the other hand, I use Beamer a lot, and I find myself specifying incremental overlays repeatedly (to the point that I'm kicking myself for not thinking of the module idea myself). #\DeclareLyXModule{BeamerIncrementalLists} #DescriptionBegin #Provides new bullet/enumeration lists, with and without alerting, #that contain incremental overlay specifications (each item appearing #on a new overlay). #DescriptionEnd Style EnumerateIncremental CopyStyle Enumerate LatexName stepenumerate Preamble \newenvironment{stepenumerate}{\begin{enumerate}[<+->]}{\end{enumerate}} EndPreamble End Style ItemizeIncremental CopyStyle Itemize LatexName stepitemize Preamble \newenvironment{stepitemize}{\begin{itemize}[<+->]}{\end{itemize}} EndPreamble End Style EnumerateIncrementalAlerted CopyStyle Enumerate LatexName stepenumeratewithalert Preamble \newenvironment{stepenumeratewithalert}{\begin{enumerate}[<+-|al...@+>]}{\end{enumerate}} EndPreamble End Style ItemizeIncrementalAlerted CopyStyle Itemize LatexName stepitemizewithalert Preamble \newenvironment{stepitemizewithalert}{\begin{itemize}[<+-|al...@+>]}{\end{itemize}} EndPreamble End
Re: Step bullet item lists in Beamer
Thanks for the great suggestion, I will give that a try. I am a bit of a LyX noob, so the following may be obvious as well, but: will that export well to plain LaTeX? I have some collaborators who I have not (yet!) been able to convince to move to LyX, so being able to share documents is important to me. Many thanks again, I really appreciate it. On Fri, Aug 7, 2009 at 10:16 PM, rgheck wrote: > On 08/07/2009 09:39 PM, Venable wrote: >> >> Dear LyX Users, >> >> I would like to use step bullet item lists in a Beamer presentation. >> This is fairly simple in SWP, since there is a "Step Bullet List Item" >> Item Tag available with a simple keyboard shortcut. Does a similar >> function exist in LyX? If not, is it possible to customize either LyX >> itself or the .lyx file to create similar functionality? >> >> I suppose one workaround would be to add new environments to the LaTeX >> preamble (see below for excerpt from Portable LaTeX code created by >> SWP) and then add ERT (e.g. \begin{stepitemize}, \item, etc.). >> However, this seems a bit unwieldy. >> >> Many thanks for any suggestions. I apologize if the solution is >> obvious or has already been discussed. I searched a fair amount in the >> manuals and on the mailing list but did not find a solution. If I have >> missed something, please let me know. >> >> >> >> (new environment LaTeX code) >> \newenvironment{stepenumerate}{\begin{enumerate}[<+->]}{\end{enumerate}} >> \newenvironment{stepitemize}{\begin{itemize}[<+->]}{\end{itemize} } >> \newenvironment{stepenumeratewithalert}{\begin{enumerate}[<+-| >> al...@+>]}{\end{enumerate}} >> \newenvironment{stepitemizewithalert}{\begin{itemize}[<+-| >> al...@+>]}{\end{itemize} } >> >> > > I'm not terribly familiar with beamer, but so far as I can see this ought to > be a pretty trivial layout. E.g.: > > Style StepEnumerate > CopyStyle Enumerate > Preamble > > \newenvironment{stepenumerate}{\begin{enumerate}[<+->]}{\end{enumerate}} > EndPreamble > End > > Style StepItemize > CopyStyle Itemize > Preamble > \newenvironment{stepitemize}{\begin{itemize}[<+->]}{\end{itemize} } > EndPreamble > End > > You might want to tweak that a bit, of course, but that may be all it takes. > If so, you might consider putting them into a module and adding it to the > wiki. > > If some of this is opaque, look at chapter five of the Customization manual. > > rh > >
Re: Step bullet item lists in Beamer
On 08/07/2009 09:39 PM, Venable wrote: Dear LyX Users, I would like to use step bullet item lists in a Beamer presentation. This is fairly simple in SWP, since there is a "Step Bullet List Item" Item Tag available with a simple keyboard shortcut. Does a similar function exist in LyX? If not, is it possible to customize either LyX itself or the .lyx file to create similar functionality? I suppose one workaround would be to add new environments to the LaTeX preamble (see below for excerpt from Portable LaTeX code created by SWP) and then add ERT (e.g. \begin{stepitemize}, \item, etc.). However, this seems a bit unwieldy. Many thanks for any suggestions. I apologize if the solution is obvious or has already been discussed. I searched a fair amount in the manuals and on the mailing list but did not find a solution. If I have missed something, please let me know. (new environment LaTeX code) \newenvironment{stepenumerate}{\begin{enumerate}[<+->]}{\end{enumerate}} \newenvironment{stepitemize}{\begin{itemize}[<+->]}{\end{itemize} } \newenvironment{stepenumeratewithalert}{\begin{enumerate}[<+-| al...@+>]}{\end{enumerate}} \newenvironment{stepitemizewithalert}{\begin{itemize}[<+-| al...@+>]}{\end{itemize} } I'm not terribly familiar with beamer, but so far as I can see this ought to be a pretty trivial layout. E.g.: Style StepEnumerate CopyStyle Enumerate Preamble \newenvironment{stepenumerate}{\begin{enumerate}[<+->]}{\end{enumerate}} EndPreamble End Style StepItemize CopyStyle Itemize Preamble \newenvironment{stepitemize}{\begin{itemize}[<+->]}{\end{itemize} } EndPreamble End You might want to tweak that a bit, of course, but that may be all it takes. If so, you might consider putting them into a module and adding it to the wiki. If some of this is opaque, look at chapter five of the Customization manual. rh
Step bullet item lists in Beamer
Dear LyX Users, I would like to use step bullet item lists in a Beamer presentation. This is fairly simple in SWP, since there is a "Step Bullet List Item" Item Tag available with a simple keyboard shortcut. Does a similar function exist in LyX? If not, is it possible to customize either LyX itself or the .lyx file to create similar functionality? I suppose one workaround would be to add new environments to the LaTeX preamble (see below for excerpt from Portable LaTeX code created by SWP) and then add ERT (e.g. \begin{stepitemize}, \item, etc.). However, this seems a bit unwieldy. Many thanks for any suggestions. I apologize if the solution is obvious or has already been discussed. I searched a fair amount in the manuals and on the mailing list but did not find a solution. If I have missed something, please let me know. (new environment LaTeX code) \newenvironment{stepenumerate}{\begin{enumerate}[<+->]}{\end{enumerate}} \newenvironment{stepitemize}{\begin{itemize}[<+->]}{\end{itemize} } \newenvironment{stepenumeratewithalert}{\begin{enumerate}[<+-| al...@+>]}{\end{enumerate}} \newenvironment{stepitemizewithalert}{\begin{itemize}[<+-| al...@+>]}{\end{itemize} }
Re: Lists in environment?
Vincent van Ravesteijn writes: > 1. Add Theorems (AMS) module in Document->Settings->Modules, > 2. Select style Theorem > 3. Ctrl-Space (for a protected space) > 4. Enter > 5. Tab (to indent the styles) > 6. Select style Enumeration > > Vincent This works perfectly. Thanks. Best wishes, J.
Re: Lists in environment?
Jannick schreef: Jannick writes: Just to make my question a bit clearer: What do I hit in LyX in order to have the following in AMS style: \begin{thm} \begin{enumerate} \item \end{enumerate} \end{thm} Thanks, J. 1. Add Theorems (AMS) module in Document->Settings->Modules, 2. Select style Theorem 3. Ctrl-Space (for a protected space) 4. Enter 5. Tab (to indent the styles) 6. Select style Enumeration Vincent
Re: Lists in environment?
Jannick writes: Just to make my question a bit clearer: What do I hit in LyX in order to have the following in AMS style: \begin{thm} \begin{enumerate} \item \end{enumerate} \end{thm} Thanks, J.
Lists in environment?
Hi, I am a newbie to LyX and I have not found an answer to my problem in the archive I am afraid to say: How do I enter a list in a - say theorem - environment? I have already found out that hitting shift-enter does not end the environment, whereas simple enter does. Hitting the list button ends the environment. Thanks for your input. Best wishes J.
Re: roman numerals for lists
Guenter Milde wrote: I also have a working "resume enumeration" patch. I.e., one that will get the right display with Gunter's enumitem module. Could you add this version (together with a link to the documentation of the new layout file syntax) to the enumitem page at the Wiki? Once it goes into trunk, I'll probably add such a module to trunk, too, since it's such a common request. rh
Re: roman numerals for lists
On 2009-06-02, rgheck wrote: > Stefano Franchi wrote: >> As far as I know there is still no way to change Lyx's on screen display >> accordingly. Just ignore it and check the pdf every once in a while to make >> sure Latex is producing the output you want > I've just posted a patch that will allow this sort of thing in LyX 2.0. > Unfortunately, it (necessarily) changes the format of the layout files > and so cannot be backported to (the official version of) 1.6. ... > I also have a working "resume enumeration" patch. I.e., one that will > get the right display with Gunter's enumitem module. Could you add this version (together with a link to the documentation of the new layout file syntax) to the enumitem page at the Wiki? Günter
Re: roman numerals for lists
Stefano Franchi wrote: Notice that Paul's sound advice will only change the numbering in the final output NOT in Lyx. As far as I know there is still no way to change Lyx's on screen display accordingly. Just ignore it and check the pdf every once in a while to make sure Latex is producing the output you want I've just posted a patch that will allow this sort of thing in LyX 2.0. Unfortunately, it (necessarily) changes the format of the layout files and so cannot be backported to (the official version of) 1.6. I may patch my own copy, though, and if so will be happy to send you that patch, if you want to use it. I also have a working "resume enumeration" patch. I.e., one that will get the right display with Gunter's enumitem module. Richard
Re: roman numerals for lists
On Friday 29 May 2009 03:43:14 pm Paul A. Rubin wrote: > Hesham Kamel wrote: > > Hi, > > Please, > > I am using enumerate for numbering some paragraphs. How can you show > > roman numerals instead of numbers? > > Thank you > > Prior to the start of the first enumeration where you want Roman > numerals, insert the following in ERT (TeX): > > \renewcommand{\labelenumi}{\roman{enumi}.} > > That makes enumeration labels at the outermost level lower case Roman > numerals followed by a period. Change 'enumi' to 'enumii' (both > occurrences) for second level (nested) enumerations, or to 'enumiii' for > third tier (twice nested) enumerations. Change '\roman' to '\Roman' if > you want upper case Roman numerals (IV rather than iv). If you want > them surround in parentheses rather than followed by a period, include > the desired punctuation in the last argument. > > If you need to return to conventional numbering of an enumeration later, > put the following in ERT prior to the start of that enumeration: > > \renewcommand{\labelenumi}{\arabic{enumi}.} > > You can switch back and forth ad nauseum. > > /Paul Notice that Paul's sound advice will only change the numbering in the final output NOT in Lyx. As far as I know there is still no way to change Lyx's on screen display accordingly. Just ignore it and check the pdf every once in a while to make sure Latex is producing the output you want Cheers, S. __ Stefano Franchi Department of Philosophy Ph: (979) 862-2211 Texas A&M University Fax: (979) 845-0458 305B Bolton Hall fran...@philosophy.tamu.edu College Station, TX 77843-4237
Re: roman numerals for lists
Hesham Kamel wrote: Hi, Please, I am using enumerate for numbering some paragraphs. How can you show roman numerals instead of numbers? Thank you Prior to the start of the first enumeration where you want Roman numerals, insert the following in ERT (TeX): \renewcommand{\labelenumi}{\roman{enumi}.} That makes enumeration labels at the outermost level lower case Roman numerals followed by a period. Change 'enumi' to 'enumii' (both occurrences) for second level (nested) enumerations, or to 'enumiii' for third tier (twice nested) enumerations. Change '\roman' to '\Roman' if you want upper case Roman numerals (IV rather than iv). If you want them surround in parentheses rather than followed by a period, include the desired punctuation in the last argument. If you need to return to conventional numbering of an enumeration later, put the following in ERT prior to the start of that enumeration: \renewcommand{\labelenumi}{\arabic{enumi}.} You can switch back and forth ad nauseum. /Paul
roman numerals for lists
Hi, Please, I am using enumerate for numbering some paragraphs. How can you show roman numerals instead of numbers? Thank you -- Hesham
Re: Consecutive numeration of lists also after a section in standard-format
Bruce Pourciau schreef: On May 27, 2009, at 3:49 PM, Guenter Milde wrote: On 2009-05-27, Steve Litt wrote: On Wednesday 18 March 2009 01:04:27 pm jezZiFeR wrote: I do have a list with six sentences. They start with 1.) 2.) 3.) 4.) Then I entered a description for this forth sentence, and after that I would like to continue with: 5.) 6.) But the problem is, that when I choose "numeration" in the menu, the numeration again starts with "1". How could I change that behaviour? I don't remember what you call it, but LyX has buttons to nest paragraphs. Nest the descriptive paragraph inside sentence #4, and I believe it should do exactly what you want. Not only that, it's very representative of what you're doing, because the descriptive paragraph is ABOUT sentence 4. Styles based authoring at its best. For the record: if you really want to continue an enumeration after a "top-level" interuption, you can use the "enumitem" module. (Search for enumitem at http://wiki.lyx.org) Günter This particular request -- to have an enumeration resume after an interruption, and often an interruption at the "top-level" -- appears on the list quite frequently. Among the developers, has any thought been given to making this a menu option (called Resume Enumeration, say) in a future version of LyX? Bruce Yes, I implemented that once, and then someone (guess who ;-)) came up with a module that could do it. However, both solutions have their yet unsolved problems, so until now, neither of the two has made it in. Maybe, Gunter and I should have another chat about this. Vincent
Re: Consecutive numeration of lists also after a section in standard-format
On May 27, 2009, at 3:49 PM, Guenter Milde wrote: On 2009-05-27, Steve Litt wrote: On Wednesday 18 March 2009 01:04:27 pm jezZiFeR wrote: I do have a list with six sentences. They start with 1.) 2.) 3.) 4.) Then I entered a description for this forth sentence, and after that I would like to continue with: 5.) 6.) But the problem is, that when I choose "numeration" in the menu, the numeration again starts with "1". How could I change that behaviour? I don't remember what you call it, but LyX has buttons to nest paragraphs. Nest the descriptive paragraph inside sentence #4, and I believe it should do exactly what you want. Not only that, it's very representative of what you're doing, because the descriptive paragraph is ABOUT sentence 4. Styles based authoring at its best. For the record: if you really want to continue an enumeration after a "top-level" interuption, you can use the "enumitem" module. (Search for enumitem at http://wiki.lyx.org) Günter This particular request -- to have an enumeration resume after an interruption, and often an interruption at the "top-level" -- appears on the list quite frequently. Among the developers, has any thought been given to making this a menu option (called Resume Enumeration, say) in a future version of LyX? Bruce
Re: Consecutive numeration of lists also after a section in standard-format
On 2009-05-27, Steve Litt wrote: > On Wednesday 18 March 2009 01:04:27 pm jezZiFeR wrote: >> I do have a list with six sentences. They start with >> 1.) >> 2.) >> 3.) >> 4.) >> Then I entered a description for this forth sentence, and after that I >> would like to continue with: >> 5.) >> 6.) >> But the problem is, that when I choose "numeration" in the menu, the >> numeration again starts with "1". How could I change that behaviour? > I don't remember what you call it, but LyX has buttons to nest > paragraphs. Nest the descriptive paragraph inside sentence #4, and I > believe it should do exactly what you want. Not only that, it's very > representative of what you're doing, because the descriptive paragraph > is ABOUT sentence 4. Styles based authoring at its best. For the record: if you really want to continue an enumeration after a "top-level" interuption, you can use the "enumitem" module. (Search for enumitem at http://wiki.lyx.org) Günter
Re: Consecutive numeration of lists also after a section in standard-format
dear steve, thank you! i´ve asked this question some months ago, and it was already solved, but my harddisk had a problem, and after a backup some 100 mails were sent again automatically. sorry for that, i hope it is the only one here in this list… so, i´ll also try out your solution, it seems very handy. best* jess Am 27.05.2009 um 16:13 schrieb Steve Litt: On Wednesday 18 March 2009 01:04:27 pm jezZiFeR wrote: Dear listmembers, I do have a list with six sentences. They start with 1.) 2.) 3.) 4.) Then I entered a description for this forth sentence, and after that I would like to continue with: 5.) 6.) But the problem is, that when I choose "numeration" in the menu, the numeration again starts with "1". How could I change that behaviour? Thanks, best Jess I don't remember what you call it, but LyX has buttons to nest paragraphs. Nest the descriptive paragraph inside sentence #4, and I believe it should do exactly what you want. Not only that, it's very representative of what you're doing, because the descriptive paragraph is ABOUT sentence 4. Styles based authoring at its best. SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: Consecutive numeration of lists also after a section in standard-format
On Wednesday 18 March 2009 01:04:27 pm jezZiFeR wrote: > Dear listmembers, > > I do have a list with six sentences. They start with > > 1.) > 2.) > 3.) > 4.) > > Then I entered a description for this forth sentence, and after that I > would like to continue with: > > 5.) > 6.) > > But the problem is, that when I choose "numeration" in the menu, the > numeration again starts with "1". How could I change that behaviour? > > Thanks, best > Jess I don't remember what you call it, but LyX has buttons to nest paragraphs. Nest the descriptive paragraph inside sentence #4, and I believe it should do exactly what you want. Not only that, it's very representative of what you're doing, because the descriptive paragraph is ABOUT sentence 4. Styles based authoring at its best. SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: Consecutive numeration of lists also after a section in standard-format
> > I could not download that module, I just get a textfile opened in my >> browser >> if click the link of the "enumitem module" ( >> http://bugzilla.lyx.org/attachment.cgi?id=3167&action=view) >> >> I have already tried to save that file and changed its name to >> "enumitem.module", but this does not work. >> >> >> What platform are you on? On Windows, you have to make sure that your > file extensions aren't hidden and you renamed it to "enumitem.module.cgi" > without seeing the .cgi extension... > I did not have to run any texhash command like Steve suggested, because I > am using Miktex, which updates it's filename-database when you install the > package enumitem through the Miktex Package Manager. Well, now, after running texhash it works – on OSX. Thank you all! Jess
Re: Consecutive numeration of lists also after a section in standard-format
jezZiFeR schrieb: I could not download that module, I just get a textfile opened in my browser if click the link of the "enumitem module" ( http://bugzilla.lyx.org/attachment.cgi?id=3167&action=view) I have already tried to save that file and changed its name to "enumitem.module", but this does not work. How have I got to do that? Tahnk you! What platform are you on? On Windows, you have to make sure that your file extensions aren't hidden and you renamed it to "enumitem.module.cgi" without seeing the .cgi extension... I did not have to run any texhash command like Steve suggested, because I am using Miktex, which updates it's filename-database when you install the package enumitem through the Miktex Package Manager. Greetings, Florian
Re: Consecutive numeration of lists also after a section in standard-format
On Wednesday 18 March 2009 01:48:12 pm Florian Rubach wrote: > jezZiFeR schrieb: > > Dear listmembers, > > > > I do have a list with six sentences. They start with > > > > 1.) > > 2.) > > 3.) > > 4.) > > > > Then I entered a description for this forth sentence, and after that I > > would like to continue with: > > > > 5.) > > 6.) > > > > But the problem is, that when I choose "numeration" in the menu, the > > numeration again starts with "1". How could I change that behaviour? > > > > Thanks, best > > Jess > > You can download the lyx module "enumitem.module" from > http://wiki.lyx.org/Tips/Enumitem (instructions on the page). With that, > you can simply choose a style "Enumerate-Resume" from the dropdown-list > of styles. > Remember to reconfigure lyx after placing the module in the right place! And run texhash. STeveT
Re: Consecutive numeration of lists also after a section in standard-format
> > You can download the lyx module "enumitem.module" from > http://wiki.lyx.org/Tips/Enumitem (instructions on the page). With that, > you can simply choose a style "Enumerate-Resume" from the dropdown-list of > styles. > Remember to reconfigure lyx after placing the module in the right place! > > I could not download that module, I just get a textfile opened in my browser if click the link of the "enumitem module" ( http://bugzilla.lyx.org/attachment.cgi?id=3167&action=view) I have already tried to save that file and changed its name to "enumitem.module", but this does not work. How have I got to do that? Tahnk you! 2009/3/18 Florian Rubach > jezZiFeR schrieb: > > Dear listmembers, >> >> I do have a list with six sentences. They start with >> >> 1.) >> 2.) >> 3.) >> 4.) >> >> Then I entered a description for this forth sentence, and after that I >> would like to continue with: >> >> 5.) >> 6.) >> >> But the problem is, that when I choose "numeration" in the menu, the >> numeration again starts with "1". How could I change that behaviour? >> >> Thanks, best >> Jess >> > > >
Re: Consecutive numeration of lists also after a section in standard-format
jezZiFeR schrieb: Dear listmembers, I do have a list with six sentences. They start with 1.) 2.) 3.) 4.) Then I entered a description for this forth sentence, and after that I would like to continue with: 5.) 6.) But the problem is, that when I choose "numeration" in the menu, the numeration again starts with "1". How could I change that behaviour? Thanks, best Jess You can download the lyx module "enumitem.module" from http://wiki.lyx.org/Tips/Enumitem (instructions on the page). With that, you can simply choose a style "Enumerate-Resume" from the dropdown-list of styles. Remember to reconfigure lyx after placing the module in the right place! Greetings, Florian
Re: Consecutive numeration of lists also after a section in standard-format
jezZiFeR: > I do have a list with six sentences. They start with > > 1.) > 2.) > 3.) > 4.) While you are in your description line Use _Shift+Alt+RightArrowKey_ or the _Increase depth_ button to, well, increase the depth of the line(s) you want. The enumeration won't break like this. > Then I entered a description for this forth sentence, and after that I > would like to continue with: > > 5.) > 6.) Kind regards, Nikos
Consecutive numeration of lists also after a section in standard-format
Dear listmembers, I do have a list with six sentences. They start with 1.) 2.) 3.) 4.) Then I entered a description for this forth sentence, and after that I would like to continue with: 5.) 6.) But the problem is, that when I choose "numeration" in the menu, the numeration again starts with "1". How could I change that behaviour? Thanks, best Jess
Re: Navigate > Other Lists
On Fri, 06 Mar 2009 09:50:34 +0100 Helge Hafting wrote: > Frederick Noronha [फ़रेदरिक नोरोनया] wrote: > > I am a long-time (2-3 years) Lyx users, but just only recently ran > > Other features on one's dream-list: > > > > * A kind of automated indexing: which lists all the occurances of > > one word, and asks the editor whether s/he wants to include each > > entry. > > That seems like a good idea. Not the fully-automated indexing that > usually overdoes it, but something similiar to searc & replace that > asks. > > Please file a enhancement request (wishlist bug) on bugzilla.lyx.org > The indexing procedures of Reftex in emacs provides a good model for this. Alan >
Re: Sample chapter ... Was: Re: Navigate > Other Lists
Frederick Noronha [फ़रेदरिक नोरोनया] schrieb: * More and better latex chapter-page templates, which offer neat layouts... You mean the title pages for chapters? Could be useful. would need someone who knows good designs. I meant something more like this, which works wonderfully well for me: http://zoonek.free.fr/LaTeX/LaTeX_samples_chapter/0.html This is a manual how to hack LaTeX with low-level commands. LyX is designed _not_ to hack LaTeX and therefore such wonderful document classes like koma-script and memoir were developed. I suggest to have a look at the documentation of these two classes - you will be surprised what you can do with them without the need of ugly, massive preamble hacks. regards Uwe
Something like a LaTeX cheat sheet: Re: Navigate > Other Lists
2009/3/6 Helge Hafting >> * Better help files. > Feel free to write some. :-) For LaTeX, I found this very useful (a cheat sheet): http://www.stdout.org/~winston/latex/ -- FN * http://fredericknoronha.wordpress.com M +91-9822122436 P +91-832-2409490 http://twitter.com/fn On Facebook: http://www.new.facebook.com/people/Frederick-Noronha/502514643 "We ought never to do wrong when people are looking." - Mark Twain
Sample chapter ... Was: Re: Navigate > Other Lists
2009/3/6 Helge Hafting >> * More and better latex chapter-page templates, which offer neat layouts... > > You mean the title pages for chapters? Could be useful. would > need someone who knows good designs. I meant something more like this, which works wonderfully well for me: http://zoonek.free.fr/LaTeX/LaTeX_samples_chapter/0.html -- FN * http://fredericknoronha.wordpress.com M +91-9822122436 P +91-832-2409490 http://twitter.com/fn On Facebook: http://www.new.facebook.com/people/Frederick-Noronha/502514643 "Never miss a good chance to shut up." - Will Rogers
Re: Navigate > Other Lists
Frederick Noronha [फ़रेदरिक नोरोनया] wrote: I am a long-time (2-3 years) Lyx users, but just only recently ran into the NAVIGATE > OTHER LISTS feature on this software, after upgrading to 1.6.1 Just to say: I cannot tell you how useful this is, for updating the index, correcting footnotes and whole lot of other tasks. Kudos to the developers for creating such a useful feature. Other features on one's dream-list: * A kind of automated indexing: which lists all the occurances of one word, and asks the editor whether s/he wants to include each entry. That seems like a good idea. Not the fully-automated indexing that usually overdoes it, but something similiar to searc & replace that asks. Please file a enhancement request (wishlist bug) on bugzilla.lyx.org * Better help files. Feel free to write some. :-) * More and better latex chapter-page templates, which offer neat layouts... You mean the title pages for chapters? Could be useful. would need someone who knows good designs. * Closer integration between layout on Lyx and typesetting (on wordprocessor), so that when one file gets changed, the other gets automatically updated. What do you mean here? whenever you change something in LyX, the output also changes (after hitting the appropriate button that updates the dvi/pdf view.) Doing this fully automatic would waste a lot of processing power as most people don't watch the preview continously. There is normally no need. Or did you mean something else? Helge Hafting
Re: Navigate > Other Lists
Frederick Noronha [फ़रेदरिक नोरोनया] schrieb: Other features on one's dream-list: * Better help files. This is very general. What do you have in mind in particular? I tried to describe as many things as possible and therefore create the special Math and EmbeddedObjects manual that you find in LyX's Help menu. What do you miss? * More and better latex chapter-page templates, which offer neat layouts... What do you mean? The possibilities depend on the document class you are using. The standard report class doesn't have all features, because it was designed to be the standard/consensus. When using a koma-script or the memoir class, everything I can think of is possible. * Easier installs on Windows, to help editors to work with authors seamlessly. What do you miss? I tried to make the Windows installation as easy as possible: You only have to click a few times OK and get everything you need including a LaTeX distribution, image converters, a BibTeX editor, spell checker, regards Uwe
Navigate > Other Lists
I am a long-time (2-3 years) Lyx users, but just only recently ran into the NAVIGATE > OTHER LISTS feature on this software, after upgrading to 1.6.1 Just to say: I cannot tell you how useful this is, for updating the index, correcting footnotes and whole lot of other tasks. Kudos to the developers for creating such a useful feature. Other features on one's dream-list: * A kind of automated indexing: which lists all the occurances of one word, and asks the editor whether s/he wants to include each entry. * Better help files. * More and better latex chapter-page templates, which offer neat layouts... * Closer integration between layout on Lyx and typesetting (on wordprocessor), so that when one file gets changed, the other gets automatically updated. * Easier installs on Windows, to help editors to work with authors seamlessly. Thanks again! FN -- FN * http://fredericknoronha.wordpress.com M +91-9822122436 P +91-832-2409490 http://twitter.com/fn On Facebook: http://www.new.facebook.com/people/Frederick-Noronha/502514643 "If you think you can do a thing or think you can't do a thing, you're right." - Henry Ford
Re: Again on interrupted lists
Maybe you will also find the following link helpful: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=interruptlist As Günter said, enumlist is clearly to be recommended for interrupted list. -- Christian Am 30.11.2008 um 22:34 schrieb Guenter Milde: On 2008-11-30, stefano franchi wrote: I am trying really hard to understand how to produce interrupted multi-level lists in LyX/LaTeX, ... Every once in a while I need to insert text between the steps to make a more general point before resuming the argument. For clarity, I need to have the steps labeled with decimal numbering (i.e.. 1. 1.1, 1.2, etc.) Here is what I tried: 1. using the paralist package 2. Using the mdwlist package I recommend the enumitem package (if you are using LyX 1.6, you can use the attached enumitem module. No need to explicitely \interrupt an enumeration. It just takes of the last one *of the corresponding level* with the [resume] optional argument (or with the Enumerate-Resume Style provided by the module). Günter enumitem.module: #\DeclareLyXModule[enumitem.sty]{Customisable Lists (enumitem)} #DescriptionBegin # Control the layout of enumerate, itemize and description # with an optional argument. # See http://dante.ctan.org/CTAN/macros/latex/contrib/enumitem/enumitem.pdf #DescriptionEnd # Author: Günter Milde <[EMAIL PROTECTED]> Format 11 # The package enumitem provides user control over the layout of the three # basic list environments: enumerate, itemize and description. It supersedes # both enumerate and mdwlist (providing well-structured replacements for all # their funtionality), and in addition provides functions to compute the # layout of labels, and to ‘clone’ the standard environments, to create new # environments with counters of their own. # # - fancy labels and fancy refs, # - leftmargin, labelsep and labelwidth automatically set, # - changes applied globally or only in one of the three # types or even in a single list (including topsep) by # means of a sort of "inheritance", # - several description styles (which fix some bad # spacing, too), # - starting value and counter resuming, # - trivlists properly formatted, # - control on page breaking # # Styling the basic lists is possible # # a) generally in the LaTeX preamble and # b) per environment with optional arguments # # See enumitem.pdf_ for details and examples. AddToPreamble \usepackage{enumitem} EndPreamble # ensure the stdlist layouts are present (unmodified) # (as e.g. the KOMA script classes obsolete lyx-list with labeling) # TODO: is this secure? Input stdlists.inc # Customizable Basic Lists # # With enumitem, the three standard list environments take an optional # argument. See enumitem.pdf_ for possible values. Style Itemize OptionalArgs 1 End Style Enumerate OptionalArgs 1 End Style Description OptionalArgs 1 End # List Variants # - # # Styles with pre-defined optional arguments for ease of use Style Enumerate-Resume CopyStyle Enumerate LatexParam[resume] # LatexParam[resume*] # reuse optional arguments OptionalArgs 0 # a blue label to indicate that this is not a WYSIWYG label # (the numbering differs in the output) LabelFont Color blue EndFont End # Add compact lists here... # References # -- # # .. _enumitem.pdf: #http://dante.ctan.org/CTAN/macros/latex/contrib/enumitem/enumitem.pdf
Re: Again on interrupted lists
On 2008-11-30, stefano franchi wrote: > I am trying really hard to understand how to produce interrupted multi-level > lists in LyX/LaTeX, ... > Every once in a while I need to insert text between the steps to make a > more general point before resuming the argument. For clarity, I need to > have the steps labeled with decimal numbering (i.e.. 1. 1.1, 1.2, etc.) > Here is what I tried: > 1. using the paralist package > 2. Using the mdwlist package I recommend the enumitem package (if you are using LyX 1.6, you can use the attached enumitem module. No need to explicitely \interrupt an enumeration. It just takes of the last one *of the corresponding level* with the [resume] optional argument (or with the Enumerate-Resume Style provided by the module). Günter enumitem.module: #\DeclareLyXModule[enumitem.sty]{Customisable Lists (enumitem)} #DescriptionBegin # Control the layout of enumerate, itemize and description # with an optional argument. # See http://dante.ctan.org/CTAN/macros/latex/contrib/enumitem/enumitem.pdf #DescriptionEnd # Author: Günter Milde <[EMAIL PROTECTED]> Format 11 # The package enumitem provides user control over the layout of the three # basic list environments: enumerate, itemize and description. It supersedes # both enumerate and mdwlist (providing well-structured replacements for all # their funtionality), and in addition provides functions to compute the # layout of labels, and to ‘clone’ the standard environments, to create new # environments with counters of their own. # # - fancy labels and fancy refs, # - leftmargin, labelsep and labelwidth automatically set, # - changes applied globally or only in one of the three # types or even in a single list (including topsep) by # means of a sort of "inheritance", # - several description styles (which fix some bad # spacing, too), # - starting value and counter resuming, # - trivlists properly formatted, # - control on page breaking # # Styling the basic lists is possible # # a) generally in the LaTeX preamble and # b) per environment with optional arguments # # See enumitem.pdf_ for details and examples. AddToPreamble \usepackage{enumitem} EndPreamble # ensure the stdlist layouts are present (unmodified) # (as e.g. the KOMA script classes obsolete lyx-list with labeling) # TODO: is this secure? Input stdlists.inc # Customizable Basic Lists # # With enumitem, the three standard list environments take an optional # argument. See enumitem.pdf_ for possible values. Style Itemize OptionalArgs 1 End Style Enumerate OptionalArgs 1 End Style Description OptionalArgs 1 End # List Variants # - # # Styles with pre-defined optional arguments for ease of use Style Enumerate-Resume CopyStyle Enumerate LatexParam[resume] # LatexParam[resume*] # reuse optional arguments OptionalArgs 0 # a blue label to indicate that this is not a WYSIWYG label # (the numbering differs in the output) LabelFont Color blue EndFont End # Add compact lists here... # References # -- # # .. _enumitem.pdf: #http://dante.ctan.org/CTAN/macros/latex/contrib/enumitem/enumitem.pdf
Re: Again on interrupted lists
stefano franchi wrote: I am trying really hard to understand how to produce interrupted multi-level lists in LyX/LaTeX, but I can't seem to find a way to make the wiki suggestions work. I am preparing lecture notes for a philosophy class and I need to write down the various steps of various arguments, with main premises, sub-premises, provisional conclusions, etc. Every once in a while I need to insert text between the steps to make a more general point before resuming the argument. For clarity, I need to have the steps labeled with decimal numbering (i.e.. 1. 1.1, 1.2, etc.) Here is what I tried: 1. using the paralist package a. decimal numbering is offered as one of the package options, so no problems there b. Could not find a way to interrupt/resume a list. I studied the package documentation, but could not find a way. That does not necessarily mean it's impossible, of course... 2. Using the mdwlist package a. I redefine the enumerate counters and labels to produce decimal numbering---no problems there b. Although the \interrupt \resume commands work from a level 1 item to standard text, I could not find a way to make it work from a deeper level item. That is, I can replicate the example on the wiki:: 1. First first level item 2. second first level item Standard text 3. third first level item But I *cannot* extend it to do this: 1. First first level item 1.1. First second level item Standard text 1.2 Second second level item When I try to adapt the wiki example strategy to my needs I get LaTex errors. I am attaching a short sample file below. Stefano, Does the attached file do the job? If so, the use of mdwlist is overkill (I took it out); just nesting the extra text under the appropriate list level, and making it standard environments (or whatever environment you need) should work. Incidentally, the LaTeX errors were the result of using \resume{enumerate} right before \end{enumerate} (i.e., resuming the list but then not adding any further items). /Paul hacked-simple-numbering-test.lyx Description: application/lyx
Again on interrupted lists
I am trying really hard to understand how to produce interrupted multi-level lists in LyX/LaTeX, but I can't seem to find a way to make the wiki suggestions work. I am preparing lecture notes for a philosophy class and I need to write down the various steps of various arguments, with main premises, sub-premises, provisional conclusions, etc. Every once in a while I need to insert text between the steps to make a more general point before resuming the argument. For clarity, I need to have the steps labeled with decimal numbering (i.e.. 1. 1.1, 1.2, etc.) Here is what I tried: 1. using the paralist package a. decimal numbering is offered as one of the package options, so no problems there b. Could not find a way to interrupt/resume a list. I studied the package documentation, but could not find a way. That does not necessarily mean it's impossible, of course... 2. Using the mdwlist package a. I redefine the enumerate counters and labels to produce decimal numbering---no problems there b. Although the \interrupt \resume commands work from a level 1 item to standard text, I could not find a way to make it work from a deeper level item. That is, I can replicate the example on the wiki:: 1. First first level item 2. second first level item Standard text 3. third first level item But I *cannot* extend it to do this: 1. First first level item 1.1. First second level item Standard text 1.2 Second second level item When I try to adapt the wiki example strategy to my needs I get LaTex errors. I am attaching a short sample file below. Any help appreciated Cheers, Stefano -- __ Stefano Franchi Department of Philosophy Ph: (979) 862-2211 Texas A&M University Fax: (979) 845-0458 305B Bolton Hall [EMAIL PROTECTED] College Station, TX 77843-4237 simple-numbering-test.lyx Description: application/lyx
Re: List of itemized lists in outline panel?
Stefano Franchi wrote: In my week-long search for a way to use LyX as a skeletal outliner, I finally realized that I could use suitably renumbered nested lists as a make-do solution. However, it would be infinitely more useful if the "ouline panel" could show the various items, as it does for sections and subsections. I suppose there is no easy way to do this short of changing the code that drives the panel itself. Right. It is easy to add list of insets but a bit more difficult for lists of layout (but not very difficult). But why don't you use sections instead? You could also also use notes. Perhaps it could be a feature enhancement for future releases? Yes, put it in bugzilla. Abdel.
List of itemized lists in outline panel?
In my week-long search for a way to use LyX as a skeletal outliner, I finally realized that I could use suitably renumbered nested lists as a make-do solution. However, it would be infinitely more useful if the "ouline panel" could show the various items, as it does for sections and subsections. I suppose there is no easy way to do this short of changing the code that drives the panel itself. Perhaps it could be a feature enhancement for future releases? Cheers, S. -- __ Stefano Franchi Department of Philosophy Ph: (979) 862-2211 Texas A&M University Fax: (979) 845-0458 305B Bolton Hall [EMAIL PROTECTED] College Station, TX 77843-4237
Re: numbers of numbered lists
pol wrote: I would expect size of numbers in numbered lists would change accordingly, as the font size of all text has changed or the default font size has changed. That does not happen, with the default 'article' class, using lyx 1.4.5 If you change the font size in the Document -> Font menu, enumeration labels seem to match. If you highlight an enumeration list and use the font style dialog to change the size, then you're right, the labels don't match. That's because LyX applies the font change to the text of each item individually, rather than to the entire list. Any suggestions? If you are changing size for part of the document, rather than changing the base font for the document, you can resolve this by making the change in ERT rather than using the font style dialog. For instance (using <> to denote an ERT box) <{\Large >blah blah blah 1. whatever 2. whatever blah blah <}> Note the single brace in each ERT box; collectively, the limit the font change size to what's between the two ERT boxes. Any improvements in the next lyx releases, in this regard? Same thing happens in 1.6.0rc1. If it's a significant annoyance, you might want to file a bug report against it. /Paul
numbers of numbered lists
I would expect size of numbers in numbered lists would change accordingly, as the font size of all text has changed or the default font size has changed. That does not happen, with the default 'article' class, using lyx 1.4.5 Any suggestions? Any improvements in the next lyx releases, in this regard? Thank you --- Pol
Re: Nested lists
On 17.06.08, Neal Becker wrote: > G. Milde wrote: > What is "--- Environment Separator ---"? I'm using 1.6beta3. It is a paragraph layout (like Standard, Enumerated, List, ...) that can be found in the drop-down list of layouts (at least in 1.5.n). Defined in stdlayouts.inc as Style --Separator-- KeepEmpty 1 MarginDynamic LatexType Paragraph LatexName dummy ParIndent MM Align Block AlignPossible Block LabelType Static LabelString "--- Separate Environment ---" LabelFont Family Roman Series Medium SizeNormal Color Blue EndFont End Günter
Re: Nested lists
G. Milde wrote: > On 16.06.08, James Sutherland wrote: >> On Jun 16, 2008, at 7:53 PM, Neal Becker wrote: >>> James Sutherland wrote: On Jun 16, 2008, at 7:31 PM, Neal Becker wrote: > > I have an enumerated list nested in an itemize list. How do I exit > the inner enumerated list and return to the outer itemize? > > (Decreasing list depth doesn't do it) > Really? What does it then? > Just restart the itemized list. > James >>> What if it was the other way round? I wouldn't want to restart the >>> enumeration, but continue it. The whole design of TeX was around >>> nested environments. It seems easy enough to start enclosing one env >>> inside another in LyX, but how to end the env? > >> It works just fine. See the attached example. > > LyX "merges" consecutive paragraphs of the same Layout into a > common LaTeX environment. Something nested inside a paragraph will not > break this behaviour. > > * Setting the next paragraph after the nested list to "Enumerate" > will continue the enumeration. > > * To start a new enumeration, you have to separate the paragraphs with > something different than a "Enumerate" paragraph. > > The "--- Environment Separator ---" is devised for this purpose; it > will persist even if empty, shows a blue label in LyX and produces > no output. > > Günter What is "--- Environment Separator ---"? I'm using 1.6beta3.
Re: Nested lists
On 16.06.08, James Sutherland wrote: > On Jun 16, 2008, at 7:53 PM, Neal Becker wrote: >> James Sutherland wrote: >>> On Jun 16, 2008, at 7:31 PM, Neal Becker wrote: I have an enumerated list nested in an itemize list. How do I exit the inner enumerated list and return to the outer itemize? (Decreasing list depth doesn't do it) Really? What does it then? >>> Just restart the itemized list. >>> James >> What if it was the other way round? I wouldn't want to restart the >> enumeration, but continue it. The whole design of TeX was around >> nested environments. It seems easy enough to start enclosing one env >> inside another in LyX, but how to end the env? > It works just fine. See the attached example. LyX "merges" consecutive paragraphs of the same Layout into a common LaTeX environment. Something nested inside a paragraph will not break this behaviour. * Setting the next paragraph after the nested list to "Enumerate" will continue the enumeration. * To start a new enumeration, you have to separate the paragraphs with something different than a "Enumerate" paragraph. The "--- Environment Separator ---" is devised for this purpose; it will persist even if empty, shows a blue label in LyX and produces no output. Günter
Re: Nested lists
On Jun 16, 2008, at 7:53 PM, Neal Becker wrote: James Sutherland wrote: On Jun 16, 2008, at 7:31 PM, Neal Becker wrote: I have an enumerated list nested in an itemize list. How do I exit the inner enumerated list and return to the outer itemize? (Decreasing list depth doesn't do it) Just restart the itemized list. James What if it was the other way round? I wouldn't want to restart the enumeration, but continue it. The whole design of TeX was around nested environments. It seems easy enough to start enclosing one env inside another in LyX, but how to end the env? It works just fine. See the attached example. itemized.lyx Description: Binary data
Re: Nested lists
James Sutherland wrote: > > On Jun 16, 2008, at 7:31 PM, Neal Becker wrote: > >> I have an enumerated list nested in an itemize list. How do I exit >> the >> inner enumerated list and return to the outer itemize? (Decreasing >> list >> depth doesn't do it) >> > > Just restart the itemized list. > > James What if it was the other way round? I wouldn't want to restart the enumeration, but continue it. The whole design of TeX was around nested environments. It seems easy enough to start enclosing one env inside another in LyX, but how to end the env?
Re: Nested lists
On Jun 16, 2008, at 7:31 PM, Neal Becker wrote: I have an enumerated list nested in an itemize list. How do I exit the inner enumerated list and return to the outer itemize? (Decreasing list depth doesn't do it) Just restart the itemized list. James