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?













83















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?










share|improve this question




























    83















    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?










    share|improve this question


























      83












      83








      83


      22






      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?










      share|improve this question
















      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 17 '11 at 12:20









      lockstep

      192k53593723




      192k53593723










      asked Jul 29 '10 at 16:13









      Michael UnderwoodMichael Underwood

      10.7k104440




      10.7k104440




















          6 Answers
          6






          active

          oldest

          votes


















          36














          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





          share|improve this answer




















          • 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






          • 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


















          73














          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.






          share|improve this answer

























          • 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











          • 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


















          30














          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


          enter image description here






          share|improve this answer




















          • 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



















          6














          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





          share|improve this answer




















          • 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


















          5














          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.






          share|improve this answer






























            5














            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.






            share|improve this answer




















            • 3





              FYI: the newgeometry and restoregeometry commands cause a page break.

              – cjm
              Apr 26 '16 at 4:24










            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
            );



            );













            draft saved

            draft discarded


















            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









            36














            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





            share|improve this answer




















            • 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






            • 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















            36














            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





            share|improve this answer




















            • 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






            • 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













            36












            36








            36







            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





            share|improve this answer















            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






            share|improve this answer














            share|improve this answer



            share|improve this answer








            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 the beginadjustwidthleft 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





              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





              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











            73














            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.






            share|improve this answer

























            • 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











            • 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















            73














            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.






            share|improve this answer

























            • 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











            • 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













            73












            73








            73







            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.






            share|improve this answer















            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.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            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 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











            • 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











            • @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











            30














            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


            enter image description here






            share|improve this answer




















            • 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
















            30














            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


            enter image description here






            share|improve this answer




















            • 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














            30












            30








            30







            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


            enter image description here






            share|improve this answer















            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


            enter image description here







            share|improve this answer














            share|improve this answer



            share|improve this answer








            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













            • 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












            6














            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





            share|improve this answer




















            • 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















            6














            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





            share|improve this answer




















            • 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













            6












            6








            6







            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





            share|improve this answer















            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






            share|improve this answer














            share|improve this answer



            share|improve this answer








            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












            • 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











            5














            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.






            share|improve this answer



























              5














              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.






              share|improve this answer

























                5












                5








                5







                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.






                share|improve this answer













                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.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jul 29 '10 at 17:07









                Yossi FarjounYossi Farjoun

                8,09696090




                8,09696090





















                    5














                    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.






                    share|improve this answer




















                    • 3





                      FYI: the newgeometry and restoregeometry commands cause a page break.

                      – cjm
                      Apr 26 '16 at 4:24















                    5














                    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.






                    share|improve this answer




















                    • 3





                      FYI: the newgeometry and restoregeometry commands cause a page break.

                      – cjm
                      Apr 26 '16 at 4:24













                    5












                    5








                    5







                    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.






                    share|improve this answer















                    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.







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Jul 24 '13 at 12:48









                    lockstep

                    192k53593723




                    192k53593723










                    answered Aug 2 '10 at 1:48









                    Stefan KottwitzStefan Kottwitz

                    178k65572761




                    178k65572761







                    • 3





                      FYI: the newgeometry and restoregeometry commands cause a page break.

                      – cjm
                      Apr 26 '16 at 4:24












                    • 3





                      FYI: the newgeometry and restoregeometry 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

















                    draft saved

                    draft discarded
















































                    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.




                    draft saved


                    draft discarded














                    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





















































                    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







                    Popular posts from this blog

                    How should I use the fbox command correctly to avoid producing a Bad Box message?How to put a long piece of text in a box?How to specify height and width of fboxIs there an arrayrulecolor-like command to change the rule color of fbox?What is the command to highlight bad boxes in pdf?Why does fbox sometimes place the box *over* the graphic image?how to put the text in the boxHow to create command for a box where text inside the box can automatically adjust?how can I make an fbox like command with certain color, shape and width of border?how to use fbox in align modeFbox increase the spacing between the box and it content (inner margin)how to change the box height of an equationWhat is the use of the hbox in a newcommand command?

                    Doxepinum Nexus interni Notae | Tabula navigationis3158DB01142WHOa682390"Structural Analysis of the Histamine H1 Receptor""Transdermal and Topical Drug Administration in the Treatment of Pain""Antidepressants as antipruritic agents: A review"

                    inputenc: Unicode character … not set up for use with LaTeX The Next CEO of Stack OverflowEntering Unicode characters in LaTeXHow to solve the `Package inputenc Error: Unicode char not set up for use with LaTeX` problem?solve “Unicode char is not set up for use with LaTeX” without special handling of every new interesting UTF-8 characterPackage inputenc Error: Unicode character ² (U+B2)(inputenc) not set up for use with LaTeX. acroI2C[I²C]package inputenc error unicode char (u + 190) not set up for use with latexPackage inputenc Error: Unicode char u8:′ not set up for use with LaTeX. 3′inputenc Error: Unicode char u8: not set up for use with LaTeX with G-BriefPackage Inputenc Error: Unicode char u8: not set up for use with LaTeXPackage inputenc Error: Unicode char ́ (U+301)(inputenc) not set up for use with LaTeX. includePackage inputenc Error: Unicode char ̂ (U+302)(inputenc) not set up for use with LaTeX. … $widehatleft (OA,AA' right )$Package inputenc Error: Unicode char â„¡ (U+2121)(inputenc) not set up for use with LaTeX. printbibliography[heading=bibintoc]Package inputenc Error: Unicode char − (U+2212)(inputenc) not set up for use with LaTeXPackage inputenc Error: Unicode character α (U+3B1) not set up for use with LaTeXPackage inputenc Error: Unicode characterError: ! Package inputenc Error: Unicode char ⊘ (U+2298)(inputenc) not set up for use with LaTeX