How can I change the margins for only part of the text?Text left spacing (local “margin”)How to have two left margins at different points on one page?Change text width in a specific part of a chapter or sectionChanging the textwidthIndenting and justifying a paragraphMinipage that allows page breaks?“Bleed” text into the page margins?Two-colum task list with status informationLaTeX equivalent of MS Word StylesHow to make fbox fit automatically around wide equations using empheq packagefullwidth: Trying to change paragraph margins doesn't work as expectedEnvironment for text to run into marginsChanging top, bottom, left & right margins on the flyIndentation for quotes in LaTeXChange margins of quotation environment asymmetricallyMargin adjustment for section textGlobal setting of adjustwidth is ignored by figuresNegative indentation for beamer bibliographyAbstract same indentation as rest of sectionsHow can I ensure paragraph text in a figure has no side effects?
Language involving irrational number is not a CFL
Can I say "fingers" when referring to toes?
Why didn’t Eve recognize the little cockroach as a living organism?
Giving feedback to someone without sounding prejudiced
What is this high flying aircraft over Pennsylvania?
Review your own paper in Mathematics
How to get directions in deep space?
Is there anyway, I can have two passwords for my wi-fi
Make a Bowl of Alphabet Soup
Grepping string, but include all non-blank lines following each grep match
What should be the ideal length of sentences in a blog post for ease of reading?
Origin of pigs as a species
What's the name of the logical fallacy where a debater extends a statement far beyond the original statement to make it true?
If the only attacker is removed from combat, is a creature still counted as having attacked this turn?
Identifying "long and narrow" polygons in with PostGIS
Why is participating in the European Parliamentary elections used as a threat?
Why is the principal energy of an electron lower for excited electrons in a higher energy state?
When and why was runway 07/25 at Kai Tak removed?
Pre-Employment Background Check With Consent For Future Checks
Determining multivariate least squares with constraint
How do I prevent inappropriate ads from appearing in my game?
How to understand "he realized a split second too late was also a mistake"
Sound waves in different octaves
What happens if I try to grapple mirror image?
How can I change the margins for only part of the text?
Text left spacing (local “margin”)How to have two left margins at different points on one page?Change text width in a specific part of a chapter or sectionChanging the textwidthIndenting and justifying a paragraphMinipage that allows page breaks?“Bleed” text into the page margins?Two-colum task list with status informationLaTeX equivalent of MS Word StylesHow to make fbox fit automatically around wide equations using empheq packagefullwidth: Trying to change paragraph margins doesn't work as expectedEnvironment for text to run into marginsChanging top, bottom, left & right margins on the flyIndentation for quotes in LaTeXChange margins of quotation environment asymmetricallyMargin adjustment for section textGlobal setting of adjustwidth is ignored by figuresNegative indentation for beamer bibliographyAbstract same indentation as rest of sectionsHow can I ensure paragraph text in a figure has no side effects?
Sometimes the margins need to be changed for a particular page, paragraph, or other section of text. For example, if I'm writing a letter and want the left margin to be almost at the right side of the page for the four lines of my address, or if I am combining prose with poetry and want the poems to be indented relative to the rest of the work.
What is the best way to change both left and right margins on the fly?
indentation
add a comment |
Sometimes the margins need to be changed for a particular page, paragraph, or other section of text. For example, if I'm writing a letter and want the left margin to be almost at the right side of the page for the four lines of my address, or if I am combining prose with poetry and want the poems to be indented relative to the rest of the work.
What is the best way to change both left and right margins on the fly?
indentation
add a comment |
Sometimes the margins need to be changed for a particular page, paragraph, or other section of text. For example, if I'm writing a letter and want the left margin to be almost at the right side of the page for the four lines of my address, or if I am combining prose with poetry and want the poems to be indented relative to the rest of the work.
What is the best way to change both left and right margins on the fly?
indentation
Sometimes the margins need to be changed for a particular page, paragraph, or other section of text. For example, if I'm writing a letter and want the left margin to be almost at the right side of the page for the four lines of my address, or if I am combining prose with poetry and want the poems to be indented relative to the rest of the work.
What is the best way to change both left and right margins on the fly?
indentation
indentation
edited Dec 17 '11 at 12:20
lockstep
192k53593723
192k53593723
asked Jul 29 '10 at 16:13
Michael UnderwoodMichael Underwood
10.7k104440
10.7k104440
add a comment |
add a comment |
6 Answers
6
active
oldest
votes
There are several packages available on CTAN to do this. changepage
looks promising but you can find other alternatives by searching for "margins" or "changepage" on ctan search.
With the changepage
package, you can use the adjustwidth
environment as follows:
beginadjustwidthleft amountright amount
lipsum[2]
endadjustwidth
For example, to remove 100pt from the margin on both sides, you would use
beginadjustwidth100pt100pt
7
changepage
seems to do just what I'm after, through thebeginadjustwidthleft change lengthright change length
environment. Thanks!
– Michael Underwood
Jul 29 '10 at 17:49
1
A little more specifically,beginadjustwidth50pt-200pt XXX endadjustwidth
adds 50pt to the left margin and subtracts 200pt from the right margin.
– Kenny LJ
May 14 '18 at 5:20
add a comment |
Here is how you can do it. Put the following in the preamble (before begindocument
)
defchangemargin#1#2listrightmargin#2leftmargin#1item[]
letendchangemargin=endlist
then in the text you can use
beginchangemargin<arg><arg>
endchangemargin
where <arg>
is the distance you want to include on the margin (the first one defines the right-hand side margin, and the second defines the left-hand side one).
So, for example, to add 0.5 cm to the margins on either side, you would have:
beginchangemargin0.5cm0.5cm
%your text here
endchangemargin
This is exactly how the command
beginquote
endquote
is defined, but with the set to 1cm. The command quote can be used without having to load any packages, by the way.
Thanks Vivi. I take it you mean "where <arg> is the distance...", right? Are there any advantages to this version over using a package such aschangepage
?
– Michael Underwood
Jul 30 '10 at 22:32
@Michael: Sorry, because of html the <arg> was not showing (though it was written). About the advantages over changepage, I really don't know. I have never used changepage and didn't even know it existed. I guess I need to try it out :) Have you tried the package yet? Is it good and straightforward?
– Vivi
Jul 30 '10 at 22:39
I haven't used it for a specific purpose yet, but was able to figure out how to do what I asked for and test it out within minutes of seeing David's suggestion. Some advantages claimed in the documentation that I haven't tested are: Correctly identifying left- and right-side pages if they are different; working inside floats; being able to change the top and bottom margins as well as left and right.
– Michael Underwood
Jul 30 '10 at 22:58
This is a very elegant solution. Works perfectly, even inside a float (which is where i needed it).
– Trevor
Oct 22 '12 at 22:17
The command dont works if you use it with a long text running across pages in a document definided with not equals inner and outer margins.
– Raffaele Santoro
Dec 28 '13 at 3:44
|
show 1 more comment
With either one of the KOMA-Script
classes or the package scrextend
(which is part of KOMA-Script
), you can use the addmargin
environment.
documentclassarticle
usepackagescrextend
usepackage[english]babel
usepackageblindtext
begindocument
blindtext
% Syntax: beginaddmargin[<left indentation>]<indentation>
beginaddmargin[4em]1em
blindtext
endaddmargin
blindtext
enddocument
1
thanks for that, that's exactly what i've been looking for for a while now.
– David Wright
Apr 21 '13 at 12:55
N.B. If used within an enumerated environment, this will remove the enumeration, i.e. you can't use it to adjust the margin of enumerated items.
– Rax Adaam
Apr 10 '18 at 15:47
add a comment |
what about the narrower
(TeX?) command? Is it ok to use even though it does not offer a very precise control?
documentclass[11pt]book
usepackage[latin1]inputenc
usepackage[a4paper,top=3.5cm,bottom=3cm,left=3.6cm,right=3.6cm]geometry
usepackagelipsum
begindocument
lipsum[4]
narrowerlipsum[4]
par
lipsum[4]
lipsum[4]
lipsum[4]
lipsum[4]
narrowernarrowernarrower lipsum[4]
par
lipsum[4]
enddocument
1
narrower will indent the text by one parindent. For more precise control one can also use hskip 10pt etc. Of course is ok if you only want to indent once. narrowernarrower will indent both left and right.
– Yiannis Lazarides
Sep 30 '10 at 1:47
add a comment |
It might not answer the question directly, but:
There is a letter
class:
documentclassletter
for writing letters.
And for verse there is a package called...wait for it...verse:
usepackageverse
As I said, it doesn't answer the specific question, but it might solve the two applications you want the solution for.
add a comment |
Earlier versions of the geometry
package did not allow to change the margins inside the document. The package gmeometric
could help then.
Today geometry
supports changing the margin inside the document by its commands newgeometry...
accepting the same key=value
arguments and by restoregeometry
, see the manual of the current package version.
3
FYI: thenewgeometry
andrestoregeometry
commands cause a page break.
– cjm
Apr 26 '16 at 4:24
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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%2f588%2fhow-can-i-change-the-margins-for-only-part-of-the-text%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
6 Answers
6
active
oldest
votes
6 Answers
6
active
oldest
votes
active
oldest
votes
active
oldest
votes
There are several packages available on CTAN to do this. changepage
looks promising but you can find other alternatives by searching for "margins" or "changepage" on ctan search.
With the changepage
package, you can use the adjustwidth
environment as follows:
beginadjustwidthleft amountright amount
lipsum[2]
endadjustwidth
For example, to remove 100pt from the margin on both sides, you would use
beginadjustwidth100pt100pt
7
changepage
seems to do just what I'm after, through thebeginadjustwidthleft change lengthright change length
environment. Thanks!
– Michael Underwood
Jul 29 '10 at 17:49
1
A little more specifically,beginadjustwidth50pt-200pt XXX endadjustwidth
adds 50pt to the left margin and subtracts 200pt from the right margin.
– Kenny LJ
May 14 '18 at 5:20
add a comment |
There are several packages available on CTAN to do this. changepage
looks promising but you can find other alternatives by searching for "margins" or "changepage" on ctan search.
With the changepage
package, you can use the adjustwidth
environment as follows:
beginadjustwidthleft amountright amount
lipsum[2]
endadjustwidth
For example, to remove 100pt from the margin on both sides, you would use
beginadjustwidth100pt100pt
7
changepage
seems to do just what I'm after, through thebeginadjustwidthleft change lengthright change length
environment. Thanks!
– Michael Underwood
Jul 29 '10 at 17:49
1
A little more specifically,beginadjustwidth50pt-200pt XXX endadjustwidth
adds 50pt to the left margin and subtracts 200pt from the right margin.
– Kenny LJ
May 14 '18 at 5:20
add a comment |
There are several packages available on CTAN to do this. changepage
looks promising but you can find other alternatives by searching for "margins" or "changepage" on ctan search.
With the changepage
package, you can use the adjustwidth
environment as follows:
beginadjustwidthleft amountright amount
lipsum[2]
endadjustwidth
For example, to remove 100pt from the margin on both sides, you would use
beginadjustwidth100pt100pt
There are several packages available on CTAN to do this. changepage
looks promising but you can find other alternatives by searching for "margins" or "changepage" on ctan search.
With the changepage
package, you can use the adjustwidth
environment as follows:
beginadjustwidthleft amountright amount
lipsum[2]
endadjustwidth
For example, to remove 100pt from the margin on both sides, you would use
beginadjustwidth100pt100pt
edited 11 mins ago
inavda
31
31
answered Jul 29 '10 at 17:34
David ZDavid Z
8,37013956
8,37013956
7
changepage
seems to do just what I'm after, through thebeginadjustwidthleft change lengthright change length
environment. Thanks!
– Michael Underwood
Jul 29 '10 at 17:49
1
A little more specifically,beginadjustwidth50pt-200pt XXX endadjustwidth
adds 50pt to the left margin and subtracts 200pt from the right margin.
– Kenny LJ
May 14 '18 at 5:20
add a comment |
7
changepage
seems to do just what I'm after, through thebeginadjustwidthleft change lengthright change length
environment. Thanks!
– Michael Underwood
Jul 29 '10 at 17:49
1
A little more specifically,beginadjustwidth50pt-200pt XXX endadjustwidth
adds 50pt to the left margin and subtracts 200pt from the right margin.
– Kenny LJ
May 14 '18 at 5:20
7
7
changepage
seems to do just what I'm after, through the beginadjustwidthleft change lengthright change length
environment. Thanks!– Michael Underwood
Jul 29 '10 at 17:49
changepage
seems to do just what I'm after, through the beginadjustwidthleft change lengthright change length
environment. Thanks!– Michael Underwood
Jul 29 '10 at 17:49
1
1
A little more specifically,
beginadjustwidth50pt-200pt XXX endadjustwidth
adds 50pt to the left margin and subtracts 200pt from the right margin.– Kenny LJ
May 14 '18 at 5:20
A little more specifically,
beginadjustwidth50pt-200pt XXX endadjustwidth
adds 50pt to the left margin and subtracts 200pt from the right margin.– Kenny LJ
May 14 '18 at 5:20
add a comment |
Here is how you can do it. Put the following in the preamble (before begindocument
)
defchangemargin#1#2listrightmargin#2leftmargin#1item[]
letendchangemargin=endlist
then in the text you can use
beginchangemargin<arg><arg>
endchangemargin
where <arg>
is the distance you want to include on the margin (the first one defines the right-hand side margin, and the second defines the left-hand side one).
So, for example, to add 0.5 cm to the margins on either side, you would have:
beginchangemargin0.5cm0.5cm
%your text here
endchangemargin
This is exactly how the command
beginquote
endquote
is defined, but with the set to 1cm. The command quote can be used without having to load any packages, by the way.
Thanks Vivi. I take it you mean "where <arg> is the distance...", right? Are there any advantages to this version over using a package such aschangepage
?
– Michael Underwood
Jul 30 '10 at 22:32
@Michael: Sorry, because of html the <arg> was not showing (though it was written). About the advantages over changepage, I really don't know. I have never used changepage and didn't even know it existed. I guess I need to try it out :) Have you tried the package yet? Is it good and straightforward?
– Vivi
Jul 30 '10 at 22:39
I haven't used it for a specific purpose yet, but was able to figure out how to do what I asked for and test it out within minutes of seeing David's suggestion. Some advantages claimed in the documentation that I haven't tested are: Correctly identifying left- and right-side pages if they are different; working inside floats; being able to change the top and bottom margins as well as left and right.
– Michael Underwood
Jul 30 '10 at 22:58
This is a very elegant solution. Works perfectly, even inside a float (which is where i needed it).
– Trevor
Oct 22 '12 at 22:17
The command dont works if you use it with a long text running across pages in a document definided with not equals inner and outer margins.
– Raffaele Santoro
Dec 28 '13 at 3:44
|
show 1 more comment
Here is how you can do it. Put the following in the preamble (before begindocument
)
defchangemargin#1#2listrightmargin#2leftmargin#1item[]
letendchangemargin=endlist
then in the text you can use
beginchangemargin<arg><arg>
endchangemargin
where <arg>
is the distance you want to include on the margin (the first one defines the right-hand side margin, and the second defines the left-hand side one).
So, for example, to add 0.5 cm to the margins on either side, you would have:
beginchangemargin0.5cm0.5cm
%your text here
endchangemargin
This is exactly how the command
beginquote
endquote
is defined, but with the set to 1cm. The command quote can be used without having to load any packages, by the way.
Thanks Vivi. I take it you mean "where <arg> is the distance...", right? Are there any advantages to this version over using a package such aschangepage
?
– Michael Underwood
Jul 30 '10 at 22:32
@Michael: Sorry, because of html the <arg> was not showing (though it was written). About the advantages over changepage, I really don't know. I have never used changepage and didn't even know it existed. I guess I need to try it out :) Have you tried the package yet? Is it good and straightforward?
– Vivi
Jul 30 '10 at 22:39
I haven't used it for a specific purpose yet, but was able to figure out how to do what I asked for and test it out within minutes of seeing David's suggestion. Some advantages claimed in the documentation that I haven't tested are: Correctly identifying left- and right-side pages if they are different; working inside floats; being able to change the top and bottom margins as well as left and right.
– Michael Underwood
Jul 30 '10 at 22:58
This is a very elegant solution. Works perfectly, even inside a float (which is where i needed it).
– Trevor
Oct 22 '12 at 22:17
The command dont works if you use it with a long text running across pages in a document definided with not equals inner and outer margins.
– Raffaele Santoro
Dec 28 '13 at 3:44
|
show 1 more comment
Here is how you can do it. Put the following in the preamble (before begindocument
)
defchangemargin#1#2listrightmargin#2leftmargin#1item[]
letendchangemargin=endlist
then in the text you can use
beginchangemargin<arg><arg>
endchangemargin
where <arg>
is the distance you want to include on the margin (the first one defines the right-hand side margin, and the second defines the left-hand side one).
So, for example, to add 0.5 cm to the margins on either side, you would have:
beginchangemargin0.5cm0.5cm
%your text here
endchangemargin
This is exactly how the command
beginquote
endquote
is defined, but with the set to 1cm. The command quote can be used without having to load any packages, by the way.
Here is how you can do it. Put the following in the preamble (before begindocument
)
defchangemargin#1#2listrightmargin#2leftmargin#1item[]
letendchangemargin=endlist
then in the text you can use
beginchangemargin<arg><arg>
endchangemargin
where <arg>
is the distance you want to include on the margin (the first one defines the right-hand side margin, and the second defines the left-hand side one).
So, for example, to add 0.5 cm to the margins on either side, you would have:
beginchangemargin0.5cm0.5cm
%your text here
endchangemargin
This is exactly how the command
beginquote
endquote
is defined, but with the set to 1cm. The command quote can be used without having to load any packages, by the way.
edited Jul 24 '13 at 12:49
lockstep
192k53593723
192k53593723
answered Jul 29 '10 at 19:12
ViviVivi
14.2k296677
14.2k296677
Thanks Vivi. I take it you mean "where <arg> is the distance...", right? Are there any advantages to this version over using a package such aschangepage
?
– Michael Underwood
Jul 30 '10 at 22:32
@Michael: Sorry, because of html the <arg> was not showing (though it was written). About the advantages over changepage, I really don't know. I have never used changepage and didn't even know it existed. I guess I need to try it out :) Have you tried the package yet? Is it good and straightforward?
– Vivi
Jul 30 '10 at 22:39
I haven't used it for a specific purpose yet, but was able to figure out how to do what I asked for and test it out within minutes of seeing David's suggestion. Some advantages claimed in the documentation that I haven't tested are: Correctly identifying left- and right-side pages if they are different; working inside floats; being able to change the top and bottom margins as well as left and right.
– Michael Underwood
Jul 30 '10 at 22:58
This is a very elegant solution. Works perfectly, even inside a float (which is where i needed it).
– Trevor
Oct 22 '12 at 22:17
The command dont works if you use it with a long text running across pages in a document definided with not equals inner and outer margins.
– Raffaele Santoro
Dec 28 '13 at 3:44
|
show 1 more comment
Thanks Vivi. I take it you mean "where <arg> is the distance...", right? Are there any advantages to this version over using a package such aschangepage
?
– Michael Underwood
Jul 30 '10 at 22:32
@Michael: Sorry, because of html the <arg> was not showing (though it was written). About the advantages over changepage, I really don't know. I have never used changepage and didn't even know it existed. I guess I need to try it out :) Have you tried the package yet? Is it good and straightforward?
– Vivi
Jul 30 '10 at 22:39
I haven't used it for a specific purpose yet, but was able to figure out how to do what I asked for and test it out within minutes of seeing David's suggestion. Some advantages claimed in the documentation that I haven't tested are: Correctly identifying left- and right-side pages if they are different; working inside floats; being able to change the top and bottom margins as well as left and right.
– Michael Underwood
Jul 30 '10 at 22:58
This is a very elegant solution. Works perfectly, even inside a float (which is where i needed it).
– Trevor
Oct 22 '12 at 22:17
The command dont works if you use it with a long text running across pages in a document definided with not equals inner and outer margins.
– Raffaele Santoro
Dec 28 '13 at 3:44
Thanks Vivi. I take it you mean "where <arg> is the distance...", right? Are there any advantages to this version over using a package such as
changepage
?– Michael Underwood
Jul 30 '10 at 22:32
Thanks Vivi. I take it you mean "where <arg> is the distance...", right? Are there any advantages to this version over using a package such as
changepage
?– Michael Underwood
Jul 30 '10 at 22:32
@Michael: Sorry, because of html the <arg> was not showing (though it was written). About the advantages over changepage, I really don't know. I have never used changepage and didn't even know it existed. I guess I need to try it out :) Have you tried the package yet? Is it good and straightforward?
– Vivi
Jul 30 '10 at 22:39
@Michael: Sorry, because of html the <arg> was not showing (though it was written). About the advantages over changepage, I really don't know. I have never used changepage and didn't even know it existed. I guess I need to try it out :) Have you tried the package yet? Is it good and straightforward?
– Vivi
Jul 30 '10 at 22:39
I haven't used it for a specific purpose yet, but was able to figure out how to do what I asked for and test it out within minutes of seeing David's suggestion. Some advantages claimed in the documentation that I haven't tested are: Correctly identifying left- and right-side pages if they are different; working inside floats; being able to change the top and bottom margins as well as left and right.
– Michael Underwood
Jul 30 '10 at 22:58
I haven't used it for a specific purpose yet, but was able to figure out how to do what I asked for and test it out within minutes of seeing David's suggestion. Some advantages claimed in the documentation that I haven't tested are: Correctly identifying left- and right-side pages if they are different; working inside floats; being able to change the top and bottom margins as well as left and right.
– Michael Underwood
Jul 30 '10 at 22:58
This is a very elegant solution. Works perfectly, even inside a float (which is where i needed it).
– Trevor
Oct 22 '12 at 22:17
This is a very elegant solution. Works perfectly, even inside a float (which is where i needed it).
– Trevor
Oct 22 '12 at 22:17
The command dont works if you use it with a long text running across pages in a document definided with not equals inner and outer margins.
– Raffaele Santoro
Dec 28 '13 at 3:44
The command dont works if you use it with a long text running across pages in a document definided with not equals inner and outer margins.
– Raffaele Santoro
Dec 28 '13 at 3:44
|
show 1 more comment
With either one of the KOMA-Script
classes or the package scrextend
(which is part of KOMA-Script
), you can use the addmargin
environment.
documentclassarticle
usepackagescrextend
usepackage[english]babel
usepackageblindtext
begindocument
blindtext
% Syntax: beginaddmargin[<left indentation>]<indentation>
beginaddmargin[4em]1em
blindtext
endaddmargin
blindtext
enddocument
1
thanks for that, that's exactly what i've been looking for for a while now.
– David Wright
Apr 21 '13 at 12:55
N.B. If used within an enumerated environment, this will remove the enumeration, i.e. you can't use it to adjust the margin of enumerated items.
– Rax Adaam
Apr 10 '18 at 15:47
add a comment |
With either one of the KOMA-Script
classes or the package scrextend
(which is part of KOMA-Script
), you can use the addmargin
environment.
documentclassarticle
usepackagescrextend
usepackage[english]babel
usepackageblindtext
begindocument
blindtext
% Syntax: beginaddmargin[<left indentation>]<indentation>
beginaddmargin[4em]1em
blindtext
endaddmargin
blindtext
enddocument
1
thanks for that, that's exactly what i've been looking for for a while now.
– David Wright
Apr 21 '13 at 12:55
N.B. If used within an enumerated environment, this will remove the enumeration, i.e. you can't use it to adjust the margin of enumerated items.
– Rax Adaam
Apr 10 '18 at 15:47
add a comment |
With either one of the KOMA-Script
classes or the package scrextend
(which is part of KOMA-Script
), you can use the addmargin
environment.
documentclassarticle
usepackagescrextend
usepackage[english]babel
usepackageblindtext
begindocument
blindtext
% Syntax: beginaddmargin[<left indentation>]<indentation>
beginaddmargin[4em]1em
blindtext
endaddmargin
blindtext
enddocument
With either one of the KOMA-Script
classes or the package scrextend
(which is part of KOMA-Script
), you can use the addmargin
environment.
documentclassarticle
usepackagescrextend
usepackage[english]babel
usepackageblindtext
begindocument
blindtext
% Syntax: beginaddmargin[<left indentation>]<indentation>
beginaddmargin[4em]1em
blindtext
endaddmargin
blindtext
enddocument
edited Jul 24 '13 at 12:45
answered Aug 12 '10 at 22:10
locksteplockstep
192k53593723
192k53593723
1
thanks for that, that's exactly what i've been looking for for a while now.
– David Wright
Apr 21 '13 at 12:55
N.B. If used within an enumerated environment, this will remove the enumeration, i.e. you can't use it to adjust the margin of enumerated items.
– Rax Adaam
Apr 10 '18 at 15:47
add a comment |
1
thanks for that, that's exactly what i've been looking for for a while now.
– David Wright
Apr 21 '13 at 12:55
N.B. If used within an enumerated environment, this will remove the enumeration, i.e. you can't use it to adjust the margin of enumerated items.
– Rax Adaam
Apr 10 '18 at 15:47
1
1
thanks for that, that's exactly what i've been looking for for a while now.
– David Wright
Apr 21 '13 at 12:55
thanks for that, that's exactly what i've been looking for for a while now.
– David Wright
Apr 21 '13 at 12:55
N.B. If used within an enumerated environment, this will remove the enumeration, i.e. you can't use it to adjust the margin of enumerated items.
– Rax Adaam
Apr 10 '18 at 15:47
N.B. If used within an enumerated environment, this will remove the enumeration, i.e. you can't use it to adjust the margin of enumerated items.
– Rax Adaam
Apr 10 '18 at 15:47
add a comment |
what about the narrower
(TeX?) command? Is it ok to use even though it does not offer a very precise control?
documentclass[11pt]book
usepackage[latin1]inputenc
usepackage[a4paper,top=3.5cm,bottom=3cm,left=3.6cm,right=3.6cm]geometry
usepackagelipsum
begindocument
lipsum[4]
narrowerlipsum[4]
par
lipsum[4]
lipsum[4]
lipsum[4]
lipsum[4]
narrowernarrowernarrower lipsum[4]
par
lipsum[4]
enddocument
1
narrower will indent the text by one parindent. For more precise control one can also use hskip 10pt etc. Of course is ok if you only want to indent once. narrowernarrower will indent both left and right.
– Yiannis Lazarides
Sep 30 '10 at 1:47
add a comment |
what about the narrower
(TeX?) command? Is it ok to use even though it does not offer a very precise control?
documentclass[11pt]book
usepackage[latin1]inputenc
usepackage[a4paper,top=3.5cm,bottom=3cm,left=3.6cm,right=3.6cm]geometry
usepackagelipsum
begindocument
lipsum[4]
narrowerlipsum[4]
par
lipsum[4]
lipsum[4]
lipsum[4]
lipsum[4]
narrowernarrowernarrower lipsum[4]
par
lipsum[4]
enddocument
1
narrower will indent the text by one parindent. For more precise control one can also use hskip 10pt etc. Of course is ok if you only want to indent once. narrowernarrower will indent both left and right.
– Yiannis Lazarides
Sep 30 '10 at 1:47
add a comment |
what about the narrower
(TeX?) command? Is it ok to use even though it does not offer a very precise control?
documentclass[11pt]book
usepackage[latin1]inputenc
usepackage[a4paper,top=3.5cm,bottom=3cm,left=3.6cm,right=3.6cm]geometry
usepackagelipsum
begindocument
lipsum[4]
narrowerlipsum[4]
par
lipsum[4]
lipsum[4]
lipsum[4]
lipsum[4]
narrowernarrowernarrower lipsum[4]
par
lipsum[4]
enddocument
what about the narrower
(TeX?) command? Is it ok to use even though it does not offer a very precise control?
documentclass[11pt]book
usepackage[latin1]inputenc
usepackage[a4paper,top=3.5cm,bottom=3cm,left=3.6cm,right=3.6cm]geometry
usepackagelipsum
begindocument
lipsum[4]
narrowerlipsum[4]
par
lipsum[4]
lipsum[4]
lipsum[4]
lipsum[4]
narrowernarrowernarrower lipsum[4]
par
lipsum[4]
enddocument
edited Jul 24 '13 at 12:49
lockstep
192k53593723
192k53593723
answered Sep 30 '10 at 1:21
plutonpluton
8,029960133
8,029960133
1
narrower will indent the text by one parindent. For more precise control one can also use hskip 10pt etc. Of course is ok if you only want to indent once. narrowernarrower will indent both left and right.
– Yiannis Lazarides
Sep 30 '10 at 1:47
add a comment |
1
narrower will indent the text by one parindent. For more precise control one can also use hskip 10pt etc. Of course is ok if you only want to indent once. narrowernarrower will indent both left and right.
– Yiannis Lazarides
Sep 30 '10 at 1:47
1
1
narrower will indent the text by one parindent. For more precise control one can also use hskip 10pt etc. Of course is ok if you only want to indent once. narrowernarrower will indent both left and right.
– Yiannis Lazarides
Sep 30 '10 at 1:47
narrower will indent the text by one parindent. For more precise control one can also use hskip 10pt etc. Of course is ok if you only want to indent once. narrowernarrower will indent both left and right.
– Yiannis Lazarides
Sep 30 '10 at 1:47
add a comment |
It might not answer the question directly, but:
There is a letter
class:
documentclassletter
for writing letters.
And for verse there is a package called...wait for it...verse:
usepackageverse
As I said, it doesn't answer the specific question, but it might solve the two applications you want the solution for.
add a comment |
It might not answer the question directly, but:
There is a letter
class:
documentclassletter
for writing letters.
And for verse there is a package called...wait for it...verse:
usepackageverse
As I said, it doesn't answer the specific question, but it might solve the two applications you want the solution for.
add a comment |
It might not answer the question directly, but:
There is a letter
class:
documentclassletter
for writing letters.
And for verse there is a package called...wait for it...verse:
usepackageverse
As I said, it doesn't answer the specific question, but it might solve the two applications you want the solution for.
It might not answer the question directly, but:
There is a letter
class:
documentclassletter
for writing letters.
And for verse there is a package called...wait for it...verse:
usepackageverse
As I said, it doesn't answer the specific question, but it might solve the two applications you want the solution for.
answered Jul 29 '10 at 17:07
Yossi FarjounYossi Farjoun
8,09696090
8,09696090
add a comment |
add a comment |
Earlier versions of the geometry
package did not allow to change the margins inside the document. The package gmeometric
could help then.
Today geometry
supports changing the margin inside the document by its commands newgeometry...
accepting the same key=value
arguments and by restoregeometry
, see the manual of the current package version.
3
FYI: thenewgeometry
andrestoregeometry
commands cause a page break.
– cjm
Apr 26 '16 at 4:24
add a comment |
Earlier versions of the geometry
package did not allow to change the margins inside the document. The package gmeometric
could help then.
Today geometry
supports changing the margin inside the document by its commands newgeometry...
accepting the same key=value
arguments and by restoregeometry
, see the manual of the current package version.
3
FYI: thenewgeometry
andrestoregeometry
commands cause a page break.
– cjm
Apr 26 '16 at 4:24
add a comment |
Earlier versions of the geometry
package did not allow to change the margins inside the document. The package gmeometric
could help then.
Today geometry
supports changing the margin inside the document by its commands newgeometry...
accepting the same key=value
arguments and by restoregeometry
, see the manual of the current package version.
Earlier versions of the geometry
package did not allow to change the margins inside the document. The package gmeometric
could help then.
Today geometry
supports changing the margin inside the document by its commands newgeometry...
accepting the same key=value
arguments and by restoregeometry
, see the manual of the current package version.
edited Jul 24 '13 at 12:48
lockstep
192k53593723
192k53593723
answered Aug 2 '10 at 1:48
Stefan Kottwitz♦Stefan Kottwitz
178k65572761
178k65572761
3
FYI: thenewgeometry
andrestoregeometry
commands cause a page break.
– cjm
Apr 26 '16 at 4:24
add a comment |
3
FYI: thenewgeometry
andrestoregeometry
commands cause a page break.
– cjm
Apr 26 '16 at 4:24
3
3
FYI: the
newgeometry
and restoregeometry
commands cause a page break.– cjm
Apr 26 '16 at 4:24
FYI: the
newgeometry
and restoregeometry
commands cause a page break.– cjm
Apr 26 '16 at 4:24
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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%2f588%2fhow-can-i-change-the-margins-for-only-part-of-the-text%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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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