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
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 <a.pli...@gmx.at>
To: LYX-Support <lyx-users@lists.lyx.org>
Subject: signature of pictures
Message-ID:
<trinity-e5b46583-dea8-46b6-9c0e-6f81a1302faa-1728551989918@3c-app-gmx-bs49>
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?=" <jspi...@gmail.com>
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 <herbert.v...@fu-berlin.de>
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?=" <jspi...@gmail.com>
To: lyx-users@lists.lyx.org
Subject: Re: signature of pictures
Message-ID: <cb4b7c27e6b3143a5086ab8aa9e4392b665bf63f.ca...@lyx.org>
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 <ndbeck...@gmail.com>
To: J?rgen Spitzm?ller <jspi...@gmail.com>
Cc: lyx-users@lists.lyx.org
Subject: Re: algorithm in beamer slide?
Message-ID:
<CAG3t+pFHPaAFOPGOZVnUWZb=90rceisg40wrvzcekwwmcs0...@mail.gmail.com>
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 <jspi...@gmail.com>
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" 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*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20241010/0f905a77/attachment.html>
------------------------------
Subject: Digest Footer
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users
------------------------------
End of lyx-users Digest, Vol 258, Issue 5
*****************************************
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 <a.pli...@gmx.at>
To: LYX-Support <lyx-users@lists.lyx.org>
Subject: signature of pictures
Message-ID:
<trinity-e5b46583-dea8-46b6-9c0e-6f81a1302faa-1728551989918@3c-app-gmx-bs49>
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?=" <jspi...@gmail.com>
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 <herbert.v...@fu-berlin.de>
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?=" <jspi...@gmail.com>
To: lyx-users@lists.lyx.org
Subject: Re: signature of pictures
Message-ID: <cb4b7c27e6b3143a5086ab8aa9e4392b665bf63f.ca...@lyx.org>
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 <ndbeck...@gmail.com>
To: J?rgen Spitzm?ller <jspi...@gmail.com>
Cc: lyx-users@lists.lyx.org
Subject: Re: algorithm in beamer slide?
Message-ID:
<CAG3t+pFHPaAFOPGOZVnUWZb=90rceisg40wrvzcekwwmcs0...@mail.gmail.com>
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 <jspi...@gmail.com>
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" 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*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20241010/0f905a77/attachment.html>
------------------------------
Subject: Digest Footer
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users
------------------------------
End of lyx-users Digest, Vol 258, Issue 5
*****************************************
-- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users