: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)&
, 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
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
> 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
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
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
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
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
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
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
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
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
(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
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
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
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
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
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
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
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
, 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
(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
> 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
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
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
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
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
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
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. :)
>
>
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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?
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
62 matches
Mail list logo