Why I cant see italic font at the header?












2















I try to put italic text at the header - at the body of the document it's works fine, but at the header I can't see the italic font.

Here is MWE:



    % Preview source code

%% LyX 2.3.2-2 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
documentclass[a4paper,english,hebrew,numbers=noenddot]{scrartcl}
usepackage{fontspec}
usepackage{fancyhdr}
pagestyle{fancy}
setlength{parindent}{0bp}

makeatletter

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
pdfpageheightpaperheight
pdfpagewidthpaperwidth


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
newfontfamilyhebrewfont[Script=Hebrew]{David CLM}
newfontfamilyhebrewfonttt[Script=Hebrew]{Miriam Mono CLM}
newfontfamilyhebrewfontsf[Script=Hebrew]{Simple CLM}
AtBeginDocument{
renewcommandfootnoterule{%
kern -3pt
hbox to textwidth{hfillvrule height 0.4pt width .4textwidth}
kern 2.6pt
}}
renewcommand{labelenumii}{labelenumiarabic{enumii}.}
lhead{aaemph{aa}}

makeatother

usepackage{polyglossia}
setdefaultlanguage{hebrew}
setotherlanguage{english}
begin{document}
begin{english}[variant=american]%
aaemph{aa}
end{english}%

end{document}


The output is:
enter image description here



Do you know how can I fix it?



Thank you!










share|improve this question























  • The header and text fonts are different. The text font appears to be Computer Modern; I'm not sure about the font in the header, but since it's different, it may also go by different rules for handling emph.

    – barbara beeton
    4 hours ago
















2















I try to put italic text at the header - at the body of the document it's works fine, but at the header I can't see the italic font.

Here is MWE:



    % Preview source code

%% LyX 2.3.2-2 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
documentclass[a4paper,english,hebrew,numbers=noenddot]{scrartcl}
usepackage{fontspec}
usepackage{fancyhdr}
pagestyle{fancy}
setlength{parindent}{0bp}

makeatletter

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
pdfpageheightpaperheight
pdfpagewidthpaperwidth


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
newfontfamilyhebrewfont[Script=Hebrew]{David CLM}
newfontfamilyhebrewfonttt[Script=Hebrew]{Miriam Mono CLM}
newfontfamilyhebrewfontsf[Script=Hebrew]{Simple CLM}
AtBeginDocument{
renewcommandfootnoterule{%
kern -3pt
hbox to textwidth{hfillvrule height 0.4pt width .4textwidth}
kern 2.6pt
}}
renewcommand{labelenumii}{labelenumiarabic{enumii}.}
lhead{aaemph{aa}}

makeatother

usepackage{polyglossia}
setdefaultlanguage{hebrew}
setotherlanguage{english}
begin{document}
begin{english}[variant=american]%
aaemph{aa}
end{english}%

end{document}


The output is:
enter image description here



Do you know how can I fix it?



Thank you!










share|improve this question























  • The header and text fonts are different. The text font appears to be Computer Modern; I'm not sure about the font in the header, but since it's different, it may also go by different rules for handling emph.

    – barbara beeton
    4 hours ago














2












2








2








I try to put italic text at the header - at the body of the document it's works fine, but at the header I can't see the italic font.

Here is MWE:



    % Preview source code

%% LyX 2.3.2-2 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
documentclass[a4paper,english,hebrew,numbers=noenddot]{scrartcl}
usepackage{fontspec}
usepackage{fancyhdr}
pagestyle{fancy}
setlength{parindent}{0bp}

makeatletter

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
pdfpageheightpaperheight
pdfpagewidthpaperwidth


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
newfontfamilyhebrewfont[Script=Hebrew]{David CLM}
newfontfamilyhebrewfonttt[Script=Hebrew]{Miriam Mono CLM}
newfontfamilyhebrewfontsf[Script=Hebrew]{Simple CLM}
AtBeginDocument{
renewcommandfootnoterule{%
kern -3pt
hbox to textwidth{hfillvrule height 0.4pt width .4textwidth}
kern 2.6pt
}}
renewcommand{labelenumii}{labelenumiarabic{enumii}.}
lhead{aaemph{aa}}

