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?

Mimic lecturing on blackboard, facing audience

How can I, as DM, avoid the Conga Line of Death occurring when implementing some form of flanking rule?

Confusion over Hunter with Crossbow Expert and Giant Killer

Is there anyway, I can have two passwords for my wi-fi

Pre-Employment Background Check With Consent For Future Checks

Overlapping circles covering polygon

Telemetry for feature health

Unable to disable Microsoft Store in domain environment

Do I have to take mana from my deck or hand when tapping a dual land?

Why the "ls" command is showing the permissions of files in a FAT32 partition?

Echo with obfuscation

What the heck is gets(stdin) on site coderbyte?

Limit max CPU usage SQL SERVER with WSRM

Given this phrasing in the lease, when should I pay my rent?

Anime with legendary swords made from talismans and a man who could change them with a shattered body

Sound waves in different octaves

How to understand "he realized a split second too late was also a mistake"

Isometric embedding of a genus g surface

How do you justify more code being written by following clean code practices?

How to test the sharpness of a knife?

The Digit Triangles

Difference between shutdown options

How to preserve electronics (computers, iPads and phones) for hundreds of years

How do I tell my boss that I'm quitting in 15 days (a colleague left this week)



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 1 min ago









            inavda

            3




            3










            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

                    Lioubotyn Sommaire Géographie | Histoire | Population | Notes et références | Liens externes | Menu de navigationlubotin.kharkov.uamodifier« Recensements et estimations de la population depuis 1897 »« Office des statistiques d'Ukraine : population au 1er janvier 2010, 2011 et 2012 »« Office des statistiques d'Ukraine : population au 1er janvier 2011, 2012 et 2013 »Informations officiellesCartes topographiquesCarte routièrem

                    Isabella Eugénie Boyer Biographie | Références | Menu de navigationmodifiermodifier le codeComparator to Compute the Relative Value of a U.S. Dollar Amount – 1774 to Present.

                    Mpande kaSenzangakhona Biographie | Références | Menu de navigationmodifierMpande kaSenzangakhonavoir la liste des auteursm