Why I cant see italic font at the header?emph or textitKOMA-Script: “bad” italic in page headerHeader...
Why do members of Congress in committee hearings ask witnesses the same question multiple times?
What are all the squawk codes?
Calculating Hyperbolic Sin faster than using a standard power series
Test pad's ESD protection
Why are special aircraft used for the carriers in the United States Navy?
Borrowing Characters
Is there a frame of reference in which I was born before I was conceived?
Called into a meeting and told we are being made redundant (laid off) and "not to share outside". Can I tell my partner?
Levi-Civita symbol: 3D matrix
What is better: yes / no radio, or simple checkbox?
How to kill a localhost:8080
Are paired adjectives bad style?
Skis versus snow shoes - when to choose which for travelling the backcountry?
Plagiarism of code by other PhD student
Wrap all numerics in JSON with quotes
Is there a full canon version of Tyrion's jackass/honeycomb joke?
What should the omniscient narrator call a character?
Book about a time-travel war fought by computers
Is there any relevance to Thor getting his hair cut other than comedic value?
Is divide-by-zero a security vulnerability?
Where is the line between being obedient and getting bullied by a boss?
Citing contemporaneous (interlaced?) preprints
Can throughput exceed the bandwidth of a network
Why can't we make a perpetual motion machine by using a magnet to pull up a piece of metal, then letting it fall back down?
Why I cant see italic font at the header?
emph or textitKOMA-Script: “bad” italic in page headerHeader font in LyXitalic font in LyX?left justified bold and not italic headerRemove header from the page after TOC and LOFReduce the font size of the headerKOMA Script: Why does footsepline=false influence the header margin?Header number overlapping the header textWhy is there no header?How to change the text of 'see' and 'seealso'
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:
Do you know how can I fix it?
Thank you!
header-footer lyx koma-script hebrew
add a comment |
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:
Do you know how can I fix it?
Thank you!
header-footer lyx koma-script hebrew
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 handlingemph
.
– barbara beeton
4 hours ago
add a comment |
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:
Do you know how can I fix it?
Thank you!
header-footer lyx koma-script hebrew
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:
Do you know how can I fix it?
Thank you!
header-footer lyx koma-script hebrew
header-footer lyx koma-script hebrew
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 handlingemph
.
– barbara beeton
4 hours ago
add a comment |
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 handlingemph
.
– 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
add a comment |
3 Answers
3
active
oldest
votes
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}
add a comment |
Try this:
lhead{textit{aaemph{aa}}}
textit
is to command to put text in italic.
New contributor
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
24 mins ago
add a comment |
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}}}
1
Are you suretextrm
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
20 mins ago
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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}
add a comment |
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}
add a comment |
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}
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}
edited 1 hour ago
answered 1 hour ago
David PurtonDavid Purton
10.3k2937
10.3k2937
add a comment |
add a comment |
Try this:
lhead{textit{aaemph{aa}}}
textit
is to command to put text in italic.
New contributor
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
24 mins ago
add a comment |
Try this:
lhead{textit{aaemph{aa}}}
textit
is to command to put text in italic.
New contributor
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
24 mins ago
add a comment |
Try this:
lhead{textit{aaemph{aa}}}
textit
is to command to put text in italic.
New contributor
Try this:
lhead{textit{aaemph{aa}}}
textit
is to command to put text in italic.
New contributor
New contributor
answered 5 hours ago
Vinccool96Vinccool96
237
237
New contributor
New contributor
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
24 mins ago
add a comment |
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
24 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
24 mins ago
Did you actually check this? I do not think it works.
– David Purton
24 mins ago
add a comment |
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}}}
1
Are you suretextrm
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
20 mins ago
add a comment |
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}}}
1
Are you suretextrm
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
20 mins ago
add a comment |
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}}}
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}}}
edited 4 hours ago
answered 4 hours ago
Rogelio PrietoRogelio Prieto
11
11
1
Are you suretextrm
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
20 mins ago
add a comment |
1
Are you suretextrm
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
20 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
20 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
20 mins ago
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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