Font size confusion in LaTeX
I am a beginner in LaTeX and I am not able to resolve the problem. Hopefully, I will get the help here.
I have the following code:
documentclass[12pt]{article}
usepackage{newtxtext,newtxmath}
usepackage{authblk}
renewcommand{Authfont}{fontsize{12}{14.4pt}selectfont}
renewcommand{Affilfont}{fontsize{10}{12}selectfont}
begin{document}
title{textbf{Preparation of Papers for IEEE Sponsored Conferences & Symposia}}
author{Navdeep Singhtextsuperscript{a}, Lakhwinder Kaur textsuperscript{b}, Kuldeep Singh textsuperscript{c}}
affil[a,b]{Dept. of Computer Science & Engg., Punjabi University, Patiala, 147001, Punjab}
affil[c]{Bharat Electronics Ltd, Ghaziabad, U.P, India}
date{}
maketitle
end{document}
and it gives the following output:
Here as we can observe the superscript on the last author's name contains an unwanted '1'. I am not able to find out what is the mistake in my code. Please help me locate it.
Another question I would like to ask is based on the following 2 commands
documentclass[12pt]{article}
renewcommand{Authfont}{fontsize{12}{14.4pt}selectfont}
Both the commands say that the font size is 12pt then why is the font size of title and authors different? I know they both belong to different packages but a given font size of 12pt should remain the same? Isn't it right?
What if I am told by the journal to use a font size of 12pt, how can I be sure which one is right to use. Please advise me.
authblk
migrated from stackoverflow.com Dec 16 at 11:28
This question came from our site for professional and enthusiast programmers.
add a comment |
I am a beginner in LaTeX and I am not able to resolve the problem. Hopefully, I will get the help here.
I have the following code:
documentclass[12pt]{article}
usepackage{newtxtext,newtxmath}
usepackage{authblk}
renewcommand{Authfont}{fontsize{12}{14.4pt}selectfont}
renewcommand{Affilfont}{fontsize{10}{12}selectfont}
begin{document}
title{textbf{Preparation of Papers for IEEE Sponsored Conferences & Symposia}}
author{Navdeep Singhtextsuperscript{a}, Lakhwinder Kaur textsuperscript{b}, Kuldeep Singh textsuperscript{c}}
affil[a,b]{Dept. of Computer Science & Engg., Punjabi University, Patiala, 147001, Punjab}
affil[c]{Bharat Electronics Ltd, Ghaziabad, U.P, India}
date{}
maketitle
end{document}
and it gives the following output:
Here as we can observe the superscript on the last author's name contains an unwanted '1'. I am not able to find out what is the mistake in my code. Please help me locate it.
Another question I would like to ask is based on the following 2 commands
documentclass[12pt]{article}
renewcommand{Authfont}{fontsize{12}{14.4pt}selectfont}
Both the commands say that the font size is 12pt then why is the font size of title and authors different? I know they both belong to different packages but a given font size of 12pt should remain the same? Isn't it right?
What if I am told by the journal to use a font size of 12pt, how can I be sure which one is right to use. Please advise me.
authblk
migrated from stackoverflow.com Dec 16 at 11:28
This question came from our site for professional and enthusiast programmers.
1
Welcome to TeX.SE. You asked, "[W]hy is the font size of title and authors different?" Why do you believe that setting a document font size of 12pt makes the title font size equal to 12pt?
– Mico
Dec 16 at 11:48
Thanks! As we have assigned the default font size of the whole document to be 12pt, so I think font size of title should also be 12pt. Btw what is the default size of title?
– Navdeep
Dec 16 at 15:56
The "default font size for the whole document" is generally understood to be the font size for running or "ordinary" text. Titles and sectioning headers are generally typeset in a larger font -- no doubt in order to make these document elements "stand out", visually speaking. In the standard LaTeX document classes, the relative font size for titles -- more precisely, the material contained in the argument oftitle
-- is generallyLARGE
(ca. 1.7x linear magnification relative tonormalsize
). If you want to deviate from this convention, you need to do so explicitly.
– Mico
Dec 16 at 16:06
Real thanks for such a nice explanation Mico.
– Navdeep
Dec 16 at 16:09
add a comment |
I am a beginner in LaTeX and I am not able to resolve the problem. Hopefully, I will get the help here.
I have the following code:
documentclass[12pt]{article}
usepackage{newtxtext,newtxmath}
usepackage{authblk}
renewcommand{Authfont}{fontsize{12}{14.4pt}selectfont}
renewcommand{Affilfont}{fontsize{10}{12}selectfont}
begin{document}
title{textbf{Preparation of Papers for IEEE Sponsored Conferences & Symposia}}
author{Navdeep Singhtextsuperscript{a}, Lakhwinder Kaur textsuperscript{b}, Kuldeep Singh textsuperscript{c}}
affil[a,b]{Dept. of Computer Science & Engg., Punjabi University, Patiala, 147001, Punjab}
affil[c]{Bharat Electronics Ltd, Ghaziabad, U.P, India}
date{}
maketitle
end{document}
and it gives the following output:
Here as we can observe the superscript on the last author's name contains an unwanted '1'. I am not able to find out what is the mistake in my code. Please help me locate it.
Another question I would like to ask is based on the following 2 commands
documentclass[12pt]{article}
renewcommand{Authfont}{fontsize{12}{14.4pt}selectfont}
Both the commands say that the font size is 12pt then why is the font size of title and authors different? I know they both belong to different packages but a given font size of 12pt should remain the same? Isn't it right?
What if I am told by the journal to use a font size of 12pt, how can I be sure which one is right to use. Please advise me.
authblk
I am a beginner in LaTeX and I am not able to resolve the problem. Hopefully, I will get the help here.
I have the following code:
documentclass[12pt]{article}
usepackage{newtxtext,newtxmath}
usepackage{authblk}
renewcommand{Authfont}{fontsize{12}{14.4pt}selectfont}
renewcommand{Affilfont}{fontsize{10}{12}selectfont}
begin{document}
title{textbf{Preparation of Papers for IEEE Sponsored Conferences & Symposia}}
author{Navdeep Singhtextsuperscript{a}, Lakhwinder Kaur textsuperscript{b}, Kuldeep Singh textsuperscript{c}}
affil[a,b]{Dept. of Computer Science & Engg., Punjabi University, Patiala, 147001, Punjab}
affil[c]{Bharat Electronics Ltd, Ghaziabad, U.P, India}
date{}
maketitle
end{document}
and it gives the following output:
Here as we can observe the superscript on the last author's name contains an unwanted '1'. I am not able to find out what is the mistake in my code. Please help me locate it.
Another question I would like to ask is based on the following 2 commands
documentclass[12pt]{article}
renewcommand{Authfont}{fontsize{12}{14.4pt}selectfont}
Both the commands say that the font size is 12pt then why is the font size of title and authors different? I know they both belong to different packages but a given font size of 12pt should remain the same? Isn't it right?
What if I am told by the journal to use a font size of 12pt, how can I be sure which one is right to use. Please advise me.
authblk
authblk
edited Dec 16 at 11:43
Mico
273k30369756
273k30369756
asked Dec 16 at 10:29
Navdeep
1354
1354
migrated from stackoverflow.com Dec 16 at 11:28
This question came from our site for professional and enthusiast programmers.
migrated from stackoverflow.com Dec 16 at 11:28
This question came from our site for professional and enthusiast programmers.
1
Welcome to TeX.SE. You asked, "[W]hy is the font size of title and authors different?" Why do you believe that setting a document font size of 12pt makes the title font size equal to 12pt?
– Mico
Dec 16 at 11:48
Thanks! As we have assigned the default font size of the whole document to be 12pt, so I think font size of title should also be 12pt. Btw what is the default size of title?
– Navdeep
Dec 16 at 15:56
The "default font size for the whole document" is generally understood to be the font size for running or "ordinary" text. Titles and sectioning headers are generally typeset in a larger font -- no doubt in order to make these document elements "stand out", visually speaking. In the standard LaTeX document classes, the relative font size for titles -- more precisely, the material contained in the argument oftitle
-- is generallyLARGE
(ca. 1.7x linear magnification relative tonormalsize
). If you want to deviate from this convention, you need to do so explicitly.
– Mico
Dec 16 at 16:06
Real thanks for such a nice explanation Mico.
– Navdeep
Dec 16 at 16:09
add a comment |
1
Welcome to TeX.SE. You asked, "[W]hy is the font size of title and authors different?" Why do you believe that setting a document font size of 12pt makes the title font size equal to 12pt?
– Mico
Dec 16 at 11:48
Thanks! As we have assigned the default font size of the whole document to be 12pt, so I think font size of title should also be 12pt. Btw what is the default size of title?
– Navdeep
Dec 16 at 15:56
The "default font size for the whole document" is generally understood to be the font size for running or "ordinary" text. Titles and sectioning headers are generally typeset in a larger font -- no doubt in order to make these document elements "stand out", visually speaking. In the standard LaTeX document classes, the relative font size for titles -- more precisely, the material contained in the argument oftitle
-- is generallyLARGE
(ca. 1.7x linear magnification relative tonormalsize
). If you want to deviate from this convention, you need to do so explicitly.
– Mico
Dec 16 at 16:06
Real thanks for such a nice explanation Mico.
– Navdeep
Dec 16 at 16:09
1
1
Welcome to TeX.SE. You asked, "[W]hy is the font size of title and authors different?" Why do you believe that setting a document font size of 12pt makes the title font size equal to 12pt?
– Mico
Dec 16 at 11:48
Welcome to TeX.SE. You asked, "[W]hy is the font size of title and authors different?" Why do you believe that setting a document font size of 12pt makes the title font size equal to 12pt?
– Mico
Dec 16 at 11:48
Thanks! As we have assigned the default font size of the whole document to be 12pt, so I think font size of title should also be 12pt. Btw what is the default size of title?
– Navdeep
Dec 16 at 15:56
Thanks! As we have assigned the default font size of the whole document to be 12pt, so I think font size of title should also be 12pt. Btw what is the default size of title?
– Navdeep
Dec 16 at 15:56
The "default font size for the whole document" is generally understood to be the font size for running or "ordinary" text. Titles and sectioning headers are generally typeset in a larger font -- no doubt in order to make these document elements "stand out", visually speaking. In the standard LaTeX document classes, the relative font size for titles -- more precisely, the material contained in the argument of
title
-- is generally LARGE
(ca. 1.7x linear magnification relative to normalsize
). If you want to deviate from this convention, you need to do so explicitly.– Mico
Dec 16 at 16:06
The "default font size for the whole document" is generally understood to be the font size for running or "ordinary" text. Titles and sectioning headers are generally typeset in a larger font -- no doubt in order to make these document elements "stand out", visually speaking. In the standard LaTeX document classes, the relative font size for titles -- more precisely, the material contained in the argument of
title
-- is generally LARGE
(ca. 1.7x linear magnification relative to normalsize
). If you want to deviate from this convention, you need to do so explicitly.– Mico
Dec 16 at 16:06
Real thanks for such a nice explanation Mico.
– Navdeep
Dec 16 at 16:09
Real thanks for such a nice explanation Mico.
– Navdeep
Dec 16 at 16:09
add a comment |
1 Answer
1
active
oldest
votes
You should set the footnotemarker with the optional argument of author:
documentclass[12pt]{article}
usepackage{newtxtext,newtxmath,lipsum}
usepackage{authblk}
renewcommand{Affilfont}{footnotesize}
renewcommand{Authfont}{normalsize}
renewcommandAuthands{, }
begin{document}
title{textbf{Preparation of Papers for IEEE Sponsored Conferences & Symposia}}
author[a]{Navdeep Singh}
author[b]{Lakhwinder Kaur}
author[c]{Kuldeep Singh}
affil[a,b]{Dept. of Computer Science & Engg., Punjabi University, Patiala, 147001, Punjab}
affil[c]{Bharat Electronics Ltd, Ghaziabad, U.P, India}
date{}
maketitle
lipsum
end{document}
The title is larger than 12pt.
Thanks for a nice explanation. As I am new to LaTeX, I am curious to know why the earlier method failed? How can we decide which is a better method as I now think there are multiple ways to perform something in LaTeX.
– Navdeep
Dec 16 at 16:06
and how do we make the superscript 'a' inside the [a] of author[a]{Navdeep Singh} bold?
– Navdeep
Dec 16 at 17:39
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%2f466066%2ffont-size-confusion-in-latex%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You should set the footnotemarker with the optional argument of author:
documentclass[12pt]{article}
usepackage{newtxtext,newtxmath,lipsum}
usepackage{authblk}
renewcommand{Affilfont}{footnotesize}
renewcommand{Authfont}{normalsize}
renewcommandAuthands{, }
begin{document}
title{textbf{Preparation of Papers for IEEE Sponsored Conferences & Symposia}}
author[a]{Navdeep Singh}
author[b]{Lakhwinder Kaur}
author[c]{Kuldeep Singh}
affil[a,b]{Dept. of Computer Science & Engg., Punjabi University, Patiala, 147001, Punjab}
affil[c]{Bharat Electronics Ltd, Ghaziabad, U.P, India}
date{}
maketitle
lipsum
end{document}
The title is larger than 12pt.
Thanks for a nice explanation. As I am new to LaTeX, I am curious to know why the earlier method failed? How can we decide which is a better method as I now think there are multiple ways to perform something in LaTeX.
– Navdeep
Dec 16 at 16:06
and how do we make the superscript 'a' inside the [a] of author[a]{Navdeep Singh} bold?
– Navdeep
Dec 16 at 17:39
add a comment |
You should set the footnotemarker with the optional argument of author:
documentclass[12pt]{article}
usepackage{newtxtext,newtxmath,lipsum}
usepackage{authblk}
renewcommand{Affilfont}{footnotesize}
renewcommand{Authfont}{normalsize}
renewcommandAuthands{, }
begin{document}
title{textbf{Preparation of Papers for IEEE Sponsored Conferences & Symposia}}
author[a]{Navdeep Singh}
author[b]{Lakhwinder Kaur}
author[c]{Kuldeep Singh}
affil[a,b]{Dept. of Computer Science & Engg., Punjabi University, Patiala, 147001, Punjab}
affil[c]{Bharat Electronics Ltd, Ghaziabad, U.P, India}
date{}
maketitle
lipsum
end{document}
The title is larger than 12pt.
Thanks for a nice explanation. As I am new to LaTeX, I am curious to know why the earlier method failed? How can we decide which is a better method as I now think there are multiple ways to perform something in LaTeX.
– Navdeep
Dec 16 at 16:06
and how do we make the superscript 'a' inside the [a] of author[a]{Navdeep Singh} bold?
– Navdeep
Dec 16 at 17:39
add a comment |
You should set the footnotemarker with the optional argument of author:
documentclass[12pt]{article}
usepackage{newtxtext,newtxmath,lipsum}
usepackage{authblk}
renewcommand{Affilfont}{footnotesize}
renewcommand{Authfont}{normalsize}
renewcommandAuthands{, }
begin{document}
title{textbf{Preparation of Papers for IEEE Sponsored Conferences & Symposia}}
author[a]{Navdeep Singh}
author[b]{Lakhwinder Kaur}
author[c]{Kuldeep Singh}
affil[a,b]{Dept. of Computer Science & Engg., Punjabi University, Patiala, 147001, Punjab}
affil[c]{Bharat Electronics Ltd, Ghaziabad, U.P, India}
date{}
maketitle
lipsum
end{document}
The title is larger than 12pt.
You should set the footnotemarker with the optional argument of author:
documentclass[12pt]{article}
usepackage{newtxtext,newtxmath,lipsum}
usepackage{authblk}
renewcommand{Affilfont}{footnotesize}
renewcommand{Authfont}{normalsize}
renewcommandAuthands{, }
begin{document}
title{textbf{Preparation of Papers for IEEE Sponsored Conferences & Symposia}}
author[a]{Navdeep Singh}
author[b]{Lakhwinder Kaur}
author[c]{Kuldeep Singh}
affil[a,b]{Dept. of Computer Science & Engg., Punjabi University, Patiala, 147001, Punjab}
affil[c]{Bharat Electronics Ltd, Ghaziabad, U.P, India}
date{}
maketitle
lipsum
end{document}
The title is larger than 12pt.
answered Dec 16 at 11:41
Ulrike Fischer
186k7290669
186k7290669
Thanks for a nice explanation. As I am new to LaTeX, I am curious to know why the earlier method failed? How can we decide which is a better method as I now think there are multiple ways to perform something in LaTeX.
– Navdeep
Dec 16 at 16:06
and how do we make the superscript 'a' inside the [a] of author[a]{Navdeep Singh} bold?
– Navdeep
Dec 16 at 17:39
add a comment |
Thanks for a nice explanation. As I am new to LaTeX, I am curious to know why the earlier method failed? How can we decide which is a better method as I now think there are multiple ways to perform something in LaTeX.
– Navdeep
Dec 16 at 16:06
and how do we make the superscript 'a' inside the [a] of author[a]{Navdeep Singh} bold?
– Navdeep
Dec 16 at 17:39
Thanks for a nice explanation. As I am new to LaTeX, I am curious to know why the earlier method failed? How can we decide which is a better method as I now think there are multiple ways to perform something in LaTeX.
– Navdeep
Dec 16 at 16:06
Thanks for a nice explanation. As I am new to LaTeX, I am curious to know why the earlier method failed? How can we decide which is a better method as I now think there are multiple ways to perform something in LaTeX.
– Navdeep
Dec 16 at 16:06
and how do we make the superscript 'a' inside the [a] of author[a]{Navdeep Singh} bold?
– Navdeep
Dec 16 at 17:39
and how do we make the superscript 'a' inside the [a] of author[a]{Navdeep Singh} bold?
– Navdeep
Dec 16 at 17:39
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%2f466066%2ffont-size-confusion-in-latex%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
1
Welcome to TeX.SE. You asked, "[W]hy is the font size of title and authors different?" Why do you believe that setting a document font size of 12pt makes the title font size equal to 12pt?
– Mico
Dec 16 at 11:48
Thanks! As we have assigned the default font size of the whole document to be 12pt, so I think font size of title should also be 12pt. Btw what is the default size of title?
– Navdeep
Dec 16 at 15:56
The "default font size for the whole document" is generally understood to be the font size for running or "ordinary" text. Titles and sectioning headers are generally typeset in a larger font -- no doubt in order to make these document elements "stand out", visually speaking. In the standard LaTeX document classes, the relative font size for titles -- more precisely, the material contained in the argument of
title
-- is generallyLARGE
(ca. 1.7x linear magnification relative tonormalsize
). If you want to deviate from this convention, you need to do so explicitly.– Mico
Dec 16 at 16:06
Real thanks for such a nice explanation Mico.
– Navdeep
Dec 16 at 16:09