0

This question already has an answer here:

Like you suggest, i fix the minimum working example. When i use the package polyglossia, the Headers/Footers are in Italic for the page that contains the first half theorem.

\documentclass{article}%%% OR dependencies


\usepackage[utf8]{inputenc}
\usepackage[english]{babel}


\usepackage{polyglossia}       
\setmainlanguage[variant=mono]{greek}   
\setotherlanguage{english}    
\setmainfont{Arial}    

\usepackage[Sonny]{fncychap}
\usepackage{amssymb} % maths
\usepackage{amsmath}

\newtheorem{theorem}{Θεώρημα}[section]
\newtheorem{lemma}{Λήμμα}[section]
\newtheorem{definition}{Ορισμός}[section]
\newtheorem{claim}{Ισχυρισμός}[section]
\newtheorem{guess}{Εικασία}[section]

\usepackage{fancyhdr}

\pagestyle{fancy}
\fancyhead[R]{}
\fancyhead[C]{}
\fancyhead[L]{\fontsize{8pt}{9.6pt}\selectfont HEAD}
\fancyfoot[R]{\fontsize{10pt}{12pt}\selectfont PAGE}
\fancyfoot[C]{}
\fancyfoot[L]{\fontsize{8pt}{9.6pt}\selectfont FOOT}
\renewcommand{\headrulewidth}{0pt}


\begin{document}

\pagestyle{fancy}
\newpage
\begin{guess}
\label{first_claim}
Text first Page $k+1$,\newpage test second page.
\end{guess} 

\end{document}

marked as duplicate by Johannes_B, Bobyandbob, Sebastiano, Schweinebacke, Stefan Pinnow Jul 13 '18 at 8:03

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    Questions seeking debugging help ("why isn't this code working?") must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Questions without a clear problem statement are not useful to other readers. See minimal working example (MWE). – Henri Menke Jul 12 '18 at 3:25
  • @HenriMenke thank you for show me how to locate my problem. – MeanTsaki Jul 12 '18 at 4:19
  • You need to post compilable code, so our computer can reproduce your outut. Just by looking at one line, we cannot fix the cause. – Johannes_B Jul 12 '18 at 4:22
  • Please tell us how the guess environment is defined, and do please tell us which package you load to define theorem-like environments. Which LaTeX format do you employ? Which text fonts do you employ? Aside: Why is there a page break inside the guess environment? How long do these guesses tend to be? Basically, please provide all information needed to generate the issue you need to fix. – Mico Jul 12 '18 at 4:34
  • i used asmthm for guess environment - header and footer are not in italic check it. – Mu30 murugans2katgmail Jul 12 '18 at 4:37
0

After the help on the comments, i locate the problem. There was already another question with a working answear XeLaTeX + polyglossia + Russian or Greek = page number in italics.

Not the answer you're looking for? Browse other questions tagged or ask your own question.