vspace doesn't work properly












2















I am using vspace{3mm} for separating the paragraphs in my article (documentclass[12pt, a4paper]{article}).
But most of the time it doesn't work properly. Sometimes it just puts the first few words/sentence of the following paragraph at the end of the previous one.



I need something like this:



Hello world.
vspace{3mm}
How are you? I am good.


And sometimes I get this output:



 Hello world. How are you? 

I am good.


Do you know why? Or do you know another command that does the same?










share|improve this question























  • try separating the parts you wish to have vertical space with an empty line just after vspace command... also a noindent on the start of the next line could be needed

    – koleygr
    Mar 11 at 8:49






  • 1





    @koleygr if you fond yourself needing noindent it is almost always a sign that the markup is wrong somewhere....

    – David Carlisle
    Mar 11 at 8:50






  • 2





    Mary if you want vertical space between paragraphs then you should set parskip in the preamble, not add vspace between each paragraph.

    – David Carlisle
    Mar 11 at 8:53






  • 1





    You are right... just tied to give more options because thought for the moment that the OP would not like to have indented the following text... Also, I use noindent some times, but mostly inside some of my commands (of bold descriptions etc) and I don't think it is a mistake... Anyway... In your answer I would prefer the vspace in the end of the first sentence and not in the beggining of the second just because I can read it easier (+1 by the way)

    – koleygr
    Mar 11 at 8:56











  • [Unchecked] You can use Hello world\[3mm] How are you. However, I suggest you not to do that.

    – JouleV
    Mar 11 at 9:07
















2















I am using vspace{3mm} for separating the paragraphs in my article (documentclass[12pt, a4paper]{article}).
But most of the time it doesn't work properly. Sometimes it just puts the first few words/sentence of the following paragraph at the end of the previous one.



I need something like this:



Hello world.
vspace{3mm}
How are you? I am good.


And sometimes I get this output:



 Hello world. How are you? 

I am good.


Do you know why? Or do you know another command that does the same?










share|improve this question























  • try separating the parts you wish to have vertical space with an empty line just after vspace command... also a noindent on the start of the next line could be needed

    – koleygr
    Mar 11 at 8:49






  • 1





    @koleygr if you fond yourself needing noindent it is almost always a sign that the markup is wrong somewhere....

    – David Carlisle
    Mar 11 at 8:50






  • 2





    Mary if you want vertical space between paragraphs then you should set parskip in the preamble, not add vspace between each paragraph.

    – David Carlisle
    Mar 11 at 8:53






  • 1





    You are right... just tied to give more options because thought for the moment that the OP would not like to have indented the following text... Also, I use noindent some times, but mostly inside some of my commands (of bold descriptions etc) and I don't think it is a mistake... Anyway... In your answer I would prefer the vspace in the end of the first sentence and not in the beggining of the second just because I can read it easier (+1 by the way)

    – koleygr
    Mar 11 at 8:56











  • [Unchecked] You can use Hello world\[3mm] How are you. However, I suggest you not to do that.

    – JouleV
    Mar 11 at 9:07














2












2








2








I am using vspace{3mm} for separating the paragraphs in my article (documentclass[12pt, a4paper]{article}).
But most of the time it doesn't work properly. Sometimes it just puts the first few words/sentence of the following paragraph at the end of the previous one.



I need something like this:



Hello world.
vspace{3mm}
How are you? I am good.


And sometimes I get this output:



 Hello world. How are you? 

I am good.


Do you know why? Or do you know another command that does the same?










share|improve this question














I am using vspace{3mm} for separating the paragraphs in my article (documentclass[12pt, a4paper]{article}).
But most of the time it doesn't work properly. Sometimes it just puts the first few words/sentence of the following paragraph at the end of the previous one.



I need something like this:



Hello world.
vspace{3mm}
How are you? I am good.


And sometimes I get this output:



 Hello world. How are you? 

I am good.


Do you know why? Or do you know another command that does the same?







article vspace






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 11 at 8:46









MaryMary

161




