Thanks!

I tried putting:  \thispagestyle{empty}
as a preamble and as an ERT. I still get the page number.

Thanks!

Blake




On Fri, May 2, 2025 at 1:34 PM Ricardo Berlasso <rgb.m...@gmail.com> wrote:

>
> El vie, 2 may 2025 a las 18:30, Blake McBride (<blake1...@gmail.com>)
> escribió:
>
>> Hello,
>>
>> I am using LyX 2.4.3 on a Linux machine.  I have Document / Page Layout /
>> Page Style set to "empty" and Document Class set to "Article (Standard
>> Class)" but when I generate the document, it still shows a page number.  I
>> even tried adding a LaTeX command to get rid of the page number.  Nothing
>> worked.  I am attaching the short document to this email.
>>
>> Sure appreciate any help.
>>
>
> Hi,
>
> When you set the page style as Empty on the page layout, you're setting
> the "body text" page style, which is different from the "first page" style
> and from all the other styles. In fact, if you add more text to your
> document in order to get a second page, that second page won't show a page
> number. Now, the first page of a section, chapter, part, etc., use special
> page styles that need to be changed individually. A quick fix to your
> "first page problem" goes as follows:
>
> - at the beginning of the page, press Ctrl-L to open a TeX code inset
> - inside it write \thispagestyle{empty}
> - compile your document
>
> For a more "formal" solution, you need to dig into the creation/editing of
> page styles, which is a very long story... ;)
>
> Regards,
> Ricardo
>
>
>>
>> Thanks!
>>
>> Blake McBride
>>
>> --
>> lyx-users mailing list
>> lyx-users@lists.lyx.org
>> https://lists.lyx.org/mailman/listinfo/lyx-users
>>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> https://lists.lyx.org/mailman/listinfo/lyx-users
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to