Re: signature of pictures

2024-10-10 Thread Jürgen Spitzmüller
Am Donnerstag, dem 10.10.2024 um 13:55 +0200 schrieb Herbert Voss:
> \renewcaptionname{ngerman}{\figurename}{Abb.}
> 
> should do it in short ...

I see, thanks.

For the records, this is a KOMA-Script command, so it does not need to
go after babel (or polyglossia).

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


Re: signature of pictures

2024-10-10 Thread Jürgen Spitzmüller
Am Donnerstag, dem 10.10.2024 um 11:19 +0200 schrieb Andreas Plihal via
lyx-users:
> Please: How can I change the caption under pictures in KOMA books
> from “Abbildung” to “Abb.”?

Considering you are using babel (not polyglossia):

\AddToHook{package/after/babel}{%
  \addto\captionsngerman{\def\figurename{Abb.}}
}

If you use Austrian German, use \captionsnaustrian in the code.

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


Re: signature of pictures

2024-10-10 Thread Herbert Voss




Am 10.10.24 um 13:45 schrieb Jürgen Spitzmüller:

Am Donnerstag, dem 10.10.2024 um 11:19 +0200 schrieb Andreas Plihal via
lyx-users:

Please: How can I change the caption under pictures in KOMA books
from “Abbildung” to “Abb.”?

Considering you are using babel (not polyglossia):

\AddToHook{package/after/babel}{%
   \addto\captionsngerman{\def\figurename{Abb.}}
}

If you use Austrian German, use \captionsnaustrian in the code.


\renewcaptionname{ngerman}{\figurename}{Abb.}

should do it in short ...

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


Re: algorithm in beamer slide?

2024-10-10 Thread Jürgen Spitzmüller
Am Donnerstag, dem 10.10.2024 um 08:56 -0400 schrieb Neal Becker:
> Doesn't seem to work.  I added the local layout as you suggested. 
> Then I tried insert float/algorithm.  I'm guessing this is how I use
> the algorithm?  This gives an error: not in outer par mode.  Am
> I missing something?

Please send a MWE, then I can see what's wrong at your end.

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


Re: algorithm in beamer slide?

2024-10-10 Thread Jürgen Spitzmüller
Am Mittwoch, dem 09.10.2024 um 09:25 -0400 schrieb Neal Becker:
> How do I write an algorithm in a LyX beamer slide?

tl;dr

Put the following in Document > Settings > Local Layout:

Float
Type  algorithm
GuiName   Algorithm
Placement tbp
AllowedPlacement  H
AllowsSideways0
Extension loa
NumberWithin  none
Style plain
ListName  "List of Algorithms"
IsPredefined  true
UsesFloatPkg  false
ListCommand   listofalgorithms
RefPrefix alg
PrettyFormat  "Algorithm ##"
Requires  algorithm2e
End


Actual issue:

It works with the algorithm2e package if "H" placement is used, but our
algorithm2e module for some reason does not offer H. So the local
layout code above creates an algorithm2e float with only H placement
for your use case.

Longer term, we should add this placement option to the module.

HTH
-- 
Jürgen
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: algorithm in beamer slide?

2024-10-10 Thread Neal Becker
Doesn't seem to work.  I added the local layout as you suggested.  Then I
tried insert float/algorithm.  I'm guessing this is how I use the
algorithm?  This gives an error: not in outer par mode.  Am I missing
something?

On Thu, Oct 10, 2024 at 3:09 AM Jürgen Spitzmüller 
wrote:

> Am Mittwoch, dem 09.10.2024 um 09:25 -0400 schrieb Neal Becker:
> > How do I write an algorithm in a LyX beamer slide?
>
> tl;dr
>
> Put the following in Document > Settings > Local Layout:
>
> Float
> Type  algorithm
> GuiName   Algorithm
> Placement tbp
> AllowedPlacement  H
> AllowsSideways0
> Extension loa
> NumberWithin  none
> Style plain
> ListName  "List of Algorithms"
> IsPredefined  true
> UsesFloatPkg  false
> ListCommand   listofalgorithms
> RefPrefix alg
> PrettyFormat  "Algorithm ##"
> Requires  algorithm2e
> End
>
>
> Actual issue:
>
> It works with the algorithm2e package if "H" placement is used, but our
> algorithm2e module for some reason does not offer H. So the local
> layout code above creates an algorithm2e float with only H placement
> for your use case.
>
> Longer term, we should add this placement option to the module.
>
> HTH
> --
> Jürgen
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>


