Omitting the date when using maketitle











up vote
216
down vote

favorite
49












I'm using the author and title commands to produce a title with maketitle. I also know that there is a date command to specify the date of my work. However, if I omit date, maketitle will produce the current date. How do I achieve that no date is displayed at all?



documentclass{article}

author{Author, A.}
title{Alpha}

begin{document}

maketitle

Some text.

end{document}









share|improve this question




























    up vote
    216
    down vote

    favorite
    49












    I'm using the author and title commands to produce a title with maketitle. I also know that there is a date command to specify the date of my work. However, if I omit date, maketitle will produce the current date. How do I achieve that no date is displayed at all?



    documentclass{article}

    author{Author, A.}
    title{Alpha}

    begin{document}

    maketitle

    Some text.

    end{document}









    share|improve this question


























      up vote
      216
      down vote

      favorite
      49









      up vote
      216
      down vote

      favorite
      49






      49





      I'm using the author and title commands to produce a title with maketitle. I also know that there is a date command to specify the date of my work. However, if I omit date, maketitle will produce the current date. How do I achieve that no date is displayed at all?



      documentclass{article}

      author{Author, A.}
      title{Alpha}

      begin{document}

      maketitle

      Some text.

      end{document}









      share|improve this question















      I'm using the author and title commands to produce a title with maketitle. I also know that there is a date command to specify the date of my work. However, if I omit date, maketitle will produce the current date. How do I achieve that no date is displayed at all?



      documentclass{article}

      author{Author, A.}
      title{Alpha}

      begin{document}

      maketitle

      Some text.

      end{document}






      titles datetime






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Aug 2 '15 at 12:09

























      asked Sep 5 '10 at 16:08









      lockstep

      188k51584717




      188k51584717






















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          203
          down vote



          accepted










          If you want a blank date, just use date{}.



          If you want to remove the spacing altogether where the date usually goes, look into using the titling package, or else the mechanisms provided by your document class, depending on what it is.






          share|improve this answer



















          • 5




            If I use date{} with the article class (instead of simply omitting the date), the vertical alignment of any following text will change as if the spacing was removed.
            – lockstep
            Sep 5 '10 at 16:24








          • 3




            @lockstep long time post, but testing today (with TexStudio), the date{} it works fine.
            – Tom Brito
            Dec 8 '12 at 23:56








          • 6




            For future reference: if you want to use the titling package to remove space, you can do predate{} and postdate{} and then date{} (as above). The same can be done for author (preauthor{}, postauthor{}, and author{}) and title. To remove the space after the title line itself, do posttitle{parend{center}}, which is the same as the default posttitle except with the vskip 0.5em omitted (see texdoc titling, page 2).
            – Reid
            Feb 24 '14 at 13:52










          • Today the spacing seems to be gone already, so it should be fine.
            – xji
            Jun 11 '16 at 4:05




















          up vote
          124
          down vote













          For a cheap and easy solution to removing the spacing without delving into the titling package that frabjous mentions, try:



          documentclass{article}

          author{Me}
          title{Foo}
          date{vspace{-5ex}}
          %date{} % Toggle commenting to test

          begin{document}

          maketitle

          Bar

          end{document}





          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',
            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%2f2760%2fomitting-the-date-when-using-maketitle%23new-answer', 'question_page');
            }
            );

            Post as a guest
































            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            203
            down vote



            accepted










            If you want a blank date, just use date{}.



            If you want to remove the spacing altogether where the date usually goes, look into using the titling package, or else the mechanisms provided by your document class, depending on what it is.






            share|improve this answer



















            • 5




              If I use date{} with the article class (instead of simply omitting the date), the vertical alignment of any following text will change as if the spacing was removed.
              – lockstep
              Sep 5 '10 at 16:24








            • 3




              @lockstep long time post, but testing today (with TexStudio), the date{} it works fine.
              – Tom Brito
              Dec 8 '12 at 23:56








            • 6




              For future reference: if you want to use the titling package to remove space, you can do predate{} and postdate{} and then date{} (as above). The same can be done for author (preauthor{}, postauthor{}, and author{}) and title. To remove the space after the title line itself, do posttitle{parend{center}}, which is the same as the default posttitle except with the vskip 0.5em omitted (see texdoc titling, page 2).
              – Reid
              Feb 24 '14 at 13:52










            • Today the spacing seems to be gone already, so it should be fine.
              – xji
              Jun 11 '16 at 4:05

















            up vote
            203
            down vote



            accepted










            If you want a blank date, just use date{}.



            If you want to remove the spacing altogether where the date usually goes, look into using the titling package, or else the mechanisms provided by your document class, depending on what it is.






            share|improve this answer



















            • 5




              If I use date{} with the article class (instead of simply omitting the date), the vertical alignment of any following text will change as if the spacing was removed.
              – lockstep
              Sep 5 '10 at 16:24








            • 3




              @lockstep long time post, but testing today (with TexStudio), the date{} it works fine.
              – Tom Brito
              Dec 8 '12 at 23:56








            • 6




              For future reference: if you want to use the titling package to remove space, you can do predate{} and postdate{} and then date{} (as above). The same can be done for author (preauthor{}, postauthor{}, and author{}) and title. To remove the space after the title line itself, do posttitle{parend{center}}, which is the same as the default posttitle except with the vskip 0.5em omitted (see texdoc titling, page 2).
              – Reid
              Feb 24 '14 at 13:52










            • Today the spacing seems to be gone already, so it should be fine.
              – xji
              Jun 11 '16 at 4:05















            up vote
            203
            down vote



            accepted







            up vote
            203
            down vote



            accepted






            If you want a blank date, just use date{}.



            If you want to remove the spacing altogether where the date usually goes, look into using the titling package, or else the mechanisms provided by your document class, depending on what it is.






            share|improve this answer














            If you want a blank date, just use date{}.



            If you want to remove the spacing altogether where the date usually goes, look into using the titling package, or else the mechanisms provided by your document class, depending on what it is.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Jul 29 '12 at 21:04









            lockstep

            188k51584717




            188k51584717










            answered Sep 5 '10 at 16:14









            frabjous

            24.6k68282




            24.6k68282








            • 5




              If I use date{} with the article class (instead of simply omitting the date), the vertical alignment of any following text will change as if the spacing was removed.
              – lockstep
              Sep 5 '10 at 16:24








            • 3




              @lockstep long time post, but testing today (with TexStudio), the date{} it works fine.
              – Tom Brito
              Dec 8 '12 at 23:56








            • 6




              For future reference: if you want to use the titling package to remove space, you can do predate{} and postdate{} and then date{} (as above). The same can be done for author (preauthor{}, postauthor{}, and author{}) and title. To remove the space after the title line itself, do posttitle{parend{center}}, which is the same as the default posttitle except with the vskip 0.5em omitted (see texdoc titling, page 2).
              – Reid
              Feb 24 '14 at 13:52










            • Today the spacing seems to be gone already, so it should be fine.
              – xji
              Jun 11 '16 at 4:05
















            • 5




              If I use date{} with the article class (instead of simply omitting the date), the vertical alignment of any following text will change as if the spacing was removed.
              – lockstep
              Sep 5 '10 at 16:24








            • 3




              @lockstep long time post, but testing today (with TexStudio), the date{} it works fine.
              – Tom Brito
              Dec 8 '12 at 23:56








            • 6




              For future reference: if you want to use the titling package to remove space, you can do predate{} and postdate{} and then date{} (as above). The same can be done for author (preauthor{}, postauthor{}, and author{}) and title. To remove the space after the title line itself, do posttitle{parend{center}}, which is the same as the default posttitle except with the vskip 0.5em omitted (see texdoc titling, page 2).
              – Reid
              Feb 24 '14 at 13:52










            • Today the spacing seems to be gone already, so it should be fine.
              – xji
              Jun 11 '16 at 4:05










            5




            5




            If I use date{} with the article class (instead of simply omitting the date), the vertical alignment of any following text will change as if the spacing was removed.
            – lockstep
            Sep 5 '10 at 16:24






            If I use date{} with the article class (instead of simply omitting the date), the vertical alignment of any following text will change as if the spacing was removed.
            – lockstep
            Sep 5 '10 at 16:24






            3




            3




            @lockstep long time post, but testing today (with TexStudio), the date{} it works fine.
            – Tom Brito
            Dec 8 '12 at 23:56






            @lockstep long time post, but testing today (with TexStudio), the date{} it works fine.
            – Tom Brito
            Dec 8 '12 at 23:56






            6




            6




            For future reference: if you want to use the titling package to remove space, you can do predate{} and postdate{} and then date{} (as above). The same can be done for author (preauthor{}, postauthor{}, and author{}) and title. To remove the space after the title line itself, do posttitle{parend{center}}, which is the same as the default posttitle except with the vskip 0.5em omitted (see texdoc titling, page 2).
            – Reid
            Feb 24 '14 at 13:52




            For future reference: if you want to use the titling package to remove space, you can do predate{} and postdate{} and then date{} (as above). The same can be done for author (preauthor{}, postauthor{}, and author{}) and title. To remove the space after the title line itself, do posttitle{parend{center}}, which is the same as the default posttitle except with the vskip 0.5em omitted (see texdoc titling, page 2).
            – Reid
            Feb 24 '14 at 13:52












            Today the spacing seems to be gone already, so it should be fine.
            – xji
            Jun 11 '16 at 4:05






            Today the spacing seems to be gone already, so it should be fine.
            – xji
            Jun 11 '16 at 4:05












            up vote
            124
            down vote













            For a cheap and easy solution to removing the spacing without delving into the titling package that frabjous mentions, try:



            documentclass{article}

            author{Me}
            title{Foo}
            date{vspace{-5ex}}
            %date{} % Toggle commenting to test

            begin{document}

            maketitle

            Bar

            end{document}





            share|improve this answer



























              up vote
              124
              down vote













              For a cheap and easy solution to removing the spacing without delving into the titling package that frabjous mentions, try:



              documentclass{article}

              author{Me}
              title{Foo}
              date{vspace{-5ex}}
              %date{} % Toggle commenting to test

              begin{document}

              maketitle

              Bar

              end{document}





              share|improve this answer

























                up vote
                124
                down vote










                up vote
                124
                down vote









                For a cheap and easy solution to removing the spacing without delving into the titling package that frabjous mentions, try:



                documentclass{article}

                author{Me}
                title{Foo}
                date{vspace{-5ex}}
                %date{} % Toggle commenting to test

                begin{document}

                maketitle

                Bar

                end{document}





                share|improve this answer














                For a cheap and easy solution to removing the spacing without delving into the titling package that frabjous mentions, try:



                documentclass{article}

                author{Me}
                title{Foo}
                date{vspace{-5ex}}
                %date{} % Toggle commenting to test

                begin{document}

                maketitle

                Bar

                end{document}






                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Jul 29 '12 at 21:04









                lockstep

                188k51584717




                188k51584717










                answered Sep 6 '10 at 16:02









                vanden

                15.9k185984




                15.9k185984






























                     

                    draft saved


                    draft discarded



















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f2760%2fomitting-the-date-when-using-maketitle%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest




















































































                    Popular posts from this blog

                    mysqli_query(): Empty query in /home/lucindabrummitt/public_html/blog/wp-includes/wp-db.php on line 1924

                    How to change which sound is reproduced for terminal bell?

                    Can I use Tabulator js library in my java Spring + Thymeleaf project?