makeatother

usepackage{polyglossia}
setdefaultlanguage{hebrew}
setotherlanguage{english}
begin{document}
begin{english}[variant=american]%
aaemph{aa}
end{english}%

end{document}


The output is:
enter image description here



Do you know how can I fix it?



Thank you!










share|improve this question














I try to put italic text at the header - at the body of the document it's works fine, but at the header I can't see the italic font.

Here is MWE:



    % Preview source code

%% LyX 2.3.2-2 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
documentclass[a4paper,english,hebrew,numbers=noenddot]{scrartcl}
usepackage{fontspec}
usepackage{fancyhdr}
pagestyle{fancy}
setlength{parindent}{0bp}

makeatletter

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
pdfpageheightpaperheight
pdfpagewidthpaperwidth


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
newfontfamilyhebrewfont[Script=Hebrew]{David CLM}
newfontfamilyhebrewfonttt[Script=Hebrew]{Miriam Mono CLM}
newfontfamilyhebrewfontsf[Script=Hebrew]{Simple CLM}
AtBeginDocument{
renewcommandfootnoterule{%
kern -3pt
hbox to textwidth{hfillvrule height 0.4pt width .4textwidth}
kern 2.6pt
}}
renewcommand{labelenumii}{labelenumiarabic{enumii}.}
lhead{aaemph{aa}}

makeatother

usepackage{polyglossia}
setdefaultlanguage{hebrew}
setotherlanguage{english}
begin{document}
begin{english}[variant=american]%
aaemph{aa}
end{english}%

end{document}


The output is:
enter image description here



Do you know how can I fix it?



Thank you!







header-footer lyx koma-script hebrew






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 5 hours ago









heblyxheblyx

830919




830919













  • The header and text fonts are different. The text font appears to be Computer Modern; I'm not sure about the font in the header, but since it's different, it may also go by different rules for handling emph.

    – barbara beeton
    4 hours ago



















  • The header and text fonts are different. The text font appears to be Computer Modern; I'm not sure about the font in the header, but since it's different, it may also go by different rules for handling emph.

    – barbara beeton
    4 hours ago

















The header and text fonts are different. The text font appears to be Computer Modern; I'm not sure about the font in the header, but since it's different, it may also go by different rules for handling emph.

– barbara beeton
4 hours ago





The header and text fonts are different. The text font appears to be Computer Modern; I'm not sure about the font in the header, but since it's different, it may also go by different rules for handling emph.

– barbara beeton
4 hours ago










3 Answers
3






active

oldest

votes


















3














For some reason, David CLM does not seem to contain Latin glyphs with an Italic shape. As an additional oddity Miriam Mono CLM slants in the opposite way to the other two fonts.



In your question, you have set the default language to Hebrew and the default font to David CLM. So this is what you get in your header. If you want English in your header and the default English font of Latin Modern Roman, you could use: lhead{textenglish{aaemph{aa}}}, but then you won't get Hebrew if you want it of course.



Also, note that scrartcl gives a warning not to use fancyhdr with this class. KOMA-Script has its own way of customising headers and footers.



Have a look at this test to see what is going on:



documentclass{article}
usepackage{polyglossia}
setdefaultlanguage{hebrew}
newfontfamilyhebrewfont{David CLM}[Script=Hebrew]
newfontfamilyhebrewfonttt{Miriam Mono CLM}[Script=Hebrew]
newfontfamilyhebrewfontsf{Simple CLM}[Script=Hebrew]
begin{document}
LR{David CLM}
medskip

עברית LR{Latin (Upright)}

{itshape עברית LR{Latin (Italic)}}

{bfseries עברית LR{Latin (Bold)}}

{bfseriesitshape עברית LR{Latin (Bold Italic)}}

bigskip
sffamily
LR{Simple CLM}
medskip

עברית LR{Latin (Upright)}

{itshape עברית LR{Latin (Italic)}}

{bfseries עברית LR{Latin (Bold)}}

{bfseriesitshape עברית LR{Latin (Bold Italic)}}