-- 
*Those who don't understand recursion are doomed to repeat it*
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX usage and Tricks

2024-10-10 Thread Pavel Sanda
On Thu, Oct 10, 2024 at 08:21:27AM +0200, Dr Eberhard Lisse wrote:
> I seem to recallat some stage there was an option  ozipping up all
> required files into one archive from within LyX, but can't find it any
> longer or am mistaken.

Export > LyX Archive

The pdf is now also in our wiki
https://wiki.lyx.org/LyX/Tutorials

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


signature of pictures

2024-10-10 Thread Andreas Plihal via lyx-users
Dear community,

 

Please: How can I change the caption under pictures in KOMA books from “Abbildung” to “Abb.”?

 

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


Re: algorithm in beamer slide?

2024-10-10 Thread Jürgen Spitzmüller
Am Donnerstag, dem 10.10.2024 um 10:44 -0400 schrieb Neal Becker:
> Thank you for your help. 
> Please see attached MWE.

Oh, I forgot: You need to check "Custom: Here definitely" either in
Document > Settings > Float Settings > Position on page or in the
settings dialog of the individual float

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


Aw: signature of pictures

2024-10-10 Thread Andreas Plihal via lyx-users
Dear Jürgen und Herbert,

 

thank you very much for your quick and efficient help. Herbert's brief instruction worked immediately. And I was also able to transfer it to the table captions by means of an analog connection.

 

Andreas
 

Gesendet: Donnerstag, 10. Oktober 2024 um 14:57 Uhr
Von: lyx-users-requ...@lists.lyx.org
An: lyx-users@lists.lyx.org
Betreff: lyx-users Digest, Vol 258, Issue 5

Send lyx-users mailing list submissions to
lyx-users@lists.lyx.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.lyx.org/mailman/listinfo/lyx-users
or, via email, send a message with subject or body 'help' to
lyx-users-requ...@lists.lyx.org

You can reach the person managing the list at
lyx-users-ow...@lists.lyx.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of lyx-users digest..."


Today's Topics:

1. signature of pictures (Andreas Plihal)
2. Re: signature of pictures
(=?ISO-8859-1?Q?J=FCrgen_Spitzm=FCller?=)
3. Re: signature of pictures (Herbert Voss)
4. Re: signature of pictures
(=?ISO-8859-1?Q?J=FCrgen_Spitzm=FCller?=)
5. Re: algorithm in beamer slide? (Neal Becker)


--

Message: 1
Date: Thu, 10 Oct 2024 11:19:49 +0200
From: Andreas Plihal 
To: LYX-Support 
Subject: signature of pictures
Message-ID:


Content-Type: text/plain; charset="us-ascii"

An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20241010/6c710472/attachment-0001.html>

--

Message: 2
Date: Thu, 10 Oct 2024 13:45:56 +0200
From: "=?ISO-8859-1?Q?J=FCrgen_Spitzm=FCller?=" 
To: lyx-users@lists.lyx.org
Subject: Re: signature of pictures
Message-ID: <24765cba98337b349d5fb1e1eb400958e770ade4.ca...@lyx.org>
Content-Type: text/plain; charset="UTF-8"

Am Donnerstag, dem 10.10.2024 um 11:19 +0200 schrieb Andreas Plihal via
lyx-users:
> Please: How can I change the caption under pictures in KOMA books
> from ?Abbildung? to ?Abb.??

Considering you are using babel (not polyglossia):

\AddToHook{package/after/babel}{%
\addto\captionsngerman{\def\figurename{Abb.}}
}

If you use Austrian German, use \captionsnaustrian in the code.

--
J?rgen


--

Message: 3
Date: Thu, 10 Oct 2024 13:55:08 +0200
From: Herbert Voss 
To: lyx-users@lists.lyx.org
Subject: Re: signature of pictures
Message-ID: <298a3ed0-bb98-40b7-8801-23a8e1359...@fu-berlin.de>
Content-Type: text/plain; charset=UTF-8; format=flowed




