How do you get rid of the extra space that bold or large face characters make?How to remove the extra margin...
Why do single electrical receptacles exist?
What is an efficient way to digitize a family photo collection?
What's the reason that we have different quantities of days each month?
Protagonist constantly has to have long words explained to her. Will this get tedious?
show notifications of new e-mails without displaying the content
Is Screenshot Time-tracking Common?
Tikz: Perpendicular FROM a line
What do "compile" , "fit" and "predict" do in Keras sequential models?
How would an EMP effect spacesuits (and small-arms weapons)?
Why is it that Bernie Sanders is always called a "socialist"?
Why did Ylvis use "go" instead of "say" in phrases like "Dog goes 'woof'"?
Minimum Viable Product for RTS game?
Is practicing on a digital piano harmful to an experienced piano player?
Renting a 2CV in France
How can I put a period right after the algorithm's number in the algorithm's title?
What is an explicit bijection in combinatorics?
Dealing with an internal ScriptKiddie
Do we still track damage on indestructible creatures?
Do the speed limit reductions due to pollution also apply to electric cars in France?
How long can the stop in a stop-and-go be?
Why does a single AND gate need 60 transistors?
How can changes in personality/values of a person who turned into a vampire be explained?
How do you get rid of the extra space that bold or large face characters make?
What is wrong with my use of "find -print0"?
How do you get rid of the extra space that bold or large face characters make?
How to remove the extra margin on top and bottom of a long listingHow can I get rid of indentation after an equation?How do I make a list start at the same level than the text surrounding it (Without extra left space)?How do you make a paragraph indent within a table?Caption package: bold numbering indents caption text - how to avoid that?How may I keep a horizontal-space for the following statement towards the right-hand side?How to remove the blank in the start of the paragraph that after a figure?How can I get rid of indentation before my code?How do you get indented text except for the first line of a paragraphHow would you typeset the followingHow to make sure the lines don't start with some space?
documentclass[letterpaper,10pt]{article}
begin{document}
textbf{ Large Blahblahblah}
end{document}
For some reason textbf
or Large
creates this extra unwanted space from the left margine. How do I get rid of it? hfill
does nothing to shove the text back into place, begin{flushleft}...
lied and doesn't actually flush textbf
left.
indentation
New contributor
|
show 4 more comments
documentclass[letterpaper,10pt]{article}
begin{document}
textbf{ Large Blahblahblah}
end{document}
For some reason textbf
or Large
creates this extra unwanted space from the left margine. How do I get rid of it? hfill
does nothing to shove the text back into place, begin{flushleft}...
lied and doesn't actually flush textbf
left.
indentation
New contributor
Welcome to TeX-SE! Trydocumentclass[letterpaper,10pt]{article} begin{document} noindent textbf{Large Blahblahblah} end{document}
.
– marmot
5 hours ago
That did the trick, thank you.
– Vane Voe
5 hours ago
That doesn't magically make it off topic, this is obviously related to TeX. There is a general rule in stackexchange to wait a day before accepting something as an official answer. Furthermore, if someone else has this question they can find the answer here instead of asking it again.
– Vane Voe
5 hours ago
@VaneVoe Yes, off course it is on-topic. However, it is a tradition here that if a question is solved in comments, it will be closed as off-topic. Look at this question for example.
– JouleV
4 hours ago
1
@marmot No, it is obviously not a criticism to me and I see that none of your comments so far has ever criticized me :)
– JouleV
4 hours ago
|
show 4 more comments
documentclass[letterpaper,10pt]{article}
begin{document}
textbf{ Large Blahblahblah}
end{document}
For some reason textbf
or Large
creates this extra unwanted space from the left margine. How do I get rid of it? hfill
does nothing to shove the text back into place, begin{flushleft}...
lied and doesn't actually flush textbf
left.
indentation
New contributor
documentclass[letterpaper,10pt]{article}
begin{document}
textbf{ Large Blahblahblah}
end{document}
For some reason textbf
or Large
creates this extra unwanted space from the left margine. How do I get rid of it? hfill
does nothing to shove the text back into place, begin{flushleft}...
lied and doesn't actually flush textbf
left.
indentation
indentation
New contributor
New contributor
edited 5 hours ago
JouleV
4,0801938
4,0801938
New contributor
asked 5 hours ago
Vane VoeVane Voe
111
111
New contributor
New contributor
Welcome to TeX-SE! Trydocumentclass[letterpaper,10pt]{article} begin{document} noindent textbf{Large Blahblahblah} end{document}
.
– marmot
5 hours ago
That did the trick, thank you.
– Vane Voe
5 hours ago
That doesn't magically make it off topic, this is obviously related to TeX. There is a general rule in stackexchange to wait a day before accepting something as an official answer. Furthermore, if someone else has this question they can find the answer here instead of asking it again.
– Vane Voe
5 hours ago
@VaneVoe Yes, off course it is on-topic. However, it is a tradition here that if a question is solved in comments, it will be closed as off-topic. Look at this question for example.
– JouleV
4 hours ago
1
@marmot No, it is obviously not a criticism to me and I see that none of your comments so far has ever criticized me :)
– JouleV
4 hours ago
|
show 4 more comments
Welcome to TeX-SE! Trydocumentclass[letterpaper,10pt]{article} begin{document} noindent textbf{Large Blahblahblah} end{document}
.
– marmot
5 hours ago
That did the trick, thank you.
– Vane Voe
5 hours ago
That doesn't magically make it off topic, this is obviously related to TeX. There is a general rule in stackexchange to wait a day before accepting something as an official answer. Furthermore, if someone else has this question they can find the answer here instead of asking it again.
– Vane Voe
5 hours ago
@VaneVoe Yes, off course it is on-topic. However, it is a tradition here that if a question is solved in comments, it will be closed as off-topic. Look at this question for example.
– JouleV
4 hours ago
1
@marmot No, it is obviously not a criticism to me and I see that none of your comments so far has ever criticized me :)
– JouleV
4 hours ago
Welcome to TeX-SE! Try
documentclass[letterpaper,10pt]{article} begin{document} noindent textbf{Large Blahblahblah} end{document}
.– marmot
5 hours ago
Welcome to TeX-SE! Try
documentclass[letterpaper,10pt]{article} begin{document} noindent textbf{Large Blahblahblah} end{document}
.– marmot
5 hours ago
That did the trick, thank you.
– Vane Voe
5 hours ago
That did the trick, thank you.
– Vane Voe
5 hours ago
That doesn't magically make it off topic, this is obviously related to TeX. There is a general rule in stackexchange to wait a day before accepting something as an official answer. Furthermore, if someone else has this question they can find the answer here instead of asking it again.
– Vane Voe
5 hours ago
That doesn't magically make it off topic, this is obviously related to TeX. There is a general rule in stackexchange to wait a day before accepting something as an official answer. Furthermore, if someone else has this question they can find the answer here instead of asking it again.
– Vane Voe
5 hours ago
@VaneVoe Yes, off course it is on-topic. However, it is a tradition here that if a question is solved in comments, it will be closed as off-topic. Look at this question for example.
– JouleV
4 hours ago
@VaneVoe Yes, off course it is on-topic. However, it is a tradition here that if a question is solved in comments, it will be closed as off-topic. Look at this question for example.
– JouleV
4 hours ago
1
1
@marmot No, it is obviously not a criticism to me and I see that none of your comments so far has ever criticized me :)
– JouleV
4 hours ago
@marmot No, it is obviously not a criticism to me and I see that none of your comments so far has ever criticized me :)
– JouleV
4 hours ago
|
show 4 more comments
2 Answers
2
active
oldest
votes
The issue has nothing to do with boldface versus normal. Rather, you see the default indent of paragraphs. One way to switch it off (for one paragraph) is to use noindent
.
documentclass[letterpaper,10pt]{article}
begin{document}
A normal paragraph.
textbf{Large A normal bold paragraph.}
noindent
A normal paragraph with texttt{textbackslash noindent}.
noindenttextbf{Large A bold paragraph with texttt{textbackslash noindent}.}
end{document}
add a comment |
There are two separate issues that keep the text from starting at the left-hand margin of the text block. Neither issue is actually associated with the fact that the text string happens to be rendered in bold&large.
Let's begin by studying an augmented version of the OP's MWE, along with a screenshot of the associated output. (The vertical line down the left-hand edge represents the edge of the text block.)
documentclass{article}
usepackage{showframe} % to show edges of text block
newcommandOnce{Once upon a time, dots} % test text string
begin{document}
vspace*{1mm} % just for this example
textbf{ Large Once} % OP's example
textbf{Large Once} % no space before "Large"
Once % normal font size and font weight
noindent
textbf{Large Once} % no more indentation!
setlengthparindent{0pt} % suppress paragraph indentation globally
textbf{Large Once}
end{document}
As the third line shows, the indentation issue is not caused by the fact that the text string is rendered in bold/large. Instead, it happens because (a) the text string occurs at the start of a (logical) paragraph and (b) the article
document class (along with many other document classes) sets a non-zero value of parindent
, which is the parameter that governs how much the first line of a paragraph is indented.
Notice also that the first line is indented even more than the second line is. What is the difference between textbf{ Large Once}
and textbf{Large Once}
? It's the whitespace character between {
and Large
. TeX does not gobble up all whitespace character. Beware the Ides of March. And beware carelessly inserted whitespace.
The fourth and fifth lines show how to suppress the indentation of the first line of a paragraph: For one-off suppression, use noindent
; for global suppression, set parindent
to 0pt
. Aside: If you set parindent
to 0pt
, you should probably also set parskip
-- the parameter that governs the amount of vertical whitespace between paragraphs to a non-zero value, e.g., setlengthparskip{0.5baselineskip}
.
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
});
}
});
Vane Voe is a new contributor. Be nice, and check out our Code of Conduct.
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%2f476418%2fhow-do-you-get-rid-of-the-extra-space-that-bold-or-large-face-characters-make%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
The issue has nothing to do with boldface versus normal. Rather, you see the default indent of paragraphs. One way to switch it off (for one paragraph) is to use noindent
.
documentclass[letterpaper,10pt]{article}
begin{document}
A normal paragraph.
textbf{Large A normal bold paragraph.}
noindent
A normal paragraph with texttt{textbackslash noindent}.
noindenttextbf{Large A bold paragraph with texttt{textbackslash noindent}.}
end{document}
add a comment |
The issue has nothing to do with boldface versus normal. Rather, you see the default indent of paragraphs. One way to switch it off (for one paragraph) is to use noindent
.
documentclass[letterpaper,10pt]{article}
begin{document}
A normal paragraph.
textbf{Large A normal bold paragraph.}
noindent
A normal paragraph with texttt{textbackslash noindent}.
noindenttextbf{Large A bold paragraph with texttt{textbackslash noindent}.}
end{document}
add a comment |
The issue has nothing to do with boldface versus normal. Rather, you see the default indent of paragraphs. One way to switch it off (for one paragraph) is to use noindent
.
documentclass[letterpaper,10pt]{article}
begin{document}
A normal paragraph.
textbf{Large A normal bold paragraph.}
noindent
A normal paragraph with texttt{textbackslash noindent}.
noindenttextbf{Large A bold paragraph with texttt{textbackslash noindent}.}
end{document}
The issue has nothing to do with boldface versus normal. Rather, you see the default indent of paragraphs. One way to switch it off (for one paragraph) is to use noindent
.
documentclass[letterpaper,10pt]{article}
begin{document}
A normal paragraph.
textbf{Large A normal bold paragraph.}
noindent
A normal paragraph with texttt{textbackslash noindent}.
noindenttextbf{Large A bold paragraph with texttt{textbackslash noindent}.}
end{document}
answered 4 hours ago
community wiki
marmot
add a comment |
add a comment |
There are two separate issues that keep the text from starting at the left-hand margin of the text block. Neither issue is actually associated with the fact that the text string happens to be rendered in bold&large.
Let's begin by studying an augmented version of the OP's MWE, along with a screenshot of the associated output. (The vertical line down the left-hand edge represents the edge of the text block.)
documentclass{article}
usepackage{showframe} % to show edges of text block
newcommandOnce{Once upon a time, dots} % test text string
begin{document}
vspace*{1mm} % just for this example
textbf{ Large Once} % OP's example
textbf{Large Once} % no space before "Large"
Once % normal font size and font weight
noindent
textbf{Large Once} % no more indentation!
setlengthparindent{0pt} % suppress paragraph indentation globally
textbf{Large Once}
end{document}
As the third line shows, the indentation issue is not caused by the fact that the text string is rendered in bold/large. Instead, it happens because (a) the text string occurs at the start of a (logical) paragraph and (b) the article
document class (along with many other document classes) sets a non-zero value of parindent
, which is the parameter that governs how much the first line of a paragraph is indented.
Notice also that the first line is indented even more than the second line is. What is the difference between textbf{ Large Once}
and textbf{Large Once}
? It's the whitespace character between {
and Large
. TeX does not gobble up all whitespace character. Beware the Ides of March. And beware carelessly inserted whitespace.
The fourth and fifth lines show how to suppress the indentation of the first line of a paragraph: For one-off suppression, use noindent
; for global suppression, set parindent
to 0pt
. Aside: If you set parindent
to 0pt
, you should probably also set parskip
-- the parameter that governs the amount of vertical whitespace between paragraphs to a non-zero value, e.g., setlengthparskip{0.5baselineskip}
.
add a comment |
There are two separate issues that keep the text from starting at the left-hand margin of the text block. Neither issue is actually associated with the fact that the text string happens to be rendered in bold&large.
Let's begin by studying an augmented version of the OP's MWE, along with a screenshot of the associated output. (The vertical line down the left-hand edge represents the edge of the text block.)
documentclass{article}
usepackage{showframe} % to show edges of text block
newcommandOnce{Once upon a time, dots} % test text string
begin{document}
vspace*{1mm} % just for this example
textbf{ Large Once} % OP's example
textbf{Large Once} % no space before "Large"
Once % normal font size and font weight
noindent
textbf{Large Once} % no more indentation!
setlengthparindent{0pt} % suppress paragraph indentation globally
textbf{Large Once}
end{document}
As the third line shows, the indentation issue is not caused by the fact that the text string is rendered in bold/large. Instead, it happens because (a) the text string occurs at the start of a (logical) paragraph and (b) the article
document class (along with many other document classes) sets a non-zero value of parindent
, which is the parameter that governs how much the first line of a paragraph is indented.
Notice also that the first line is indented even more than the second line is. What is the difference between textbf{ Large Once}
and textbf{Large Once}
? It's the whitespace character between {
and Large
. TeX does not gobble up all whitespace character. Beware the Ides of March. And beware carelessly inserted whitespace.
The fourth and fifth lines show how to suppress the indentation of the first line of a paragraph: For one-off suppression, use noindent
; for global suppression, set parindent
to 0pt
. Aside: If you set parindent
to 0pt
, you should probably also set parskip
-- the parameter that governs the amount of vertical whitespace between paragraphs to a non-zero value, e.g., setlengthparskip{0.5baselineskip}
.
add a comment |
There are two separate issues that keep the text from starting at the left-hand margin of the text block. Neither issue is actually associated with the fact that the text string happens to be rendered in bold&large.
Let's begin by studying an augmented version of the OP's MWE, along with a screenshot of the associated output. (The vertical line down the left-hand edge represents the edge of the text block.)
documentclass{article}
usepackage{showframe} % to show edges of text block
newcommandOnce{Once upon a time, dots} % test text string
begin{document}
vspace*{1mm} % just for this example
textbf{ Large Once} % OP's example
textbf{Large Once} % no space before "Large"
Once % normal font size and font weight
noindent
textbf{Large Once} % no more indentation!
setlengthparindent{0pt} % suppress paragraph indentation globally
textbf{Large Once}
end{document}
As the third line shows, the indentation issue is not caused by the fact that the text string is rendered in bold/large. Instead, it happens because (a) the text string occurs at the start of a (logical) paragraph and (b) the article
document class (along with many other document classes) sets a non-zero value of parindent
, which is the parameter that governs how much the first line of a paragraph is indented.
Notice also that the first line is indented even more than the second line is. What is the difference between textbf{ Large Once}
and textbf{Large Once}
? It's the whitespace character between {
and Large
. TeX does not gobble up all whitespace character. Beware the Ides of March. And beware carelessly inserted whitespace.
The fourth and fifth lines show how to suppress the indentation of the first line of a paragraph: For one-off suppression, use noindent
; for global suppression, set parindent
to 0pt
. Aside: If you set parindent
to 0pt
, you should probably also set parskip
-- the parameter that governs the amount of vertical whitespace between paragraphs to a non-zero value, e.g., setlengthparskip{0.5baselineskip}
.
There are two separate issues that keep the text from starting at the left-hand margin of the text block. Neither issue is actually associated with the fact that the text string happens to be rendered in bold&large.
Let's begin by studying an augmented version of the OP's MWE, along with a screenshot of the associated output. (The vertical line down the left-hand edge represents the edge of the text block.)
documentclass{article}
usepackage{showframe} % to show edges of text block
newcommandOnce{Once upon a time, dots} % test text string
begin{document}
vspace*{1mm} % just for this example
textbf{ Large Once} % OP's example
textbf{Large Once} % no space before "Large"
Once % normal font size and font weight
noindent
textbf{Large Once} % no more indentation!
setlengthparindent{0pt} % suppress paragraph indentation globally
textbf{Large Once}
end{document}
As the third line shows, the indentation issue is not caused by the fact that the text string is rendered in bold/large. Instead, it happens because (a) the text string occurs at the start of a (logical) paragraph and (b) the article
document class (along with many other document classes) sets a non-zero value of parindent
, which is the parameter that governs how much the first line of a paragraph is indented.
Notice also that the first line is indented even more than the second line is. What is the difference between textbf{ Large Once}
and textbf{Large Once}
? It's the whitespace character between {
and Large
. TeX does not gobble up all whitespace character. Beware the Ides of March. And beware carelessly inserted whitespace.
The fourth and fifth lines show how to suppress the indentation of the first line of a paragraph: For one-off suppression, use noindent
; for global suppression, set parindent
to 0pt
. Aside: If you set parindent
to 0pt
, you should probably also set parskip
-- the parameter that governs the amount of vertical whitespace between paragraphs to a non-zero value, e.g., setlengthparskip{0.5baselineskip}
.
answered 4 hours ago
MicoMico
280k31381770
280k31381770
add a comment |
add a comment |
Vane Voe is a new contributor. Be nice, and check out our Code of Conduct.
Vane Voe is a new contributor. Be nice, and check out our Code of Conduct.
Vane Voe is a new contributor. Be nice, and check out our Code of Conduct.
Vane Voe is a new contributor. Be nice, and check out our Code of Conduct.
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%2f476418%2fhow-do-you-get-rid-of-the-extra-space-that-bold-or-large-face-characters-make%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
Welcome to TeX-SE! Try
documentclass[letterpaper,10pt]{article} begin{document} noindent textbf{Large Blahblahblah} end{document}
.– marmot
5 hours ago
That did the trick, thank you.
– Vane Voe
5 hours ago
That doesn't magically make it off topic, this is obviously related to TeX. There is a general rule in stackexchange to wait a day before accepting something as an official answer. Furthermore, if someone else has this question they can find the answer here instead of asking it again.
– Vane Voe
5 hours ago
@VaneVoe Yes, off course it is on-topic. However, it is a tradition here that if a question is solved in comments, it will be closed as off-topic. Look at this question for example.
– JouleV
4 hours ago
1
@marmot No, it is obviously not a criticism to me and I see that none of your comments so far has ever criticized me :)
– JouleV
4 hours ago