How to put italics in the title of a document using MLA13?
up vote
3
down vote
favorite
I am trying to put the title of a book in the title of my document using the MLA13 class. Unfortunately, every time it ignores my font family and size. Here is the code I am using:
documentclass{article}
usepackage{mla13}
usepackage{fontspec}
firstname{First}
lastname{Last}
professor{Professor Professor}
class{A Class}
title{A Review of textit{A Book}}
% sources{bibliography.bib}
setmainfont{Times New Roman}
begin{document}
makeheader
This is the content of the paper.
end{document}
The produced output looks like this:
How do I change the italicized portion of the title so that it displays in the same font as the rest of the document?
xetex
add a comment |
up vote
3
down vote
favorite
I am trying to put the title of a book in the title of my document using the MLA13 class. Unfortunately, every time it ignores my font family and size. Here is the code I am using:
documentclass{article}
usepackage{mla13}
usepackage{fontspec}
firstname{First}
lastname{Last}
professor{Professor Professor}
class{A Class}
title{A Review of textit{A Book}}
% sources{bibliography.bib}
setmainfont{Times New Roman}
begin{document}
makeheader
This is the content of the paper.
end{document}
The produced output looks like this:
How do I change the italicized portion of the title so that it displays in the same font as the rest of the document?
xetex
add a comment |
up vote
3
down vote
favorite
up vote
3
down vote
favorite
I am trying to put the title of a book in the title of my document using the MLA13 class. Unfortunately, every time it ignores my font family and size. Here is the code I am using:
documentclass{article}
usepackage{mla13}
usepackage{fontspec}
firstname{First}
lastname{Last}
professor{Professor Professor}
class{A Class}
title{A Review of textit{A Book}}
% sources{bibliography.bib}
setmainfont{Times New Roman}
begin{document}
makeheader
This is the content of the paper.
end{document}
The produced output looks like this:
How do I change the italicized portion of the title so that it displays in the same font as the rest of the document?
xetex
I am trying to put the title of a book in the title of my document using the MLA13 class. Unfortunately, every time it ignores my font family and size. Here is the code I am using:
documentclass{article}
usepackage{mla13}
usepackage{fontspec}
firstname{First}
lastname{Last}
professor{Professor Professor}
class{A Class}
title{A Review of textit{A Book}}
% sources{bibliography.bib}
setmainfont{Times New Roman}
begin{document}
makeheader
This is the content of the paper.
end{document}
The produced output looks like this:
How do I change the italicized portion of the title so that it displays in the same font as the rest of the document?
xetex
xetex
asked Dec 1 at 16:12
nhubbard
224
224
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
2
down vote
accepted
The code in mla13.sty
is completely and utterly wrong.
newcommand*{makeheader}{begingroup
rmfamily
fontsize{12}{2}
noindent @firstname @lastname\
@professor\
@class\
datef@date
begin{nospacecenter}
@title
end{nospacecenter}
endgroup}
This makes no sense whatsoever to set the font size and not issuing selectfont
. What happens is that in
A Review of textit{A Book}
the first three words are typeset in the current font size, independent of fontsize{12}{2}
; to the contrary, textit
issues selectfont
, so the setting of fontsize
enters into action.
The package's idea is probably to use a larger font size for the header, assuming a main font size of 10pt. But a baseline skip of 2pt is absurd.
documentclass{article}
usepackage{mla13}
usepackage{fontspec}
patchcmd{makeheader}{fontsize{12}{2}}{large}{}{}
firstname{First}
lastname{Last}
professor{Professor Professor}
class{A Class}
title{A Review of textit{A Book}}
% sources{bibliography.bib}
setmainfont{Times New Roman}
begin{document}
makeheader
This is the content of the paper.
end{document}
If you don't want a larger font size for the header, then remove large
as suggested by Alan Munn.
Perfect, thank you!
– nhubbard
Dec 1 at 17:37
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
The code in mla13.sty
is completely and utterly wrong.
newcommand*{makeheader}{begingroup
rmfamily
fontsize{12}{2}
noindent @firstname @lastname\
@professor\
@class\
datef@date
begin{nospacecenter}
@title
end{nospacecenter}
endgroup}
This makes no sense whatsoever to set the font size and not issuing selectfont
. What happens is that in
A Review of textit{A Book}
the first three words are typeset in the current font size, independent of fontsize{12}{2}
; to the contrary, textit
issues selectfont
, so the setting of fontsize
enters into action.
The package's idea is probably to use a larger font size for the header, assuming a main font size of 10pt. But a baseline skip of 2pt is absurd.
documentclass{article}
usepackage{mla13}
usepackage{fontspec}
patchcmd{makeheader}{fontsize{12}{2}}{large}{}{}
firstname{First}
lastname{Last}
professor{Professor Professor}
class{A Class}
title{A Review of textit{A Book}}
% sources{bibliography.bib}
setmainfont{Times New Roman}
begin{document}
makeheader
This is the content of the paper.
end{document}
If you don't want a larger font size for the header, then remove large
as suggested by Alan Munn.
Perfect, thank you!
– nhubbard
Dec 1 at 17:37
add a comment |
up vote
2
down vote
accepted
The code in mla13.sty
is completely and utterly wrong.
newcommand*{makeheader}{begingroup
rmfamily
fontsize{12}{2}
noindent @firstname @lastname\
@professor\
@class\
datef@date
begin{nospacecenter}
@title
end{nospacecenter}
endgroup}
This makes no sense whatsoever to set the font size and not issuing selectfont
. What happens is that in
A Review of textit{A Book}
the first three words are typeset in the current font size, independent of fontsize{12}{2}
; to the contrary, textit
issues selectfont
, so the setting of fontsize
enters into action.
The package's idea is probably to use a larger font size for the header, assuming a main font size of 10pt. But a baseline skip of 2pt is absurd.
documentclass{article}
usepackage{mla13}
usepackage{fontspec}
patchcmd{makeheader}{fontsize{12}{2}}{large}{}{}
firstname{First}
lastname{Last}
professor{Professor Professor}
class{A Class}
title{A Review of textit{A Book}}
% sources{bibliography.bib}
setmainfont{Times New Roman}
begin{document}
makeheader
This is the content of the paper.
end{document}
If you don't want a larger font size for the header, then remove large
as suggested by Alan Munn.
Perfect, thank you!
– nhubbard
Dec 1 at 17:37
add a comment |
up vote
2
down vote
accepted
up vote
2
down vote
accepted
The code in mla13.sty
is completely and utterly wrong.
newcommand*{makeheader}{begingroup
rmfamily
fontsize{12}{2}
noindent @firstname @lastname\
@professor\
@class\
datef@date
begin{nospacecenter}
@title
end{nospacecenter}
endgroup}
This makes no sense whatsoever to set the font size and not issuing selectfont
. What happens is that in
A Review of textit{A Book}
the first three words are typeset in the current font size, independent of fontsize{12}{2}
; to the contrary, textit
issues selectfont
, so the setting of fontsize
enters into action.
The package's idea is probably to use a larger font size for the header, assuming a main font size of 10pt. But a baseline skip of 2pt is absurd.
documentclass{article}
usepackage{mla13}
usepackage{fontspec}
patchcmd{makeheader}{fontsize{12}{2}}{large}{}{}
firstname{First}
lastname{Last}
professor{Professor Professor}
class{A Class}
title{A Review of textit{A Book}}
% sources{bibliography.bib}
setmainfont{Times New Roman}
begin{document}
makeheader
This is the content of the paper.
end{document}
If you don't want a larger font size for the header, then remove large
as suggested by Alan Munn.
The code in mla13.sty
is completely and utterly wrong.
newcommand*{makeheader}{begingroup
rmfamily
fontsize{12}{2}
noindent @firstname @lastname\
@professor\
@class\
datef@date
begin{nospacecenter}
@title
end{nospacecenter}
endgroup}
This makes no sense whatsoever to set the font size and not issuing selectfont
. What happens is that in
A Review of textit{A Book}
the first three words are typeset in the current font size, independent of fontsize{12}{2}
; to the contrary, textit
issues selectfont
, so the setting of fontsize
enters into action.
The package's idea is probably to use a larger font size for the header, assuming a main font size of 10pt. But a baseline skip of 2pt is absurd.
documentclass{article}
usepackage{mla13}
usepackage{fontspec}
patchcmd{makeheader}{fontsize{12}{2}}{large}{}{}
firstname{First}
lastname{Last}
professor{Professor Professor}
class{A Class}
title{A Review of textit{A Book}}
% sources{bibliography.bib}
setmainfont{Times New Roman}
begin{document}
makeheader
This is the content of the paper.
end{document}
If you don't want a larger font size for the header, then remove large
as suggested by Alan Munn.
edited Dec 1 at 17:50
nhubbard
224
224
answered Dec 1 at 16:50
egreg
703k8618733148
703k8618733148
Perfect, thank you!
– nhubbard
Dec 1 at 17:37
add a comment |
Perfect, thank you!
– nhubbard
Dec 1 at 17:37
Perfect, thank you!
– nhubbard
Dec 1 at 17:37
Perfect, thank you!
– nhubbard
Dec 1 at 17:37
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2f462710%2fhow-to-put-italics-in-the-title-of-a-document-using-mla13%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