161













  • try separating the parts you wish to have vertical space with an empty line just after vspace command... also a noindent on the start of the next line could be needed

    – koleygr
    Mar 11 at 8:49






  • 1





    @koleygr if you fond yourself needing noindent it is almost always a sign that the markup is wrong somewhere....

    – David Carlisle
    Mar 11 at 8:50






  • 2





    Mary if you want vertical space between paragraphs then you should set parskip in the preamble, not add vspace between each paragraph.

    – David Carlisle
    Mar 11 at 8:53






  • 1





    You are right... just tied to give more options because thought for the moment that the OP would not like to have indented the following text... Also, I use noindent some times, but mostly inside some of my commands (of bold descriptions etc) and I don't think it is a mistake... Anyway... In your answer I would prefer the vspace in the end of the first sentence and not in the beggining of the second just because I can read it easier (+1 by the way)

    – koleygr
    Mar 11 at 8:56











  • [Unchecked] You can use Hello world\[3mm] How are you. However, I suggest you not to do that.

    – JouleV
    Mar 11 at 9:07



















  • try separating the parts you wish to have vertical space with an empty line just after vspace command... also a noindent on the start of the next line could be needed

    – koleygr
    Mar 11 at 8:49






  • 1





    @koleygr if you fond yourself needing noindent it is almost always a sign that the markup is wrong somewhere....

    – David Carlisle
    Mar 11 at 8:50






  • 2





    Mary if you want vertical space between paragraphs then you should set parskip in the preamble, not add vspace between each paragraph.

    – David Carlisle
    Mar 11 at 8:53






  • 1





    You are right... just tied to give more options because thought for the moment that the OP would not like to have indented the following text... Also, I use noindent some times, but mostly inside some of my commands (of bold descriptions etc) and I don't think it is a mistake... Anyway... In your answer I would prefer the vspace in the end of the first sentence and not in the beggining of the second just because I can read it easier (+1 by the way)

    – koleygr
    Mar 11 at 8:56











  • [Unchecked] You can use Hello world\[3mm] How are you. However, I suggest you not to do that.

    – JouleV
    Mar 11 at 9:07

















try separating the parts you wish to have vertical space with an empty line just after vspace command... also a noindent on the start of the next line could be needed

– koleygr
Mar 11 at 8:49





try separating the parts you wish to have vertical space with an empty line just after vspace command... also a noindent on the start of the next line could be needed

– koleygr
Mar 11 at 8:49




1




1





@koleygr if you fond yourself needing noindent it is almost always a sign that the markup is wrong somewhere....

– David Carlisle
Mar 11 at 8:50





@koleygr if you fond yourself needing noindent it is almost always a sign that the markup is wrong somewhere....

– David Carlisle
Mar 11 at 8:50




2




2





Mary if you want vertical space between paragraphs then you should set parskip in the preamble, not add vspace between each paragraph.

– David Carlisle
Mar 11 at 8:53





Mary if you want vertical space between paragraphs then you should set parskip in the preamble, not add vspace between each paragraph.

– David Carlisle
Mar 11 at 8:53




1




1





You are right... just tied to give more options because thought for the moment that the OP would not like to have indented the following text... Also, I use noindent some times, but mostly inside some of my commands (of bold descriptions etc) and I don't think it is a mistake... Anyway... In your answer I would prefer the vspace in the end of the first sentence and not in the beggining of the second just because I can read it easier (+1 by the way)

– koleygr
Mar 11 at 8:56





You are right... just tied to give more options because thought for the moment that the OP would not like to have indented the following text... Also, I use noindent some times, but mostly inside some of my commands (of bold descriptions etc) and I don't think it is a mistake... Anyway... In your answer I would prefer the vspace in the end of the first sentence and not in the beggining of the second just because I can read it easier (+1 by the way)

– koleygr
Mar 11 at 8:56













[Unchecked] You can use Hello world\[3mm] How are you. However, I suggest you not to do that.

– JouleV
Mar 11 at 9:07





[Unchecked] You can use Hello world\[3mm] How are you. However, I suggest you not to do that.

– JouleV
Mar 11 at 9:07










1 Answer
1






active

oldest

votes


















7














You have



Hello world.
vspace{3mm}
How are you? I am good.


Which is a single paragraph, so the vspace is added after the current line, probably after good.



You could use



Hello world.

vspace{3mm}
How are you? I am good.


Bur you should almost never need explicit spacing within the document anyway.






share|improve this answer























    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%2f478849%2fvspace-doesnt-work-properly%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    7














    You have



    Hello world.
    vspace{3mm}
    How are you? I am good.


    Which is a single paragraph, so the vspace is added after the current line, probably after good.



    You could use



    Hello world.

    vspace{3mm}
    How are you? I am good.


    Bur you should almost never need explicit spacing within the document anyway.






    share|improve this answer




























      7














      You have



      Hello world.
      vspace{3mm}
      How are you? I am good.


      Which is a single paragraph, so the vspace is added after the current line, probably after good.



      You could use



      Hello world.

      vspace{3mm}
      How are you? I am good.


      Bur you should almost never need explicit spacing within the document anyway.






      share|improve this answer


























        7












        7








        7







        You have



        Hello world.
        vspace{3mm}
        How are you? I am good.


        Which is a single paragraph, so the vspace is added after the current line, probably after good.



        You could use



        Hello world.

        vspace{3mm}
        How are you? I am good.


        Bur you should almost never need explicit spacing within the document anyway.






        share|improve this answer













        You have



        Hello world.
        vspace{3mm}
        How are you? I am good.


        Which is a single paragraph, so the vspace is added after the current line, probably after good.



        You could use



        Hello world.

        vspace{3mm}
        How are you? I am good.


        Bur you should almost never need explicit spacing within the document anyway.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 11 at 8:48









        David CarlisleDavid Carlisle

        495k4111381886




        495k4111381886






























            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%2f478849%2fvspace-doesnt-work-properly%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            How to send String Array data to Server using php in android

            Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

            Is anime1.com a legal site for watching anime?