set font size and line spacing
I need a font size of 12 pt and a line spacing of 1.5 lines.
I try:
documentclass{article}
usepackage{lipsum}
linespread{1.5} %regulate line spacing
renewcommand{normalsize}{fontsize{12pt}{0}selectfont}
begin{document}
lipsum[0]
end{document}
I set the baseline skip in the second {}
in fontsize
to 0pt because I think it would interfere with linespread
. On the other hand linespread
appears not to work.
Can you help?
fontsize line-spacing
|
show 3 more comments
I need a font size of 12 pt and a line spacing of 1.5 lines.
I try:
documentclass{article}
usepackage{lipsum}
linespread{1.5} %regulate line spacing
renewcommand{normalsize}{fontsize{12pt}{0}selectfont}
begin{document}
lipsum[0]
end{document}
I set the baseline skip in the second {}
in fontsize
to 0pt because I think it would interfere with linespread
. On the other hand linespread
appears not to work.
Can you help?
fontsize line-spacing
Why don't you useusepackage{setspace}
withonehalfspacing
? (and leave the font tampering aside, supplying it to the documentclass as an option).
– gusbrs
Nov 19 '18 at 22:33
2
As to the use of linespread, you should take a look at tex.stackexchange.com/q/30073/105447.
– gusbrs
Nov 19 '18 at 22:39
2
fontsize{12pt}{0}
specifies 12pt font on 0pt !!! baseline, so stretching the baseline by a factor of 1.5 doesn't do much.....
– David Carlisle
Nov 19 '18 at 22:52
2
you want a linespace bigger than latex's default so why are you setting it to smaller values (impossibly small) in the case of 0pt. presumably you want a 12bp font on an 18bp baseline if that;s what they mean by 1.5 linespace sofontsize{12bp}{18bp}
your code has a baseline space of0*1.5=0pt
so tex doesn't even try to maintain a regular baseline at all as it has impossible constraints
– David Carlisle
Nov 19 '18 at 22:58
1
no you are multiplying 0 by 1.5
– David Carlisle
Nov 19 '18 at 23:01
|
show 3 more comments
I need a font size of 12 pt and a line spacing of 1.5 lines.
I try:
documentclass{article}
usepackage{lipsum}
linespread{1.5} %regulate line spacing
renewcommand{normalsize}{fontsize{12pt}{0}selectfont}
begin{document}
lipsum[0]
end{document}
I set the baseline skip in the second {}
in fontsize
to 0pt because I think it would interfere with linespread
. On the other hand linespread
appears not to work.
Can you help?
fontsize line-spacing
I need a font size of 12 pt and a line spacing of 1.5 lines.
I try:
documentclass{article}
usepackage{lipsum}
linespread{1.5} %regulate line spacing
renewcommand{normalsize}{fontsize{12pt}{0}selectfont}
begin{document}
lipsum[0]
end{document}
I set the baseline skip in the second {}
in fontsize
to 0pt because I think it would interfere with linespread
. On the other hand linespread
appears not to work.
Can you help?
fontsize line-spacing
fontsize line-spacing
edited Nov 20 '18 at 10:19
Viesturs
asked Nov 19 '18 at 22:23
ViestursViesturs
1,73831124
1,73831124
Why don't you useusepackage{setspace}
withonehalfspacing
? (and leave the font tampering aside, supplying it to the documentclass as an option).
– gusbrs
Nov 19 '18 at 22:33
2
As to the use of linespread, you should take a look at tex.stackexchange.com/q/30073/105447.
– gusbrs
Nov 19 '18 at 22:39
2
fontsize{12pt}{0}
specifies 12pt font on 0pt !!! baseline, so stretching the baseline by a factor of 1.5 doesn't do much.....
– David Carlisle
Nov 19 '18 at 22:52
2
you want a linespace bigger than latex's default so why are you setting it to smaller values (impossibly small) in the case of 0pt. presumably you want a 12bp font on an 18bp baseline if that;s what they mean by 1.5 linespace sofontsize{12bp}{18bp}
your code has a baseline space of0*1.5=0pt
so tex doesn't even try to maintain a regular baseline at all as it has impossible constraints
– David Carlisle
Nov 19 '18 at 22:58
1
no you are multiplying 0 by 1.5
– David Carlisle
Nov 19 '18 at 23:01
|
show 3 more comments
Why don't you useusepackage{setspace}
withonehalfspacing
? (and leave the font tampering aside, supplying it to the documentclass as an option).
– gusbrs
Nov 19 '18 at 22:33
2
As to the use of linespread, you should take a look at tex.stackexchange.com/q/30073/105447.
– gusbrs
Nov 19 '18 at 22:39
2
fontsize{12pt}{0}
specifies 12pt font on 0pt !!! baseline, so stretching the baseline by a factor of 1.5 doesn't do much.....
– David Carlisle
Nov 19 '18 at 22:52
2
you want a linespace bigger than latex's default so why are you setting it to smaller values (impossibly small) in the case of 0pt. presumably you want a 12bp font on an 18bp baseline if that;s what they mean by 1.5 linespace sofontsize{12bp}{18bp}
your code has a baseline space of0*1.5=0pt
so tex doesn't even try to maintain a regular baseline at all as it has impossible constraints
– David Carlisle
Nov 19 '18 at 22:58
1
no you are multiplying 0 by 1.5
– David Carlisle
Nov 19 '18 at 23:01
Why don't you use
usepackage{setspace}
with onehalfspacing
? (and leave the font tampering aside, supplying it to the documentclass as an option).– gusbrs
Nov 19 '18 at 22:33
Why don't you use
usepackage{setspace}
with onehalfspacing
? (and leave the font tampering aside, supplying it to the documentclass as an option).– gusbrs
Nov 19 '18 at 22:33
2
2
As to the use of linespread, you should take a look at tex.stackexchange.com/q/30073/105447.
– gusbrs
Nov 19 '18 at 22:39
As to the use of linespread, you should take a look at tex.stackexchange.com/q/30073/105447.
– gusbrs
Nov 19 '18 at 22:39
2
2
fontsize{12pt}{0}
specifies 12pt font on 0pt !!! baseline, so stretching the baseline by a factor of 1.5 doesn't do much.....– David Carlisle
Nov 19 '18 at 22:52
fontsize{12pt}{0}
specifies 12pt font on 0pt !!! baseline, so stretching the baseline by a factor of 1.5 doesn't do much.....– David Carlisle
Nov 19 '18 at 22:52
2
2
you want a linespace bigger than latex's default so why are you setting it to smaller values (impossibly small) in the case of 0pt. presumably you want a 12bp font on an 18bp baseline if that;s what they mean by 1.5 linespace so
fontsize{12bp}{18bp}
your code has a baseline space of 0*1.5=0pt
so tex doesn't even try to maintain a regular baseline at all as it has impossible constraints– David Carlisle
Nov 19 '18 at 22:58
you want a linespace bigger than latex's default so why are you setting it to smaller values (impossibly small) in the case of 0pt. presumably you want a 12bp font on an 18bp baseline if that;s what they mean by 1.5 linespace so
fontsize{12bp}{18bp}
your code has a baseline space of 0*1.5=0pt
so tex doesn't even try to maintain a regular baseline at all as it has impossible constraints– David Carlisle
Nov 19 '18 at 22:58
1
1
no you are multiplying 0 by 1.5
– David Carlisle
Nov 19 '18 at 23:01
no you are multiplying 0 by 1.5
– David Carlisle
Nov 19 '18 at 23:01
|
show 3 more comments
3 Answers
3
active
oldest
votes
Useless and counterproductive messing with fontsize
. This simpler MWE work as expected:
documentclass[12pt]{article}
usepackage{lipsum}
linespread{1.5}
begin{document}
lipsum[1]
end{document}
There a 12pt font and a 1.5 line spacing. What more?
1
For 1.5 line spacing with 12pt font, you should uselinespread{1.241}
(that's whatsetspace
does). See tex.stackexchange.com/q/30073/105447
– gusbrs
Nov 20 '18 at 0:28
2
@gusbrs I disagree. I know that setspace have other thoughts of what is a "double" or "one-half" line, but most people is the number of lines reduced by a factor of 2 or 1.5. At this respect linespread does a good job: with alipsum[1-4]
of 12pt you will have by default 37 lines in first page but only 7 lines less withlinespread{1.241}
(37/30= 1.23 ~1.25) so a factor of 1.24 is really more a "onequarterspacing" whereaslinespread{1.5}
change from 37 to 25 lines (37/25 =1.48 ~ 1.5).
– Fran
Nov 20 '18 at 9:00
add a comment |
The supplied code specifies a 12pt font on a 0pt baseline, the linespread
multiplies the requested baseline spacing by 1.5, but that is still 0pt.
unless you set lineskiplimit
to a negative value TeX does not try to honour a 0pt baselineskip
(which would cause every line of a paragraph to overprint in the same vertical position). It just stacks the lines separated by lineskip
space (1pt by default) so there is no even spacing, lines with capitals or accents take more space than those without.
It is not at all well defined what you mean by "a font size of 12 pt and a line spacing of 1.5 lines" but I would guess that you mean 12bp font on an 1.5*12bp=18bp baseline so perhaps fontsize{12bp}{18bp}selectfont
is what you are looking for. But it is almost certainly better to not use explicit numbers at all and use the setspace
package and one of its preset spacing commands.
add a comment |
Another traditional solution for the purpose:
documentclass[12pt]{article}
usepackage{lipsum}
usepackage{setspace}
onehalfspacing
begin{document}
lipsum
end{document}
What would be the general command for line spacing withsetspace
, e.g. a line spacing of 1.2 lines?
– Viesturs
Nov 20 '18 at 9:26
1
@Viesturs Besidessinglespacing
,onehalfspacing
, anddoublespacing
,setspace
hassetstretch{baselinestretch}
if a different spacing is required.
– gusbrs
Nov 20 '18 at 9:38
So, I would call setstretch{1.2}?
– Viesturs
Nov 20 '18 at 9:55
@Viesturs Yes, that would be it.
– gusbrs
Nov 20 '18 at 10:12
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%2f460835%2fset-font-size-and-line-spacing%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
Useless and counterproductive messing with fontsize
. This simpler MWE work as expected:
documentclass[12pt]{article}
usepackage{lipsum}
linespread{1.5}
begin{document}
lipsum[1]
end{document}
There a 12pt font and a 1.5 line spacing. What more?
1
For 1.5 line spacing with 12pt font, you should uselinespread{1.241}
(that's whatsetspace
does). See tex.stackexchange.com/q/30073/105447
– gusbrs
Nov 20 '18 at 0:28
2
@gusbrs I disagree. I know that setspace have other thoughts of what is a "double" or "one-half" line, but most people is the number of lines reduced by a factor of 2 or 1.5. At this respect linespread does a good job: with alipsum[1-4]
of 12pt you will have by default 37 lines in first page but only 7 lines less withlinespread{1.241}
(37/30= 1.23 ~1.25) so a factor of 1.24 is really more a "onequarterspacing" whereaslinespread{1.5}
change from 37 to 25 lines (37/25 =1.48 ~ 1.5).
– Fran
Nov 20 '18 at 9:00
add a comment |
Useless and counterproductive messing with fontsize
. This simpler MWE work as expected:
documentclass[12pt]{article}
usepackage{lipsum}
linespread{1.5}
begin{document}
lipsum[1]
end{document}
There a 12pt font and a 1.5 line spacing. What more?
1
For 1.5 line spacing with 12pt font, you should uselinespread{1.241}
(that's whatsetspace
does). See tex.stackexchange.com/q/30073/105447
– gusbrs
Nov 20 '18 at 0:28
2
@gusbrs I disagree. I know that setspace have other thoughts of what is a "double" or "one-half" line, but most people is the number of lines reduced by a factor of 2 or 1.5. At this respect linespread does a good job: with alipsum[1-4]
of 12pt you will have by default 37 lines in first page but only 7 lines less withlinespread{1.241}
(37/30= 1.23 ~1.25) so a factor of 1.24 is really more a "onequarterspacing" whereaslinespread{1.5}
change from 37 to 25 lines (37/25 =1.48 ~ 1.5).
– Fran
Nov 20 '18 at 9:00
add a comment |
Useless and counterproductive messing with fontsize
. This simpler MWE work as expected:
documentclass[12pt]{article}
usepackage{lipsum}
linespread{1.5}
begin{document}
lipsum[1]
end{document}
There a 12pt font and a 1.5 line spacing. What more?
Useless and counterproductive messing with fontsize
. This simpler MWE work as expected:
documentclass[12pt]{article}
usepackage{lipsum}
linespread{1.5}
begin{document}
lipsum[1]
end{document}
There a 12pt font and a 1.5 line spacing. What more?
answered Nov 20 '18 at 0:16
FranFran
52.6k6117181
52.6k6117181
1
For 1.5 line spacing with 12pt font, you should uselinespread{1.241}
(that's whatsetspace
does). See tex.stackexchange.com/q/30073/105447
– gusbrs
Nov 20 '18 at 0:28
2
@gusbrs I disagree. I know that setspace have other thoughts of what is a "double" or "one-half" line, but most people is the number of lines reduced by a factor of 2 or 1.5. At this respect linespread does a good job: with alipsum[1-4]
of 12pt you will have by default 37 lines in first page but only 7 lines less withlinespread{1.241}
(37/30= 1.23 ~1.25) so a factor of 1.24 is really more a "onequarterspacing" whereaslinespread{1.5}
change from 37 to 25 lines (37/25 =1.48 ~ 1.5).
– Fran
Nov 20 '18 at 9:00
add a comment |
1
For 1.5 line spacing with 12pt font, you should uselinespread{1.241}
(that's whatsetspace
does). See tex.stackexchange.com/q/30073/105447
– gusbrs
Nov 20 '18 at 0:28
2
@gusbrs I disagree. I know that setspace have other thoughts of what is a "double" or "one-half" line, but most people is the number of lines reduced by a factor of 2 or 1.5. At this respect linespread does a good job: with alipsum[1-4]
of 12pt you will have by default 37 lines in first page but only 7 lines less withlinespread{1.241}
(37/30= 1.23 ~1.25) so a factor of 1.24 is really more a "onequarterspacing" whereaslinespread{1.5}
change from 37 to 25 lines (37/25 =1.48 ~ 1.5).
– Fran
Nov 20 '18 at 9:00
1
1
For 1.5 line spacing with 12pt font, you should use
linespread{1.241}
(that's what setspace
does). See tex.stackexchange.com/q/30073/105447– gusbrs
Nov 20 '18 at 0:28
For 1.5 line spacing with 12pt font, you should use
linespread{1.241}
(that's what setspace
does). See tex.stackexchange.com/q/30073/105447– gusbrs
Nov 20 '18 at 0:28
2
2
@gusbrs I disagree. I know that setspace have other thoughts of what is a "double" or "one-half" line, but most people is the number of lines reduced by a factor of 2 or 1.5. At this respect linespread does a good job: with a
lipsum[1-4]
of 12pt you will have by default 37 lines in first page but only 7 lines less with linespread{1.241}
(37/30= 1.23 ~1.25) so a factor of 1.24 is really more a "onequarterspacing" whereas linespread{1.5}
change from 37 to 25 lines (37/25 =1.48 ~ 1.5).– Fran
Nov 20 '18 at 9:00
@gusbrs I disagree. I know that setspace have other thoughts of what is a "double" or "one-half" line, but most people is the number of lines reduced by a factor of 2 or 1.5. At this respect linespread does a good job: with a
lipsum[1-4]
of 12pt you will have by default 37 lines in first page but only 7 lines less with linespread{1.241}
(37/30= 1.23 ~1.25) so a factor of 1.24 is really more a "onequarterspacing" whereas linespread{1.5}
change from 37 to 25 lines (37/25 =1.48 ~ 1.5).– Fran
Nov 20 '18 at 9:00
add a comment |
The supplied code specifies a 12pt font on a 0pt baseline, the linespread
multiplies the requested baseline spacing by 1.5, but that is still 0pt.
unless you set lineskiplimit
to a negative value TeX does not try to honour a 0pt baselineskip
(which would cause every line of a paragraph to overprint in the same vertical position). It just stacks the lines separated by lineskip
space (1pt by default) so there is no even spacing, lines with capitals or accents take more space than those without.
It is not at all well defined what you mean by "a font size of 12 pt and a line spacing of 1.5 lines" but I would guess that you mean 12bp font on an 1.5*12bp=18bp baseline so perhaps fontsize{12bp}{18bp}selectfont
is what you are looking for. But it is almost certainly better to not use explicit numbers at all and use the setspace
package and one of its preset spacing commands.
add a comment |
The supplied code specifies a 12pt font on a 0pt baseline, the linespread
multiplies the requested baseline spacing by 1.5, but that is still 0pt.
unless you set lineskiplimit
to a negative value TeX does not try to honour a 0pt baselineskip
(which would cause every line of a paragraph to overprint in the same vertical position). It just stacks the lines separated by lineskip
space (1pt by default) so there is no even spacing, lines with capitals or accents take more space than those without.
It is not at all well defined what you mean by "a font size of 12 pt and a line spacing of 1.5 lines" but I would guess that you mean 12bp font on an 1.5*12bp=18bp baseline so perhaps fontsize{12bp}{18bp}selectfont
is what you are looking for. But it is almost certainly better to not use explicit numbers at all and use the setspace
package and one of its preset spacing commands.
add a comment |
The supplied code specifies a 12pt font on a 0pt baseline, the linespread
multiplies the requested baseline spacing by 1.5, but that is still 0pt.
unless you set lineskiplimit
to a negative value TeX does not try to honour a 0pt baselineskip
(which would cause every line of a paragraph to overprint in the same vertical position). It just stacks the lines separated by lineskip
space (1pt by default) so there is no even spacing, lines with capitals or accents take more space than those without.
It is not at all well defined what you mean by "a font size of 12 pt and a line spacing of 1.5 lines" but I would guess that you mean 12bp font on an 1.5*12bp=18bp baseline so perhaps fontsize{12bp}{18bp}selectfont
is what you are looking for. But it is almost certainly better to not use explicit numbers at all and use the setspace
package and one of its preset spacing commands.
The supplied code specifies a 12pt font on a 0pt baseline, the linespread
multiplies the requested baseline spacing by 1.5, but that is still 0pt.
unless you set lineskiplimit
to a negative value TeX does not try to honour a 0pt baselineskip
(which would cause every line of a paragraph to overprint in the same vertical position). It just stacks the lines separated by lineskip
space (1pt by default) so there is no even spacing, lines with capitals or accents take more space than those without.
It is not at all well defined what you mean by "a font size of 12 pt and a line spacing of 1.5 lines" but I would guess that you mean 12bp font on an 1.5*12bp=18bp baseline so perhaps fontsize{12bp}{18bp}selectfont
is what you are looking for. But it is almost certainly better to not use explicit numbers at all and use the setspace
package and one of its preset spacing commands.
answered Nov 19 '18 at 23:07
David CarlisleDavid Carlisle
491k4111351883
491k4111351883
add a comment |
add a comment |
Another traditional solution for the purpose:
documentclass[12pt]{article}
usepackage{lipsum}
usepackage{setspace}
onehalfspacing
begin{document}
lipsum
end{document}
What would be the general command for line spacing withsetspace
, e.g. a line spacing of 1.2 lines?
– Viesturs
Nov 20 '18 at 9:26
1
@Viesturs Besidessinglespacing
,onehalfspacing
, anddoublespacing
,setspace
hassetstretch{baselinestretch}
if a different spacing is required.
– gusbrs
Nov 20 '18 at 9:38
So, I would call setstretch{1.2}?
– Viesturs
Nov 20 '18 at 9:55
@Viesturs Yes, that would be it.
– gusbrs
Nov 20 '18 at 10:12
add a comment |
Another traditional solution for the purpose:
documentclass[12pt]{article}
usepackage{lipsum}
usepackage{setspace}
onehalfspacing
begin{document}
lipsum
end{document}
What would be the general command for line spacing withsetspace
, e.g. a line spacing of 1.2 lines?
– Viesturs
Nov 20 '18 at 9:26
1
@Viesturs Besidessinglespacing
,onehalfspacing
, anddoublespacing
,setspace
hassetstretch{baselinestretch}
if a different spacing is required.
– gusbrs
Nov 20 '18 at 9:38
So, I would call setstretch{1.2}?
– Viesturs
Nov 20 '18 at 9:55
@Viesturs Yes, that would be it.
– gusbrs
Nov 20 '18 at 10:12
add a comment |
Another traditional solution for the purpose:
documentclass[12pt]{article}
usepackage{lipsum}
usepackage{setspace}
onehalfspacing
begin{document}
lipsum
end{document}
Another traditional solution for the purpose:
documentclass[12pt]{article}
usepackage{lipsum}
usepackage{setspace}
onehalfspacing
begin{document}
lipsum
end{document}
answered Nov 19 '18 at 22:43
gusbrsgusbrs
7,9912842
7,9912842
What would be the general command for line spacing withsetspace
, e.g. a line spacing of 1.2 lines?
– Viesturs
Nov 20 '18 at 9:26
1
@Viesturs Besidessinglespacing
,onehalfspacing
, anddoublespacing
,setspace
hassetstretch{baselinestretch}
if a different spacing is required.
– gusbrs
Nov 20 '18 at 9:38
So, I would call setstretch{1.2}?
– Viesturs
Nov 20 '18 at 9:55
@Viesturs Yes, that would be it.
– gusbrs
Nov 20 '18 at 10:12
add a comment |
What would be the general command for line spacing withsetspace
, e.g. a line spacing of 1.2 lines?
– Viesturs
Nov 20 '18 at 9:26
1
@Viesturs Besidessinglespacing
,onehalfspacing
, anddoublespacing
,setspace
hassetstretch{baselinestretch}
if a different spacing is required.
– gusbrs
Nov 20 '18 at 9:38
So, I would call setstretch{1.2}?
– Viesturs
Nov 20 '18 at 9:55
@Viesturs Yes, that would be it.
– gusbrs
Nov 20 '18 at 10:12
What would be the general command for line spacing with
setspace
, e.g. a line spacing of 1.2 lines?– Viesturs
Nov 20 '18 at 9:26
What would be the general command for line spacing with
setspace
, e.g. a line spacing of 1.2 lines?– Viesturs
Nov 20 '18 at 9:26
1
1
@Viesturs Besides
singlespacing
, onehalfspacing
, and doublespacing
, setspace
has setstretch{baselinestretch}
if a different spacing is required.– gusbrs
Nov 20 '18 at 9:38
@Viesturs Besides
singlespacing
, onehalfspacing
, and doublespacing
, setspace
has setstretch{baselinestretch}
if a different spacing is required.– gusbrs
Nov 20 '18 at 9:38
So, I would call setstretch{1.2}?
– Viesturs
Nov 20 '18 at 9:55
So, I would call setstretch{1.2}?
– Viesturs
Nov 20 '18 at 9:55
@Viesturs Yes, that would be it.
– gusbrs
Nov 20 '18 at 10:12
@Viesturs Yes, that would be it.
– gusbrs
Nov 20 '18 at 10:12
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%2f460835%2fset-font-size-and-line-spacing%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
Why don't you use
usepackage{setspace}
withonehalfspacing
? (and leave the font tampering aside, supplying it to the documentclass as an option).– gusbrs
Nov 19 '18 at 22:33
2
As to the use of linespread, you should take a look at tex.stackexchange.com/q/30073/105447.
– gusbrs
Nov 19 '18 at 22:39
2
fontsize{12pt}{0}
specifies 12pt font on 0pt !!! baseline, so stretching the baseline by a factor of 1.5 doesn't do much.....– David Carlisle
Nov 19 '18 at 22:52
2
you want a linespace bigger than latex's default so why are you setting it to smaller values (impossibly small) in the case of 0pt. presumably you want a 12bp font on an 18bp baseline if that;s what they mean by 1.5 linespace so
fontsize{12bp}{18bp}
your code has a baseline space of0*1.5=0pt
so tex doesn't even try to maintain a regular baseline at all as it has impossible constraints– David Carlisle
Nov 19 '18 at 22:58
1
no you are multiplying 0 by 1.5
– David Carlisle
Nov 19 '18 at 23:01