How can I change the margins for only part of the text?Text left spacing (local “margin”)How to have two...

Echo with obfuscation

Storage of electrolytic capacitors - how long?

I'm just a whisper. Who am I?

The Digit Triangles

Why does a 97 / 92 key piano exist by Bösendorfer?

Proving an identity involving cross products and coplanar vectors

Are Captain Marvel's powers affected by Thanos breaking the Tesseract and claiming the stone?

How to test the sharpness of a knife?

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

Has the laser at Magurele, Romania reached a tenth of the Sun's power?

Would a primitive species be able to learn English from reading books alone?

Pre-Employment Background Check With Consent For Future Checks

Is there a RAID 0 Equivalent for RAM?

Limit max CPU usage SQL SERVER with WSRM

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

ContourPlot — How do I color by contour curvature?

How to calculate a baker's balance available for bond at the beginning of each cycle?

How to make money from a browser who sees 5 seconds into the future of any web page?

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

Should I assume I have passed probation?

Why didn’t Eve recognize the little cockroach as a living organism?

Should I warn a new PhD Student?

Identifying "long and narrow" polygons in with PostGIS

What is the meaning of "You've never met a graph you didn't like?"



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:



          begin{adjustwidth}{left amount}{right amount}
          lipsum[2]
          end{adjustwidth}


          For example, to remove 100pt from the margin on both sides, you would use



          begin{adjustwidth}{100pt}{100pt}





          share|improve this answer





















          • 7





            changepage seems to do just what I'm after, through the begin{adjustwidth}{left change length}{right change length} environment. Thanks!

            – Michael Underwood
            Jul 29 '10 at 17:49






          • 1





            A little more specifically, begin{adjustwidth}{50pt}{-200pt} XXX end{adjustwidth} 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 begin{document})



          defchangemargin#1#2{list{}{rightmargin#2leftmargin#1}item[]}
          letendchangemargin=endlist


          then in the text you can use



          begin{changemargin}{<arg>}{<arg>} 
          end{changemargin}


          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:



          begin{changemargin}{0.5cm}{0.5cm} 
          %your text here
          end{changemargin}


          This is exactly how the command



          begin{quote}
          end{quote}


          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.



          documentclass{article}

          usepackage{scrextend}

          usepackage[english]{babel}
          usepackage{blindtext}

          begin{document}

          blindtext

          % Syntax: begin{addmargin}[<left indentation>]{<indentation>}
          begin{addmargin}[4em]{1em}
          blindtext
          end{addmargin}

          blindtext

          end{document}


          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}
          usepackage{lipsum}
          begin{document}
          lipsum[4]
          {narrowerlipsum[4]
          par}
          lipsum[4]
          lipsum[4]
          lipsum[4]
          lipsum[4]
          {narrowernarrowernarrower lipsum[4]
          par}
          lipsum[4]
          end{document}





          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:



          documentclass{letter}


          for writing letters.



          And for verse there is a package called...wait for it...verse:



          usepackage{verse}


          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:



            begin{adjustwidth}{left amount}{right amount}
            lipsum[2]
            end{adjustwidth}


            For example, to remove 100pt from the margin on both sides, you would use



            begin{adjustwidth}{100pt}{100pt}





            share|improve this answer





















            • 7





              changepage seems to do just what I'm after, through the begin{adjustwidth}{left change length}{right change length} environment. Thanks!

              – Michael Underwood
              Jul 29 '10 at 17:49






            • 1





              A little more specifically, begin{adjustwidth}{50pt}{-200pt} XXX end{adjustwidth} 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:



            begin{adjustwidth}{left amount}{right amount}
            lipsum[2]
            end{adjustwidth}


            For example, to remove 100pt from the margin on both sides, you would use



            begin{adjustwidth}{100pt}{100pt}





            share|improve this answer





















            • 7





              changepage seems to do just what I'm after, through the begin{adjustwidth}{left change length}{right change length} environment. Thanks!

              – Michael Underwood
              Jul 29 '10 at 17:49






            • 1





              A little more specifically, begin{adjustwidth}{50pt}{-200pt} XXX end{adjustwidth} 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:



            begin{adjustwidth}{left amount}{right amount}
            lipsum[2]
            end{adjustwidth}


            For example, to remove 100pt from the margin on both sides, you would use



            begin{adjustwidth}{100pt}{100pt}





            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:



            begin{adjustwidth}{left amount}{right amount}
            lipsum[2]
            end{adjustwidth}


            For example, to remove 100pt from the margin on both sides, you would use



            begin{adjustwidth}{100pt}{100pt}






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited 9 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 begin{adjustwidth}{left change length}{right change length} environment. Thanks!

              – Michael Underwood
              Jul 29 '10 at 17:49






            • 1





              A little more specifically, begin{adjustwidth}{50pt}{-200pt} XXX end{adjustwidth} 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 begin{adjustwidth}{left change length}{right change length} environment. Thanks!

              – Michael Underwood
              Jul 29 '10 at 17:49






            • 1





              A little more specifically, begin{adjustwidth}{50pt}{-200pt} XXX end{adjustwidth} 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 begin{adjustwidth}{left change length}{right change length} environment. Thanks!

            – Michael Underwood
            Jul 29 '10 at 17:49





            changepage seems to do just what I'm after, through the begin{adjustwidth}{left change length}{right change length} environment. Thanks!

            – Michael Underwood
            Jul 29 '10 at 17:49




            1




            1





            A little more specifically, begin{adjustwidth}{50pt}{-200pt} XXX end{adjustwidth} 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, begin{adjustwidth}{50pt}{-200pt} XXX end{adjustwidth} 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 begin{document})



            defchangemargin#1#2{list{}{rightmargin#2leftmargin#1}item[]}
            letendchangemargin=endlist


            then in the text you can use



            begin{changemargin}{<arg>}{<arg>} 
            end{changemargin}


            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:



            begin{changemargin}{0.5cm}{0.5cm} 
            %your text here
            end{changemargin}


            This is exactly how the command



            begin{quote}
            end{quote}


            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 begin{document})



            defchangemargin#1#2{list{}{rightmargin#2leftmargin#1}item[]}
            letendchangemargin=endlist


            then in the text you can use



            begin{changemargin}{<arg>}{<arg>} 
            end{changemargin}


            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:



            begin{changemargin}{0.5cm}{0.5cm} 
            %your text here
            end{changemargin}


            This is exactly how the command



            begin{quote}
            end{quote}


            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 begin{document})



            defchangemargin#1#2{list{}{rightmargin#2leftmargin#1}item[]}
            letendchangemargin=endlist


            then in the text you can use



            begin{changemargin}{<arg>}{<arg>} 
            end{changemargin}


            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:



            begin{changemargin}{0.5cm}{0.5cm} 
            %your text here
            end{changemargin}


            This is exactly how the command



            begin{quote}
            end{quote}


            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 begin{document})



            defchangemargin#1#2{list{}{rightmargin#2leftmargin#1}item[]}
            letendchangemargin=endlist


            then in the text you can use



            begin{changemargin}{<arg>}{<arg>} 
            end{changemargin}


            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:



            begin{changemargin}{0.5cm}{0.5cm} 
            %your text here
            end{changemargin}


            This is exactly how the command



            begin{quote}
            end{quote}


            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.



            documentclass{article}

            usepackage{scrextend}

            usepackage[english]{babel}
            usepackage{blindtext}

            begin{document}

            blindtext

            % Syntax: begin{addmargin}[<left indentation>]{<indentation>}
            begin{addmargin}[4em]{1em}
            blindtext
            end{addmargin}

            blindtext

            end{document}


            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.



            documentclass{article}

            usepackage{scrextend}

            usepackage[english]{babel}
            usepackage{blindtext}

            begin{document}

            blindtext

            % Syntax: begin{addmargin}[<left indentation>]{<indentation>}
            begin{addmargin}[4em]{1em}
            blindtext
            end{addmargin}

            blindtext

            end{document}


            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.



            documentclass{article}

            usepackage{scrextend}

            usepackage[english]{babel}
            usepackage{blindtext}

            begin{document}

            blindtext

            % Syntax: begin{addmargin}[<left indentation>]{<indentation>}
            begin{addmargin}[4em]{1em}
            blindtext
            end{addmargin}

            blindtext

            end{document}


            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.



            documentclass{article}

            usepackage{scrextend}

            usepackage[english]{babel}
            usepackage{blindtext}

            begin{document}

            blindtext

            % Syntax: begin{addmargin}[<left indentation>]{<indentation>}
            begin{addmargin}[4em]{1em}
            blindtext
            end{addmargin}

            blindtext

            end{document}


            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}
            usepackage{lipsum}
            begin{document}
            lipsum[4]
            {narrowerlipsum[4]
            par}
            lipsum[4]
            lipsum[4]
            lipsum[4]
            lipsum[4]
            {narrowernarrowernarrower lipsum[4]
            par}
            lipsum[4]
            end{document}





            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}
            usepackage{lipsum}
            begin{document}
            lipsum[4]
            {narrowerlipsum[4]
            par}
            lipsum[4]
            lipsum[4]
            lipsum[4]
            lipsum[4]
            {narrowernarrowernarrower lipsum[4]
            par}
            lipsum[4]
            end{document}





            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}
            usepackage{lipsum}
            begin{document}
            lipsum[4]
            {narrowerlipsum[4]
            par}
            lipsum[4]
            lipsum[4]
            lipsum[4]
            lipsum[4]
            {narrowernarrowernarrower lipsum[4]
            par}
            lipsum[4]
            end{document}





            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}
            usepackage{lipsum}
            begin{document}
            lipsum[4]
            {narrowerlipsum[4]
            par}
            lipsum[4]
            lipsum[4]
            lipsum[4]
            lipsum[4]
            {narrowernarrowernarrower lipsum[4]
            par}
            lipsum[4]
            end{document}






            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:



            documentclass{letter}


            for writing letters.



            And for verse there is a package called...wait for it...verse:



            usepackage{verse}


            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:



              documentclass{letter}


              for writing letters.



              And for verse there is a package called...wait for it...verse:



              usepackage{verse}


              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:



                documentclass{letter}


                for writing letters.



                And for verse there is a package called...wait for it...verse:



                usepackage{verse}


                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:



                documentclass{letter}


                for writing letters.



                And for verse there is a package called...wait for it...verse:



                usepackage{verse}


                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

                    El tren de la libertad Índice Antecedentes "Porque yo decido" Desarrollo de la...

                    Castillo d'Acher Características Menú de navegación

                    Connecting two nodes from the same mother node horizontallyTikZ: What EXACTLY does the the |- notation for...