It happens in book and article document classes.

I've tried \normalfont, but it stayed the same. What did help was "
 \fancyfoot[C]{\textup{\thepage}}".
I guess polyglossia somehow disables some of the text style commands, or
replaces them with others?


On Thu, Sep 12, 2013 at 4:34 PM, Richard Heck <rgh...@lyx.org> wrote:

>  On 09/12/2013 09:16 AM, Itai Shaked wrote:
>
> I haven't changed anything in fancy headers.
>
>  It happens with "plain", "fancy" and "headings" page styles (though with
> "headings" it is the page number on the top of the page that is changed,
> i.e. - not within the environment itself).
>
>  How do I redefine the way page numbers are printed?
>
>
> Use the fancy header package. There's info about how to do it in the LyX
> docs, or you can find the fancy header manual online. Something like:
>     \fancyfoot[C]{\normalfont{\thepage}}
> should come close to what you want.
>
> If you didn't want to use that, in principle, you could redefine the page
> style, or define your own page style. Which document class?
>
> Richard
>
>
>
>
> On Thu, Sep 12, 2013 at 4:11 PM, Richard Heck <rgh...@lyx.org> wrote:
>
>>  On 09/12/2013 04:52 AM, Itai Shaked wrote:
>>
>>> Hello,
>>> I'm having a problem, which I'm not sure is due to LyX, but I would
>>> appreciate it if any one here could help me.
>>>
>>> When writing a document in LyX and using XeTeX and polyglossia I have
>>> noticed some of the page numbers were in different font than others. Upon
>>> further investigation I have found out that whenever an environment (e.g.
>>> Theorem, Lemma, etc.) spans a page break, the page number within would use
>>> the font used in that environment (so - the specific number would be
>>> italic, like a text of a Theorem environment).
>>>
>>> This only happens when using non-English language.
>>>
>>> Would this be a bug in LyX or polyglossia?
>>> How would you go further investigating or repairing it?
>>>
>>
>>  That is very strange. It is definitely not a LyX bug.
>>
>> I guess the thing to do is to redefine how the page number is being
>> printed. What page style are you using? Did you do anything with the fancy
>> headers business?
>>
>> Richard
>>
>>
>
>

Reply via email to