Changing font size for chapter title and number
up vote
1
down vote
favorite
I want to change the font size for the chapter title and chapter number.
My code in part is as below.
I want the font for the chapter to be greater than the one achieved through Huge
. Is there any way to do that for the document class I am using?
documentclass[a4paper,12pt,oneside]{report}
usepackage[left=3.81cm,right=2.54cm,top=2.54cm,bottom=2.54cm]{geometry}
usepackage{sectsty}
chapternumberfont{Huge}
newcommand{chapfnt}{fontsize{300}{250}}
newcommand{secfnt}{fontsize{14}{17}}
newcommand{ssecfnt}{fontsize{12}{14}}
chaptertitlefont{Huge}
My current font size looks like this:
fontsize
add a comment |
up vote
1
down vote
favorite
I want to change the font size for the chapter title and chapter number.
My code in part is as below.
I want the font for the chapter to be greater than the one achieved through Huge
. Is there any way to do that for the document class I am using?
documentclass[a4paper,12pt,oneside]{report}
usepackage[left=3.81cm,right=2.54cm,top=2.54cm,bottom=2.54cm]{geometry}
usepackage{sectsty}
chapternumberfont{Huge}
newcommand{chapfnt}{fontsize{300}{250}}
newcommand{secfnt}{fontsize{14}{17}}
newcommand{ssecfnt}{fontsize{12}{14}}
chaptertitlefont{Huge}
My current font size looks like this:
fontsize
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I want to change the font size for the chapter title and chapter number.
My code in part is as below.
I want the font for the chapter to be greater than the one achieved through Huge
. Is there any way to do that for the document class I am using?
documentclass[a4paper,12pt,oneside]{report}
usepackage[left=3.81cm,right=2.54cm,top=2.54cm,bottom=2.54cm]{geometry}
usepackage{sectsty}
chapternumberfont{Huge}
newcommand{chapfnt}{fontsize{300}{250}}
newcommand{secfnt}{fontsize{14}{17}}
newcommand{ssecfnt}{fontsize{12}{14}}
chaptertitlefont{Huge}
My current font size looks like this:
fontsize
I want to change the font size for the chapter title and chapter number.
My code in part is as below.
I want the font for the chapter to be greater than the one achieved through Huge
. Is there any way to do that for the document class I am using?
documentclass[a4paper,12pt,oneside]{report}
usepackage[left=3.81cm,right=2.54cm,top=2.54cm,bottom=2.54cm]{geometry}
usepackage{sectsty}
chapternumberfont{Huge}
newcommand{chapfnt}{fontsize{300}{250}}
newcommand{secfnt}{fontsize{14}{17}}
newcommand{ssecfnt}{fontsize{12}{14}}
chaptertitlefont{Huge}
My current font size looks like this:
fontsize
fontsize
edited Sep 1 at 5:19
CarLaTeX
28.3k446122
28.3k446122
asked Sep 1 at 2:58
user169517
61
61
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
fontsize{<size>}{<baseline skip>}
should be followed by selectfont
in order to select the font:
documentclass{report}
usepackage{sectsty,lmodern}
begin{document}
chapter{A chapter}
Lorem ipsum ldots
chapternumberfont{fontsize{35pt}{32pt}selectfont}
chaptertitlefont{fontsize{38pt}{35pt}selectfont}
chapter{A chapter}
Lorem ipsum ldots
end{document}
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
fontsize{<size>}{<baseline skip>}
should be followed by selectfont
in order to select the font:
documentclass{report}
usepackage{sectsty,lmodern}
begin{document}
chapter{A chapter}
Lorem ipsum ldots
chapternumberfont{fontsize{35pt}{32pt}selectfont}
chaptertitlefont{fontsize{38pt}{35pt}selectfont}
chapter{A chapter}
Lorem ipsum ldots
end{document}
add a comment |
up vote
0
down vote
fontsize{<size>}{<baseline skip>}
should be followed by selectfont
in order to select the font:
documentclass{report}
usepackage{sectsty,lmodern}
begin{document}
chapter{A chapter}
Lorem ipsum ldots
chapternumberfont{fontsize{35pt}{32pt}selectfont}
chaptertitlefont{fontsize{38pt}{35pt}selectfont}
chapter{A chapter}
Lorem ipsum ldots
end{document}
add a comment |
up vote
0
down vote
up vote
0
down vote
fontsize{<size>}{<baseline skip>}
should be followed by selectfont
in order to select the font:
documentclass{report}
usepackage{sectsty,lmodern}
begin{document}
chapter{A chapter}
Lorem ipsum ldots
chapternumberfont{fontsize{35pt}{32pt}selectfont}
chaptertitlefont{fontsize{38pt}{35pt}selectfont}
chapter{A chapter}
Lorem ipsum ldots
end{document}
fontsize{<size>}{<baseline skip>}
should be followed by selectfont
in order to select the font:
documentclass{report}
usepackage{sectsty,lmodern}
begin{document}
chapter{A chapter}
Lorem ipsum ldots
chapternumberfont{fontsize{35pt}{32pt}selectfont}
chaptertitlefont{fontsize{38pt}{35pt}selectfont}
chapter{A chapter}
Lorem ipsum ldots
end{document}
answered Sep 1 at 4:20
Werner
434k609531636
434k609531636
add a comment |
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%2f448786%2fchanging-font-size-for-chapter-title-and-number%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