Am 10.10.24 um 13:45 schrieb J?rgen Spitzm?ller:
> Am Donnerstag, dem 10.10.2024 um 11:19 +0200 schrieb Andreas Plihal via
> lyx-users:
>> Please: How can I change the caption under pictures in KOMA books
>> from ?Abbildung? to ?Abb.??
> Considering you are using babel (not polyglossia):
>
> \AddToHook{package/after/babel}{%
> \addto\captionsngerman{\def\figurename{Abb.}}
> }
>
> If you use Austrian German, use \captionsnaustrian in the code.

\renewcaptionname{ngerman}{\figurename}{Abb.}

should do it in short ...

Herbert


--

Message: 4
Date: Thu, 10 Oct 2024 14:23:43 +0200
From: "=?ISO-8859-1?Q?J=FCrgen_Spitzm=FCller?=" 
To: lyx-users@lists.lyx.org
Subject: Re: signature of pictures
Message-ID: 
Content-Type: text/plain; charset="UTF-8"

Am Donnerstag, dem 10.10.2024 um 13:55 +0200 schrieb Herbert Voss:
> \renewcaptionname{ngerman}{\figurename}{Abb.}
>
> should do it in short ...

I see, thanks.

For the records, this is a KOMA-Script command, so it does not need to
go after babel (or polyglossia).

--
J?rgen


--

Message: 5
Date: Thu, 10 Oct 2024 08:56:28 -0400
From: Neal Becker 
To: J?rgen Spitzm?ller 
Cc: lyx-users@lists.lyx.org
Subject: Re: algorithm in beamer slide?
Message-ID:

Content-Type: text/plain; charset="utf-8"

Doesn't seem to work. I added the local layout as you suggested. Then I
tried insert float/algorithm. I'm guessing this is how I use the
algorithm? This gives an error: not in outer par mode. Am I missing
something?

On Thu, Oct 10, 2024 at 3:09?AM J?rgen Spitzm?ller 
wrote:

> Am Mittwoch, dem 09.10.2024 um 09:25 -0400 schrieb Neal Becker:
> > How do I write an algorithm in a LyX beamer slide?
>
> tl;dr
>
> Put the following in Document > Settings > Local Layout:
>
> Float
> Type algorithm
> GuiName Algorithm
> Placement tbp
> AllowedPlacement H
> AllowsSideways 0
> Extension loa
> NumberWithin none
> Style plain
> ListName "List of Algorithms"
> IsPredefined true
> UsesFloatPkg false
> ListCommand listofalgorithms
> RefPrefix alg
> PrettyFormat "Algorithm ##"
> Requires algorithm2e
> End
>
>
> Actual issue:
>
> It works with the algorithm2e package if "H&q

Re: algorithm in beamer slide?

2024-10-10 Thread Neal Becker
On Thu, Oct 10, 2024 at 9:29 AM Jürgen Spitzmüller 
wrote:

> Am Donnerstag, dem 10.10.2024 um 08:56 -0400 schrieb Neal Becker:
> > Doesn't seem to work.  I added the local layout as you suggested.
> > Then I tried insert float/algorithm.  I'm guessing this is how I use
> > the algorithm?  This gives an error: not in outer par mode.  Am
> > I missing something?
>
> Please send a MWE, then I can see what's wrong at your end.
>
Thank you for your help.
Please see attached MWE.


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


Re: LyX usage and Tricks

2024-10-10 Thread A-Imam Al-Sammak
Thank you Pavel for your support.

Imam

On Thu, 10 Oct 2024 at 16:00 Pavel Sanda  wrote:

> On Thu, Oct 10, 2024 at 08:21:27AM +0200, Dr Eberhard Lisse wrote:
> > I seem to recallat some stage there was an option  ozipping up all
> > required files into one archive from within LyX, but can't find it any
> > longer or am mistaken.
>
> Export > LyX Archive
>
> The pdf is now also in our wiki
> https://wiki.lyx.org/LyX/Tutorials
>
> Pavel
> --
> 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