bigskip
ttfamily
LR{Miriam Mono CLM}
medskip

עברית LR{Latin (Upright)}

{itshape עברית LR{Latin (Italic)}}

{bfseries עברית LR{Latin (Bold)}}

{bfseriesitshape עברית LR{Latin (Bold Italic)}}
end{document}


output






share|improve this answer

































    0














    Try this:



    lhead{textit{aaemph{aa}}}



    textit is to command to put text in italic.






    share|improve this answer








    New contributor




    Vinccool96 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





















    • why would you make a text italic which is already emphasised? May be could you add a complete solution if possible?

      – Raaja
      5 hours ago













    • Emphasis depends of how the text is. It will now be in bold.

      – Vinccool96
      4 hours ago











    • I am not sure about that. Please check tex.stackexchange.com/questions/1980/emph-or-textit

      – Raaja
      4 hours ago






    • 1





      Did you actually check this? I do not think it works.

      – David Purton
      27 mins ago



















    0














    I've compiled using your source code. The solution is:
    you can change the family font using in header.



    a) try this line:



    lhead{textrm{ aaemph{aa}}}


    the textrm is to set serif (roman).



    b) you can use textsf to set sans serif family, try this line:



    lhead{textrm{ aaemph{aa}}}


    c) you can use texttt to set typewriter (monospace) family, try this line:



    lhead{texttt{ aaemph{aa}}}





    share|improve this answer





















    • 1





      Are you sure textrm works? It does not work for me and I wouldn't expect different output since this is the default font family in use. The other two do work, but this changes the font which the OP might not want.

      – David Purton
      23 mins ago











    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "85"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f477952%2fwhy-i-cant-see-italic-font-at-the-header%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    3














    For some reason, David CLM does not seem to contain Latin glyphs with an Italic shape. As an additional oddity Miriam Mono CLM slants in the opposite way to the other two fonts.



    In your question, you have set the default language to Hebrew and the default font to David CLM. So this is what you get in your header. If you want English in your header and the default English font of Latin Modern Roman, you could use: lhead{textenglish{aaemph{aa}}}, but then you won't get Hebrew if you want it of course.



    Also, note that scrartcl gives a warning not to use fancyhdr with this class. KOMA-Script has its own way of customising headers and footers.



    Have a look at this test to see what is going on:



    documentclass{article}
    usepackage{polyglossia}
    setdefaultlanguage{hebrew}
    newfontfamilyhebrewfont{David CLM}[Script=Hebrew]
    newfontfamilyhebrewfonttt{Miriam Mono CLM}[Script=Hebrew]
    newfontfamilyhebrewfontsf{Simple CLM}[Script=Hebrew]
    begin{document}
    LR{David CLM}
    medskip

    עברית LR{Latin (Upright)}

    {itshape עברית LR{Latin (Italic)}}

    {bfseries עברית LR{Latin (Bold)}}

    {bfseriesitshape עברית LR{Latin (Bold Italic)}}

    bigskip
    sffamily
    LR{Simple CLM}
    medskip

    עברית LR{Latin (Upright)}

    {itshape עברית LR{Latin (Italic)}}

    {bfseries עברית LR{Latin (Bold)}}

    {bfseriesitshape עברית LR{Latin (Bold Italic)}}

    bigskip
    ttfamily
    LR{Miriam Mono CLM}
    medskip

    עברית LR{Latin (Upright)}

    {itshape עברית LR{Latin (Italic)}}

    {bfseries עברית LR{Latin (Bold)}}

    {bfseriesitshape עברית LR{Latin (Bold Italic)}}
    end{document}


    output






    share|improve this answer






























      3














      For some reason, David CLM does not seem to contain Latin glyphs with an Italic shape. As an additional oddity Miriam Mono CLM slants in the opposite way to the other two fonts.



      In your question, you have set the default language to Hebrew and the default font to David CLM. So this is what you get in your header. If you want English in your header and the default English font of Latin Modern Roman, you could use: lhead{textenglish{aaemph{aa}}}, but then you won't get Hebrew if you want it of course.



      Also, note that scrartcl gives a warning not to use fancyhdr with this class. KOMA-Script has its own way of customising headers and footers.



      Have a look at this test to see what is going on:



      documentclass{article}
      usepackage{polyglossia}
      setdefaultlanguage{hebrew}
      newfontfamilyhebrewfont{David CLM}[Script=Hebrew]
      newfontfamilyhebrewfonttt{Miriam Mono CLM}[Script=Hebrew]
      newfontfamilyhebrewfontsf{Simple CLM}[Script=Hebrew]
      begin{document}
      LR{David CLM}
      medskip

      עברית LR{Latin (Upright)}

      {itshape עברית LR{Latin (Italic)}}

      {bfseries עברית LR{Latin (Bold)}}

      {bfseriesitshape עברית LR{Latin (Bold Italic)}}

      bigskip
      sffamily
      LR{Simple CLM}
      medskip

      עברית LR{Latin (Upright)}

      {itshape עברית LR{Latin (Italic)}}

      {bfseries עברית LR{Latin (Bold)}}

      {bfseriesitshape עברית LR{Latin (Bold Italic)}}

      bigskip
      ttfamily
      LR{Miriam Mono CLM}
      medskip

      עברית LR{Latin (Upright)}

      {itshape עברית LR{Latin (Italic)}}

      {bfseries עברית LR{Latin (Bold)}}

      {bfseriesitshape עברית LR{Latin (Bold Italic)}}
      end{document}


      output






      share|improve this answer




























        3












        3








        3







        For some reason, David CLM does not seem to contain Latin glyphs with an Italic shape. As an additional oddity Miriam Mono CLM slants in the opposite way to the other two fonts.



        In your question, you have set the default language to Hebrew and the default font to David CLM. So this is what you get in your header. If you want English in your header and the default English font of Latin Modern Roman, you could use: lhead{textenglish{aaemph{aa}}}, but then you won't get Hebrew if you want it of course.



        Also, note that scrartcl gives a warning not to use fancyhdr with this class. KOMA-Script has its own way of customising headers and footers.



        Have a look at this test to see what is going on:



        documentclass{article}
        usepackage{polyglossia}
        setdefaultlanguage{hebrew}
        newfontfamilyhebrewfont{David CLM}[Script=Hebrew]
        newfontfamilyhebrewfonttt{Miriam Mono CLM}[Script=Hebrew]
        newfontfamilyhebrewfontsf{Simple CLM}[Script=Hebrew]
        begin{document}
        LR{David CLM}
        medskip

        עברית LR{Latin (Upright)}

        {itshape עברית LR{Latin (Italic)}}

        {bfseries עברית LR{Latin (Bold)}}

        {bfseriesitshape עברית LR{Latin (Bold Italic)}}

        bigskip
        sffamily
        LR{Simple CLM}
        medskip

        עברית LR{Latin (Upright)}

        {itshape עברית LR{Latin (Italic)}}

        {bfseries עברית LR{Latin (Bold)}}

        {bfseriesitshape עברית LR{Latin (Bold Italic)}}

        bigskip
        ttfamily
        LR{Miriam Mono CLM}
        medskip

        עברית LR{Latin (Upright)}

        {itshape עברית LR{Latin (Italic)}}

        {bfseries עברית LR{Latin (Bold)}}

        {bfseriesitshape עברית LR{Latin (Bold Italic)}}
        end{document}


        output






        share|improve this answer















        For some reason, David CLM does not seem to contain Latin glyphs with an Italic shape. As an additional oddity Miriam Mono CLM slants in the opposite way to the other two fonts.



        In your question, you have set the default language to Hebrew and the default font to David CLM. So this is what you get in your header. If you want English in your header and the default English font of Latin Modern Roman, you could use: lhead{textenglish{aaemph{aa}}}, but then you won't get Hebrew if you want it of course.



        Also, note that scrartcl gives a warning not to use fancyhdr with this class. KOMA-Script has its own way of customising headers and footers.



        Have a look at this test to see what is going on:



        documentclass{article}
        usepackage{polyglossia}
        setdefaultlanguage{hebrew}
        newfontfamilyhebrewfont{David CLM}[Script=Hebrew]
        newfontfamilyhebrewfonttt{Miriam Mono CLM}[Script=Hebrew]
        newfontfamilyhebrewfontsf{Simple CLM}[Script=Hebrew]
        begin{document}
        LR{David CLM}
        medskip

        עברית LR{Latin (Upright)}

        {itshape עברית LR{Latin (Italic)}}

        {bfseries עברית LR{Latin (Bold)}}

        {bfseriesitshape עברית LR{Latin (Bold Italic)}}

        bigskip
        sffamily
        LR{Simple CLM}
        medskip

        עברית LR{Latin (Upright)}

        {itshape עברית LR{Latin (Italic)}}

        {bfseries עברית LR{Latin (Bold)}}

        {bfseriesitshape עברית LR{Latin (Bold Italic)}}

        bigskip
        ttfamily
        LR{Miriam Mono CLM}
        medskip

        עברית LR{Latin (Upright)}

        {itshape עברית LR{Latin (Italic)}}

        {bfseries עברית LR{Latin (Bold)}}

        {bfseriesitshape עברית LR{Latin (Bold Italic)}}
        end{document}


        output







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 1 hour ago

























        answered 1 hour ago









        David PurtonDavid Purton

        10.3k2937




        10.3k2937























            0














            Try this:



            lhead{textit{aaemph{aa}}}



            textit is to command to put text in italic.






            share|improve this answer








            New contributor




            Vinccool96 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.





















            • why would you make a text italic which is already emphasised? May be could you add a complete solution if possible?

              – Raaja
              5 hours ago













            • Emphasis depends of how the text is. It will now be in bold.

              – Vinccool96
              4 hours ago











            • I am not sure about that. Please check tex.stackexchange.com/questions/1980/emph-or-textit

              – Raaja
              4 hours ago






            • 1





              Did you actually check this? I do not think it works.

              – David Purton
              27 mins ago
















            0














            Try this:



            lhead{textit{aaemph{aa}}}



            textit is to command to put text in italic.






            share|improve this answer








            New contributor




            Vinccool96 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.





















            • why would you make a text italic which is already emphasised? May be could you add a complete solution if possible?

              – Raaja
              5 hours ago













            • Emphasis depends of how the text is. It will now be in bold.

              – Vinccool96
              4 hours ago











            • I am not sure about that. Please check tex.stackexchange.com/questions/1980/emph-or-textit

              – Raaja
              4 hours ago






            • 1





              Did you actually check this? I do not think it works.

              – David Purton
              27 mins ago














            0












            0








            0







            Try this:



            lhead{textit{aaemph{aa}}}



            textit is to command to put text in italic.






            share|improve this answer








            New contributor




            Vinccool96 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.










            Try this:



            lhead{textit{aaemph{aa}}}



            textit is to command to put text in italic.







            share|improve this answer








            New contributor




            Vinccool96 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.









            share|improve this answer



            share|improve this answer






            New contributor




            Vinccool96 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.









            answered 5 hours ago









            Vinccool96Vinccool96

            237




            237




            New contributor




            Vinccool96 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.





            New contributor





            Vinccool96 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.






            Vinccool96 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.













            • why would you make a text italic which is already emphasised? May be could you add a complete solution if possible?

              – Raaja
              5 hours ago













            • Emphasis depends of how the text is. It will now be in bold.

              – Vinccool96
              4 hours ago











            • I am not sure about that. Please check tex.stackexchange.com/questions/1980/emph-or-textit

              – Raaja
              4 hours ago






            • 1





              Did you actually check this? I do not think it works.

              – David Purton
              27 mins ago



















            • why would you make a text italic which is already emphasised? May be could you add a complete solution if possible?

              – Raaja
              5 hours ago













            • Emphasis depends of how the text is. It will now be in bold.

              – Vinccool96
              4 hours ago











            • I am not sure about that. Please check tex.stackexchange.com/questions/1980/emph-or-textit

              – Raaja
              4 hours ago






            • 1





              Did you actually check this? I do not think it works.

              – David Purton
              27 mins ago

















            why would you make a text italic which is already emphasised? May be could you add a complete solution if possible?

            – Raaja
            5 hours ago







            why would you make a text italic which is already emphasised? May be could you add a complete solution if possible?

            – Raaja
            5 hours ago















            Emphasis depends of how the text is. It will now be in bold.

            – Vinccool96
            4 hours ago





            Emphasis depends of how the text is. It will now be in bold.

            – Vinccool96
            4 hours ago













            I am not sure about that. Please check tex.stackexchange.com/questions/1980/emph-or-textit

            – Raaja
            4 hours ago





            I am not sure about that. Please check tex.stackexchange.com/questions/1980/emph-or-textit

            – Raaja
            4 hours ago




            1




            1





            Did you actually check this? I do not think it works.

            – David Purton
            27 mins ago





            Did you actually check this? I do not think it works.

            – David Purton
            27 mins ago











            0














            I've compiled using your source code. The solution is:
            you can change the family font using in header.



            a) try this line:



            lhead{textrm{ aaemph{aa}}}


            the textrm is to set serif (roman).



            b) you can use textsf to set sans serif family, try this line:



            lhead{textrm{ aaemph{aa}}}


            c) you can use texttt to set typewriter (monospace) family, try this line:



            lhead{texttt{ aaemph{aa}}}





            share|improve this answer





















            • 1





              Are you sure textrm works? It does not work for me and I wouldn't expect different output since this is the default font family in use. The other two do work, but this changes the font which the OP might not want.

              – David Purton
              23 mins ago
















            0














            I've compiled using your source code. The solution is:
            you can change the family font using in header.



            a) try this line:



            lhead{textrm{ aaemph{aa}}}


            the textrm is to set serif (roman).



            b) you can use textsf to set sans serif family, try this line:



            lhead{textrm{ aaemph{aa}}}


            c) you can use texttt to set typewriter (monospace) family, try this line:



            lhead{texttt{ aaemph{aa}}}





            share|improve this answer





















            • 1





              Are you sure textrm works? It does not work for me and I wouldn't expect different output since this is the default font family in use. The other two do work, but this changes the font which the OP might not want.

              – David Purton
              23 mins ago














            0












            0








            0







            I've compiled using your source code. The solution is:
            you can change the family font using in header.



            a) try this line:



            lhead{textrm{ aaemph{aa}}}


            the textrm is to set serif (roman).



            b) you can use textsf to set sans serif family, try this line:



            lhead{textrm{ aaemph{aa}}}


            c) you can use texttt to set typewriter (monospace) family, try this line:



            lhead{texttt{ aaemph{aa}}}





            share|improve this answer















            I've compiled using your source code. The solution is:
            you can change the family font using in header.



            a) try this line:



            lhead{textrm{ aaemph{aa}}}


            the textrm is to set serif (roman).



            b) you can use textsf to set sans serif family, try this line:



            lhead{textrm{ aaemph{aa}}}


            c) you can use texttt to set typewriter (monospace) family, try this line:



            lhead{texttt{ aaemph{aa}}}






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited 4 hours ago

























            answered 4 hours ago









            Rogelio PrietoRogelio Prieto

            11




            11








            • 1





              Are you sure textrm works? It does not work for me and I wouldn't expect different output since this is the default font family in use. The other two do work, but this changes the font which the OP might not want.

              – David Purton
              23 mins ago














            • 1





              Are you sure textrm works? It does not work for me and I wouldn't expect different output since this is the default font family in use. The other two do work, but this changes the font which the OP might not want.

              – David Purton
              23 mins ago








            1




            1





            Are you sure textrm works? It does not work for me and I wouldn't expect different output since this is the default font family in use. The other two do work, but this changes the font which the OP might not want.

            – David Purton
            23 mins ago





            Are you sure textrm works? It does not work for me and I wouldn't expect different output since this is the default font family in use. The other two do work, but this changes the font which the OP might not want.

            – David Purton
            23 mins ago


















            draft saved

            draft discarded




















































            Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f477952%2fwhy-i-cant-see-italic-font-at-the-header%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Plaza Victoria

            Puebla de Zaragoza

            Musa