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

2022-10-03 Thread Bernt Lie via lyx-users
Thanks, Daniel

The "clue" was to know that it is under Modules... I tried to search the User's 
Guide, etc., but didn't find the needed help there.

-B

-Original Message-
From: lyx-users  On Behalf Of Daniel CLEMENT 
via lyx-users
Sent: Monday, October 3, 2022 3: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)".
>  
> Currently, all "theorem-like" elements use the same counter, e.g., 
> Examples, 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 exist. so I 
> assume that I mess things up if I create a new "Problem", etc.
>  
> Thanks for help.
>  
> -B

I think it's just a matter of choosing the right "theorems..." module:

document > parameters > modules

Scroll down to the end to see the various "theorems..." options. They are well 
explained, and I guess you should find one that does what you want.

HTH,
--
Daniel CLEMENT
--
lyx-users mailing list
lyx-users@lists.lyx.org
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.lyx.org%2Fmailman%2Flistinfo%2Flyx-usersdata=05%7C01%7CBernt.Lie%40usn.no%7C80f16c3df81246677dfb08daa53fec3c%7Cbc758dd0ab5343729a7ce98a9620862c%7C0%7C0%7C638003991211858136%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7Csdata=j%2BpyDyOO%2FPjx0hVBbQyAZxKooNEDe3by6ouQZVE9nP4%3Dreserved=0
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


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

2022-10-03 Thread Daniel CLEMENT via lyx-users
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)”.
>  
> Currently, all “theorem-like” elements use the same counter, e.g.,
> Examples, 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 exist… so I
> assume that I mess things up if I create a new “Problem”, etc.
>  
> Thanks for help.
>  
> -B

I think it's just a matter of choosing the right "theorems..." module:

document > parameters > modules

Scroll down to the end to see the various "theorems..." options. They
are well explained, and I guess you should find one that does what you
want.

HTH,
-- 
Daniel CLEMENT
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


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-users 
 wrote:
>
> 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.
>
>
>
> 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 I mess things up if I create a new "Problem", etc.
>
>
>
> Thanks for help.
>
>
>
> -B

Hello Bernt,

Note that there are no theorem layouts that are defined in the article class, 
you are probably using a theorem module.

Go to Documents->Settings-Modules and see which module you are using.
What you are looking for is a module that defines the theorems to be numbered 
by type, so for example you can select the Theorems (Numbered By Type) module.

If you also want the theorems to be conutered within another counter (say 
section), then there are also modules for that too.

To get more information about modules, you can read section 3.1.2.3 LyX's 
User's Guide, which can be found in Help->User's Guide.

There are also a few examples for the usage of modules in different sections.

Regards,
Udi
> lyx-users mailing list
> lyx-users@lists.lyx.org
> https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists
> .lyx.org%2Fmailman%2Flistinfo%2Flyx-usersdata=05%7C01%7CBernt.Lie
> %40usn.no%7C84b815e9d5fa48a7aa4208daa53e9846%7Cbc758dd0ab5343729a7ce98
> a9620862c%7C0%7C0%7C638003985503069062%7CUnknown%7CTWFpbGZsb3d8eyJWIjo
> iMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%
> 7C%7Csdata=vtIgP4%2FnLaqIrfg9tJZJnfUMybBGciMpsmQrPjLsE%2Fo%3D
> ;reserved=0
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


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

2022-10-03 Thread Udicoudco
On Mon, Oct 3, 2022 at 2:50 PM Bernt Lie via lyx-users
 wrote:
>
> 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.
>
>
>
> 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 
> I mess things up if I create a new “Problem”, etc.
>
>
>
> Thanks for help.
>
>
>
> -B

Hello Bernt,

Note that there are no theorem layouts that are defined in the article
class, you are probably using a theorem module.

Go to Documents->Settings-Modules and see which module you are using.
What you are looking for is a module that defines the theorems to be
numbered by type, so for example you can select the Theorems (Numbered
By Type) module.

If you also want the theorems to be conutered within another counter
(say section), then there are also modules for that too.

To get more information about modules, you can read section 3.1.2.3
LyX's User's Guide, which can be found in Help->User's Guide.

There are also a few examples for the usage of modules in different sections.

Regards,
Udi
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: insert a url into a lyx/beamer presentation

2022-10-03 Thread Udicoudco
On Mon, Oct 3, 2022 at 2:16 PM Murat Yildizoglu  wrote:
>
>
>
> On 3 October 2022, at 16:54, UD K  wrote:
>
> I tried to insert a url into a lyx/beamer document. I naively thought that 
> all I had to do was click: Insert/url with the cursor at the frame where I 
> waned the url to appear and be clickable.  Unfortunately, all I got was the 
> text of the url, and clicking on it did nothing.
>For some reason I am convinced that Lyx CAN do that, but it failed in my 
> hands.  What am I doing wrong here?
> Thanks,
> Ehud Kaplan
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
>
> Dear Ehud,
> I think that what you are looking for is Insert Hyperlink.
> Best,
> Murat
>

Hi Ehud,

You can find a detailed explanation about ho to inert URLs and
Hyperlinks in section 6.3 of LyX's User's Guide, which you can find in
Help->User's Guide

Best Regards,
Udi
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


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.


  *   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 I 
mess things up if I create a new “Problem”, etc.

Thanks for help.

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


Re: insert a url into a lyx/beamer presentation

2022-10-03 Thread Murat Yildizoglu


> On 3 October 2022, at 16:54, UD K  wrote:
> 
> I tried to insert a url into a lyx/beamer document. I naively thought that 
> all I had to do was click: Insert/url with the cursor at the frame where I 
> waned the url to appear and be clickable.  Unfortunately, all I got was the 
> text of the url, and clicking on it did nothing.  
>For some reason I am convinced that Lyx CAN do that, but it failed in my 
> hands.  What am I doing wrong here?
> Thanks,
> Ehud Kaplan
> 
> -- 
> lyx-users mailing list
> lyx-users@lists.lyx.org 
> http://lists.lyx.org/mailman/listinfo/lyx-users 
> 
Dear Ehud,
I think that what you are looking for is Insert Hyperlink.
Best,
Murat

—

Prof. Murat Yildizoglu

Advisor to the Minister of Education, Youth, and Sports of Cambodia
Expertise France

ទីប្រឹក្សាឯកឧត្តមបណ្ឌិតសភាចារ្យរដ្ឋមន្ត្រីក្រសួងអប់រំ យុវជន និងកីឡា 
(ជំនាញការនៃប្រទេសបារាំង)


On temporary leave from 
University of Bordeaux


#80 Preah Norodom Boulevard
Phnom Penh. Royaume du Cambodge
Telegram: +855 95 732 088

http://yildizoglu.fr 
https://www.linkedin.com/in/murat-yildizoglu-3b810993/ 




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


insert a url into a lyx/beamer presentation

2022-10-03 Thread UD K

  
  
I tried to insert a url
into a
lyx/beamer document. I naively thought that all I had to do was
click: Insert/url with the cursor at the frame where I waned the
url to appear and be clickable.  Unfortunately, all I got was
the text of the url, and clicking on it did nothing.  
   For some reason I
am convinced that Lyx CAN do that, but it failed in my
hands.  What am I doing wrong here?
Thanks,
Ehud Kaplan

  


  

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