RE: Individual counters for Problems, Examples, etc.?

2022-10-03 Thread Bernt Lie via lyx-users
:05 PM To: lyx-users@lists.lyx.org Subject: Re: Individual counters for Problems, Examples, etc.? Le lundi 03 octobre 2022 à 11:49 +, Bernt Lie via lyx-users a écrit : > In LyX 2.3.6.1 under Windows 11, I have a document of Document Class > "Article (Standard Class with Extra Fontsizes)&

Re: Individual counters for Problems, Examples, etc.?

2022-10-03 Thread Daniel CLEMENT via lyx-users
, Problems, etc., use the same counter. AFAIK this is indeed the default behavior. >   > I want to use separate counters for the various elements. >   > How do I do that in LyX? [In LaTeX, I put a “newtheorem” command in > the Preamble I think.  But in LyX, these elements already ex

RE: Individual counters for Problems, Examples, etc.?

2022-10-03 Thread Bernt Lie via lyx-users
Thanks for quick response, Udi This works perfectly! -B -Original Message- From: Udicoudco Sent: Monday, October 3, 2022 2:56 PM To: Bernt Lie Cc: lyx-users@lists.lyx.org Subject: Re: Individual counters for Problems, Examples, etc.? On Mon, Oct 3, 2022 at 2:50 PM Bernt Lie via lyx

Re: Individual counters for Problems, Examples, etc.?

2022-10-03 Thread Udicoudco
> Problems, etc., use the same counter. > > > > I want to use separate counters for the various elements. > > > > How do I do that in LyX? [In LaTeX, I put a “newtheorem” command in the > Preamble I think. But in LyX, these elements already exist… so I assume that

Individual counters for Problems, Examples, etc.?

2022-10-03 Thread Bernt Lie via lyx-users
In LyX 2.3.6.1 under Windows 11, I have a document of Document Class “Article (Standard Class with Extra Fontsizes)”. Currently, all “theorem-like” elements use the same counter, e.g., Examples, Problems, etc., use the same counter. I want to use separate counters for the various elements

Re: LyX display of align counters

2022-02-19 Thread Scott Kostyshak via lyx-users
than > > > > > > \AtBeginEnvironment{frame}{\setcounter{equation}{0}} > > > > > > ? > > > > > > If you use the latter, you can use different equation environments without > > > getting ambiguous numbers within a frame. > > &g

Re: LyX display of align counters

2022-02-18 Thread Daniel via lyx-users
ated lists do. Just notice that the layout code I provided restarts within frame and hence mimics the latter LaTeX command above not the former. I am not sure that it is currently possible to mimic enumerated list counters in LyX. For example, Counter equation Within equation LabelStri

Re: LyX display of align counters

2022-02-18 Thread Scott Kostyshak via lyx-users
On Fri, Feb 18, 2022 at 09:53:32PM +0100, Daniel via lyx-users wrote: > On 2022-02-18 17:03, Scott Kostyshak via lyx-users wrote: > > On Fri, Feb 18, 2022 at 02:52:35PM +0100, Daniel via lyx-users wrote: > > > On 17/02/2022 14:06, Scott Kostyshak via lyx-users wrote: > > > > I like to renumber my a

Re: LyX display of align counters

2022-02-18 Thread Daniel via lyx-users
On 2022-02-18 17:03, Scott Kostyshak via lyx-users wrote: On Fri, Feb 18, 2022 at 02:52:35PM +0100, Daniel via lyx-users wrote: On 17/02/2022 14:06, Scott Kostyshak via lyx-users wrote: I like to renumber my align numbers within frame. e.g., Instead of "equation 3", I essentially use them as "3

Re: LyX display of align counters

2022-02-18 Thread Scott Kostyshak via lyx-users
On Fri, Feb 18, 2022 at 02:52:35PM +0100, Daniel via lyx-users wrote: > On 17/02/2022 14:06, Scott Kostyshak via lyx-users wrote: > > I like to renumber my align numbers within frame. e.g., Instead of "equation > > 3", I essentially use them as "3rd line of equation on this frame" which > > makes

Re: LyX display of align counters

2022-02-18 Thread Daniel via lyx-users
On 17/02/2022 14:06, Scott Kostyshak via lyx-users wrote: I like to renumber my align numbers within frame. e.g., Instead of "equation 3", I essentially use them as "3rd line of equation on this frame" which makes it easy for students to ask questions and refer to the line number. I do this with

LyX display of align counters

2022-02-17 Thread Scott Kostyshak via lyx-users
I like to renumber my align numbers within frame. e.g., Instead of "equation 3", I essentially use them as "3rd line of equation on this frame" which makes it easy for students to ask questions and refer to the line number. I do this with the following LaTeX code in the preamble: \AtBeginEnvironm

Re: Customizing counters of theorem environments.

2021-07-21 Thread Rudi Gaelzer
(Ditto here) Thanks for the reply, Paul. On quarta-feira, 21 de julho de 2021 17:40:48 -03 Paul A. Rubin wrote: > (Accidentally replied directly rather than to the list. Better late than > never?) > > I can see no reason to mess with the layout translations file. If your LyX > user interface use

Re: Customizing counters of theorem environments.

2021-07-21 Thread Paul A. Rubin
o de 2021 20:20:41 -03 Rudi Gaelzer wrote: > Well, it seems that the solution is indeed via \renewtheorem. However, I > had to dig deep into the installation of AMS theorem to find the proper > names of the counters. So far, I've found \thethm, \thelem, \thedefn, etc. > I did

Re: Customizing counters of theorem environments.

2021-07-21 Thread Rudi Gaelzer
lzer wrote: > Well, it seems that the solution is indeed via \renewtheorem. However, I > had to dig deep into the installation of AMS theorem to find the proper > names of the counters. So far, I've found \thethm, \thelem, \thedefn, etc. > I did not find a full list of counters, s

Re: Customizing counters of theorem environments.

2021-07-20 Thread Rudi Gaelzer
Well, it seems that the solution is indeed via \renewtheorem. However, I had to dig deep into the installation of AMS theorem to find the proper names of the counters. So far, I've found \thethm, \thelem, \thedefn, etc. I did not find a full list of counters, so if someone could point m

Customizing counters of theorem environments.

2021-07-20 Thread Rudi Gaelzer
Hi there. I'm using the module Theorems (AMS, Numbered by Type). I would like to change the counters of theorem-like environs, adding a fixed string in front of the number. Something like Theorem TGA-1 Definition TGA-2 etc Can I do that the usual way that is done for the standard

Re: LyX + Beamer: continuing previous counters

2020-08-12 Thread Rudi Gaelzer
prepare a given lecture as a Beamer presentation and number some > equations/figures/etc for future reference. > I'm using the xr package to reference labels created in other presentations, > but I also want to continue the counters in subsequent lectures. > The problem now poses as th

LyX + Beamer: continuing previous counters

2020-08-05 Thread Rudi Gaelzer
ns, but I also want to continue the counters in subsequent lectures. The problem now poses as the following. How can I automatically continue the counters in the next presentation? Should I include the different presentations as children of a master LyX file? I did not try this possibility beca

Re: Preview a single child document while maintaining counters and references

2020-03-12 Thread Patrick De Visschere
38, Jürgen Spitzmüller wrote: >>>> Am Dienstag, den 10.03.2020, 15:17 +0100 schrieb Daniel: >>>>> However, often I would like to preview only one child document (e.g. >>>>> one >>>>> chapter) while maintaining counters and references. Is the

Re: Preview a single child document while maintaining counters and references

2020-03-12 Thread Jürgen Spitzmüller
, select the chapters you want to include, and click "Maintain counters and references" to have the complete document compiled once before only the \includeonly documents are completed. A drawback currently is that "Maintain counters and references" makes LyX execute the extra comp

Re: Preview a single child document while maintaining counters and references

2020-03-11 Thread Daniel
(e.g. one chapter) while maintaining counters and references. Is there a quick way to do so? You mean, without the master? No. I don't think that's possible in LaTeX either. Jürgen I see. I wasn't that this is pure LaTeX magic. I guess, I should then just set up my master in such

Re: Preview a single child document while maintaining counters and references

2020-03-11 Thread Patrick De Visschere
> On 11 Mar 2020, at 17:58, Daniel wrote: > > On 2020-03-11 08:38, Jürgen Spitzmüller wrote: >> Am Dienstag, den 10.03.2020, 15:17 +0100 schrieb Daniel: >>> However, often I would like to preview only one child document (e.g. >>> one >>> chapter) whi

Re: Preview a single child document while maintaining counters and references

2020-03-11 Thread Daniel
On 2020-03-11 08:38, Jürgen Spitzmüller wrote: Am Dienstag, den 10.03.2020, 15:17 +0100 schrieb Daniel: However, often I would like to preview only one child document (e.g. one chapter) while maintaining counters and references. Is there a quick way to do so? You mean, without the master? No

Re: Preview a single child document while maintaining counters and references

2020-03-11 Thread Jürgen Spitzmüller
Am Dienstag, den 10.03.2020, 15:17 +0100 schrieb Daniel: > However, often I would like to preview only one child document (e.g. > one > chapter) while maintaining counters and references. Is there a quick > way > to do so? You mean, without the master? No. I don't think that

Preview a single child document while maintaining counters and references

2020-03-10 Thread Daniel
Hi, I know that it is possible to exclude several child documents in a master document while maintaining counters and references. This feature is available in the master document's settings. However, often I would like to preview only one child document (e.g. one chapter) while mainta

Re: Counters of custom list environment

2019-04-04 Thread Dr Eberhard Lisse
Daniel, to be honest, I'll probably figure this out and install it anyway. Eventually :-)-O Even though in my daily use I usuallyhave Enumerate-Resume on the outer level and Enumerate on the indented one(s). So this may or may not work :-)-O el On 03/04/2019 16:34, Daniel wrote: > On 03/04/2

Re: Counters of custom list environment

2019-04-03 Thread Daniel
On 2019-04-04 08:01, Baris Erkus wrote: On 03-Apr-19 5:34 PM, Daniel wrote: On 03/04/2019 13:35, Dr Eberhard Lisse wrote: I have noticed same, but it bothered me for about 27 seconds and I am now used to it. With Jean-Marc's comment, there is no need to get used to it any more. Though I admir

Re: Counters of custom list environment

2019-04-03 Thread Baris Erkus
On 03-Apr-19 5:34 PM, Daniel wrote: > On 03/04/2019 13:35, Dr Eberhard Lisse wrote: >> I have noticed same, but it bothered me for about 27 seconds and I am >> now used to it. > > With Jean-Marc's comment, there is no need to get used to it any more. > Though I admire your ability to adapt. :) > >

Re: Counters of custom list environment

2019-04-03 Thread Jean-Marc Lasgouttes
Le 03/04/2019 à 17:21, Daniel a écrit : What the labeltype Enumerate does is to count nesting of enumerate items to know whether the counter will be enumi, enumii, enumiii or enumiv. Your own enumerate layout is not supposed to do that. I see. That was just an oversimplification on my side. At

Re: Counters of custom list environment

2019-04-03 Thread Daniel
On 03/04/2019 16:58, Jean-Marc Lasgouttes wrote: Le 03/04/2019 à 14:55, Daniel a écrit : Yes, that does the trick. But I am wondering why the default Enumerate doesn't have LabelType Static. What's the difference? What the labeltype Enumerate does is to count nesting of enumerate items to kno

Re: Counters of custom list environment

2019-04-03 Thread Jean-Marc Lasgouttes
Le 03/04/2019 à 14:55, Daniel a écrit : Yes, that does the trick. But I am wondering why the default Enumerate doesn't have LabelType Static. What's the difference? What the labeltype Enumerate does is to count nesting of enumerate items to know whether the counter will be enumi, enumii, enumi

Re: Counters of custom list environment

2019-04-03 Thread Daniel
On 03/04/2019 13:35, Dr Eberhard Lisse wrote: I have noticed same, but it bothered me for about 27 seconds and I am now used to it. With Jean-Marc's comment, there is no need to get used to it any more. Though I admire your ability to adapt. :) Daniel

Re: Counters of custom list environment

2019-04-03 Thread Daniel
On 03/04/2019 12:36, Jean-Marc Lasgouttes wrote: Le 02/04/2019 à 12:45, Daniel a écrit : Hi, In the attached document the list structure in the work area is shown as i. MyEnumerate  (a) Enumerate but the output is actually i. MyEnumerate  1. Enumerate Try the one attached. I change

Re: Counters of custom list environment

2019-04-03 Thread Dr Eberhard Lisse
I have noticed same, but it bothered me for about 27 seconds and I am now used to it. el On 02/04/2019 12:45, Daniel wrote: > Hi, > > In the attached document the list structure in the work area is shown > as > > i. MyEnumerate > (a) Enumerate > > but the output is actually > > i. MyEnu

Re: Counters of custom list environment

2019-04-03 Thread Jean-Marc Lasgouttes
Le 02/04/2019 à 12:45, Daniel a écrit : Hi, In the attached document the list structure in the work area is shown as i. MyEnumerate (a) Enumerate but the output is actually i. MyEnumerate 1. Enumerate Try the one attached. I changed LabelType to Static and set the format (because

Re: Counters of custom list environment

2019-04-03 Thread Daniel
On 03/04/2019 08:53, Baris Erkus wrote: On 02-Apr-19 1:45 PM, Daniel wrote: Hi, In the attached document the list structure in the work area is shown as i. MyEnumerate (a) Enumerate but the output is actually i. MyEnumerate 1. Enumerate I seem unable to figure out how to tell LyX

Re: Counters of custom list environment

2019-04-02 Thread Baris Erkus
On 02-Apr-19 1:45 PM, Daniel wrote: > Hi, > > In the attached document the list structure in the work area is shown as > > i. MyEnumerate > (a) Enumerate > > but the output is actually > > i. MyEnumerate > 1. Enumerate > > I seem unable to figure out how to tell LyX that my custom enumerate

Re: Counters of custom list environment

2019-04-02 Thread Daniel
On 02/04/2019 20:20, Paul A. Rubin wrote: On 4/2/19 6:45 AM, Daniel wrote: Hi, In the attached document the list structure in the work area is shown as i. MyEnumerate (a) Enumerate but the output is actually i. MyEnumerate 1. Enumerate I seem unable to figure out how to tell LyX tha

Re: Counters of custom list environment

2019-04-02 Thread Paul A. Rubin
On 4/2/19 6:45 AM, Daniel wrote: Hi, In the attached document the list structure in the work area is shown as i. MyEnumerate (a) Enumerate but the output is actually i. MyEnumerate 1. Enumerate I seem unable to figure out how to tell LyX that my custom enumerate (as set in the Local

Counters of custom list environment

2019-04-02 Thread Daniel
Hi, In the attached document the list structure in the work area is shown as i. MyEnumerate (a) Enumerate but the output is actually i. MyEnumerate 1. Enumerate I seem unable to figure out how to tell LyX that my custom enumerate (as set in the Local Layout and Preamble) is d

Re: different counters for different environments

2009-06-25 Thread Paul A. Rubin
rgheck wrote: Is there a place on the wiki where people can put modules they've created for their own use that they think might be useful for others? I've got a few of these myself. There's now a Modules page in the LyX page group (http://wiki.lyx.org/LyX/Modules). /Paul

Re: different counters for different environments

2009-06-24 Thread Paul A. Rubin
rgheck wrote: Is there a place on the wiki where people can put modules they've created for their own use that they think might be useful for others? I've got a few of these myself. There's a Layouts group, to which you can add pages listing and linking to the layouts/modules you want to p

Re: different counters for different environments

2009-06-24 Thread rgheck
Paul A. Rubin wrote: Srinivas Nedunuri wrote: currently Lyx numbers theorems, definitions, examples, claims, etc sequentially using the same counter. How can i get it to use seperate counters for (some specific subset of) each of these? I have a set of modules to do this. I've al

Re: different counters for different environments

2009-06-24 Thread Paul A. Rubin
Srinivas Nedunuri wrote: currently Lyx numbers theorems, definitions, examples, claims, etc sequentially using the same counter. How can i get it to use seperate counters for (some specific subset of) each of these? I have a set of modules to do this. I've already offered them up o

Re: different counters for different environments

2009-06-24 Thread rgheck
Srinivas Nedunuri wrote: currently Lyx numbers theorems, definitions, examples, claims, etc sequentially using the same counter. How can i get it to use seperate counters for (some specific subset of) each of these? You will need to redefine the various environments to use their own

different counters for different environments

2009-06-23 Thread Srinivas Nedunuri
currently Lyx numbers theorems, definitions, examples, claims, etc sequentially using the same counter. How can i get it to use seperate counters for (some specific subset of) each of these?

Re: Using counters

2009-05-20 Thread Pavel Sanda
obregonma...@gmail.com wrote: > Perhaps we need a bit more documentation on how to use modules to set-up > specific behaviours in both LyX and LaTeX. and good start is to put up what you have learned somewhere in the wiki. pavel

Re: Using counters

2009-05-19 Thread obregonmateo
Many thanks to all (especially Günter and Helge) for helping me solve this issue of having different counters throughout a document. This has also helped me understand how LyX behaviour has be coded to mirror the desired LaTeX behaviour, and how the LyX modules design is so useful for this

Re: Using counters

2009-05-19 Thread Helge Hafting
Guenter Milde wrote: On 2009-05-18, Helge Hafting wrote: obregonma...@gmail.com wrote: On Friday 15 May 2009, obregonma...@gmail.com wrote: I want to have a counter (experiment) that uses roman numerals and is sequential throughout the chapters. I figure that a module is the right way about

Re: Using counters

2009-05-18 Thread Guenter Milde
On 2009-05-18, Helge Hafting wrote: > obregonma...@gmail.com wrote: >> On Friday 15 May 2009, obregonma...@gmail.com wrote: >>> I want to have a counter (experiment) that uses roman numerals and >>> is sequential throughout the chapters. I figure that a module is the >>> right way abou

Re: Using counters

2009-05-18 Thread Helge Hafting
es to that internal label will print the experiment's section number. So be careful how you place your labels! I.e. it is possible to reference both experiment numbers and experiment section numbers. The code is hairier than usual, because two counters gets incremented on the same line. Helge Hafting

Re: Using counters

2009-05-17 Thread obregonmateo
On Friday 15 May 2009, obregonma...@gmail.com wrote: > We're getting close! > > On Friday 15 May 2009, Guenter Milde wrote: > > On 2009-05-15, obregonma...@gmail.com wrote: > > > On Friday 15 May 2009, Helge Hafting wrote: > > >> obregonma...@gmail.com wrote: > > > > >> > I want to have a counter

Re: Using counters

2009-05-15 Thread obregonmateo
We're getting close! On Friday 15 May 2009, Guenter Milde wrote: > On 2009-05-15, obregonma...@gmail.com wrote: > > On Friday 15 May 2009, Helge Hafting wrote: > >> obregonma...@gmail.com wrote: > > >> > I want to have a counter (experiment) that uses roman numerals and > >> > is sequential throu

Re: Using counters

2009-05-15 Thread Guenter Milde
On 2009-05-15, obregonma...@gmail.com wrote: > On Friday 15 May 2009, Helge Hafting wrote: >> obregonma...@gmail.com wrote: >> > I want to have a counter (experiment) that uses roman numerals and >> > is sequential throughout the chapters. I figure that a module is the >> > right way about this, s

Re: Using counters

2009-05-15 Thread obregonmateo
he > necessary latex code, once. Instead of having to add it as ERT to > every experiment in your text. > > So when you start a new experiment, you use "experiment-section" instead > of a regular section. I am not sure if you can get LyX to display the > experiment counter

Re: Using counters

2009-05-15 Thread Helge Hafting
ure if you can get LyX to display the experiment counter in the edit window, as incrementing two counters at once is a bit unusual. But it should definitely work for output! As for the actual latex code needed to increment and display the counter, I don't have time to look that up right

Using counters

2009-05-14 Thread obregonmateo
Hi everyone- I've gone through the docs, wikis and examples, and I need a helping hand. I want to have a counter (experiment) that uses roman numerals and is sequential throughout the chapters. I figure that a module is the right way about this, so I have a module with the following counter: C

Re: Counters

2008-09-11 Thread rgheck
remreset package. This allows you to do things like: \makeatletter [EMAIL PROTECTED] \makeatother which will do the sort of thing you want. For the LyX part, if you care about that, you'd have to do something with the counters defined in stdcounters.inc. I'm not quite sure ho

Counters

2008-09-10 Thread Yago
Hello to all. I need to write a book class document (two sides) with a rarely chapters/section numbering. The document have three Parts and Two Apendices. The first Part have Eight Chapters, the second Part have five Chapters and the Part three have also five Chapters. The numbering of the Par

Re: counters

2001-06-15 Thread Herbert Voss
Rodrigo Esteves de Lima-Lopes wrote: > > I got a three pages long table, since I cannot use a float with it, what > is the best sollution for my problem, since it shall appear on tehlist of > tables? have a look at http://www.educat.hu-berlin.de/~voss/lyx/floats/nonFloat.html Herbert -- http

counters

2001-06-15 Thread Rodrigo Esteves de Lima-Lopes
Hi... I got a three pages long table, since I cannot use a float with it, what is the best sollution for my problem, since it shall appear on tehlist of tables? many thanks!!! []s lima-lopes R.E. de Lima-Lopes [EMAIL PROTECTED] GNU/Linux Registered User # 182240