After-preamble with polyglossia

Folsk Pratima folsk0pratima at cock.li
Tue Apr 9 06:55:00 UTC 2024


On Tue, 09 Apr 2024 08:01:03 +0200
"Jürgen Spitzmüller" <jspitzm at gmail.com> wrote:

> Am Dienstag, dem 09.04.2024 um 00:17 +0300 schrieb Folsk Pratima:
> > \addto\captions<my_lanuage>{%
> >   \renewcommand{\figurename}{I LOVE LYX}%
> > }
> > 
> > does not work after \begin{document} and there is no way to put it
> > after \usepackage{polyglossia}. I am enraged!  
> 
> \AtBeginDocument{
>   \addto\captions<my_lanuage>{%
>     \renewcommand{\figurename}{I LOVE LYX}%
>   }
> }
> 

To be very honest I remembered the \AtBeginDocument thing when I cooled
down a bit it the bed :P

Thank you anyway.

Maybe this will be useful for somebody in some distant future...


More information about the lyx-users mailing list