How center the chapter* titles












3















I want center the title "Preface" and "Abstract" only. I do not want to centralize all the chapters. I can not and I should not delete any bookstore, I need all the libraries.



documentclass{book}
usepackage[left=3cm, right=2cm, top=2cm, bottom=2cm]{geometry}
usepackage{lipsum}
usepackage{lscape}
usepackage[utf8]{inputenc}

usepackage[spanish,es-tabla]{babel}

usepackage[table]{xcolor}

usepackage{sectsty}
sectionfont{fontsize{12pt}{14.4pt}selectfontsffamilybfseries}
subsectionfont{fontsize{11.5pt}{13.8pt}selectfontsffamilybfseries}
subsubsectionfont{normalsizesffamilybfseries}



begin{document}

chapter*{centering Preface}


Some text
chapter*{centering Abstract}


chapter{Introduction}
chapter{Body}
chapter{Conclusion}

end{document}









share|improve this question

























  • Should all chapter titles be centred, or only unnumbered chapters?

    – Bernard
    Nov 21 '18 at 23:56











  • @Bernard only two, Preface and Abstract

    – x-rw
    Nov 21 '18 at 23:57
















3















I want center the title "Preface" and "Abstract" only. I do not want to centralize all the chapters. I can not and I should not delete any bookstore, I need all the libraries.



documentclass{book}
usepackage[left=3cm, right=2cm, top=2cm, bottom=2cm]{geometry}
usepackage{lipsum}
usepackage{lscape}
usepackage[utf8]{inputenc}

usepackage[spanish,es-tabla]{babel}

usepackage[table]{xcolor}

usepackage{sectsty}
sectionfont{fontsize{12pt}{14.4pt}selectfontsffamilybfseries}
subsectionfont{fontsize{11.5pt}{13.8pt}selectfontsffamilybfseries}
subsubsectionfont{normalsizesffamilybfseries}



begin{document}

chapter*{centering Preface}


Some text
chapter*{centering Abstract}


chapter{Introduction}
chapter{Body}
chapter{Conclusion}

end{document}









share|improve this question

























  • Should all chapter titles be centred, or only unnumbered chapters?

    – Bernard
    Nov 21 '18 at 23:56











  • @Bernard only two, Preface and Abstract

    – x-rw
    Nov 21 '18 at 23:57














3












3








3








I want center the title "Preface" and "Abstract" only. I do not want to centralize all the chapters. I can not and I should not delete any bookstore, I need all the libraries.



documentclass{book}
usepackage[left=3cm, right=2cm, top=2cm, bottom=2cm]{geometry}
usepackage{lipsum}
usepackage{lscape}
usepackage[utf8]{inputenc}

usepackage[spanish,es-tabla]{babel}

usepackage[table]{xcolor}

usepackage{sectsty}
sectionfont{fontsize{12pt}{14.4pt}selectfontsffamilybfseries}
subsectionfont{fontsize{11.5pt}{13.8pt}selectfontsffamilybfseries}
subsubsectionfont{normalsizesffamilybfseries}



begin{document}

chapter*{centering Preface}


Some text
chapter*{centering Abstract}


chapter{Introduction}
chapter{Body}
chapter{Conclusion}

end{document}









share|improve this question
















I want center the title "Preface" and "Abstract" only. I do not want to centralize all the chapters. I can not and I should not delete any bookstore, I need all the libraries.



documentclass{book}
usepackage[left=3cm, right=2cm, top=2cm, bottom=2cm]{geometry}
usepackage{lipsum}
usepackage{lscape}
usepackage[utf8]{inputenc}

usepackage[spanish,es-tabla]{babel}

usepackage[table]{xcolor}

usepackage{sectsty}
sectionfont{fontsize{12pt}{14.4pt}selectfontsffamilybfseries}
subsectionfont{fontsize{11.5pt}{13.8pt}selectfontsffamilybfseries}
subsubsectionfont{normalsizesffamilybfseries}



begin{document}

chapter*{centering Preface}


Some text
chapter*{centering Abstract}


chapter{Introduction}
chapter{Body}
chapter{Conclusion}

end{document}






horizontal-alignment chapters starred-version






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 21 '18 at 23:55









Werner

450k729981706




450k729981706










asked Nov 21 '18 at 23:38









x-rwx-rw

52319




52319













  • Should all chapter titles be centred, or only unnumbered chapters?

    – Bernard
    Nov 21 '18 at 23:56











  • @Bernard only two, Preface and Abstract

    – x-rw
    Nov 21 '18 at 23:57



















  • Should all chapter titles be centred, or only unnumbered chapters?

    – Bernard
    Nov 21 '18 at 23:56











  • @Bernard only two, Preface and Abstract

    – x-rw
    Nov 21 '18 at 23:57

















Should all chapter titles be centred, or only unnumbered chapters?

– Bernard
Nov 21 '18 at 23:56





Should all chapter titles be centred, or only unnumbered chapters?

– Bernard
Nov 21 '18 at 23:56













@Bernard only two, Preface and Abstract

– x-rw
Nov 21 '18 at 23:57





@Bernard only two, Preface and Abstract

– x-rw
Nov 21 '18 at 23:57










3 Answers
3






active

oldest

votes


















4














Set the title inside a makebox[linewidth]; this naturally centres it. It would not have any impact on headers or the ToC since these elements don't end up there.



enter image description here



documentclass{book}

usepackage{lipsum}

begin{document}

chapter*{makebox[linewidth]{Preface}}
lipsum[1]

chapter*{makebox[linewidth]{Abstract}}
lipsum[2]

chapter{Introduction}
chapter{Body}
chapter{Conclusion}

end{document}





share|improve this answer































    0














    Using the tools from sectsty:



    documentclass{book}
    usepackage[left=3cm, right=2cm, vmargin=2cm]{geometry}
    usepackage{lipsum}
    usepackage{lscape}
    usepackage[utf8]{inputenc}

    usepackage[spanish,es-tabla]{babel}

    usepackage[table]{xcolor}

    usepackage{sectsty}
    sectionfont{fontsize{12pt}{14.4pt}selectfontsffamilybfseries}
    subsectionfont{fontsize{11.5pt}{13.8pt}selectfontsffamilybfseries}
    subsubsectionfont{normalsizesffamilybfseries}

    begin{document}

    chapterfont{hugebfseriescentering}
    chapter*{centering Preface}

    Some text
    chapter*{centering Abstract}

    chapterfont{hugebfseriesraggedright}
    chapter{Introduction}
    chapter{Body}
    chapter{Conclusion}

    end{document}


    enter image description here



    enter image description here






    share|improve this answer































      0














      Fast solution



      You could set a manual space



      chapter*{hspace{.4textwidth}Preface}


      which puts the title almost in the middle of the page



      Reasoned solution



      Otherwise you could think of measuring the length of your title and make the thing more precise with the package calc



      %PREAMBLE
      usepackage{calc}

      newlengthmylen
      newcommandchaplen[1]{
      setlengthmylen{(textwidth-widthof{Hugebfseries #1})/2}
      }

      %... BEGIN DOCUMENT

      chaplen{Preface}
      chapter*{hspace*{mylen}Preface}

      chaplen{OTHER}
      chapter*{hspace*{mylen}OTHER}


      enter image description here



      FUll code:



      documentclass{book}
      usepackage[left=3cm, right=2cm, top=2cm, bottom=2cm]{geometry}
      usepackage{lipsum}
      usepackage{lscape}
      usepackage[utf8]{inputenc}

      usepackage[spanish,es-tabla]{babel}

      usepackage[table]{xcolor}

      usepackage{sectsty}
      sectionfont{fontsize{12pt}{14.4pt}selectfontsffamilybfseries}
      subsectionfont{fontsize{11.5pt}{13.8pt}selectfontsffamilybfseries}
      subsubsectionfont{normalsizesffamilybfseries}

      usepackage{calc}

      newlengthmylen
      newcommandchaplen[1]{
      setlengthmylen{(textwidth-widthof{Hugebfseries #1})/2}
      }

      begin{document}

      chaplen{Preface}
      chapter*{hspace*{mylen}Preface}


      Some text
      chaplen{Abstract}
      chapter*{hspace*{mylen}Abstract}


      chapter{Introduction}
      chapter{Body}
      chapter{Conclusion}

      end{document}





      share|improve this answer





















      • 1





        Does not centralize well, another option?

        – x-rw
        Nov 21 '18 at 23:53











      • Why you multiplied by 2?

        – Sigur
        Nov 21 '18 at 23:56






      • 1





        I think it is still wrong. If it would work, it should be (x-y)/2.

        – Sigur
        Nov 21 '18 at 23:59














      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%2f461212%2fhow-center-the-chapter-titles%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      4














      Set the title inside a makebox[linewidth]; this naturally centres it. It would not have any impact on headers or the ToC since these elements don't end up there.



      enter image description here



      documentclass{book}

      usepackage{lipsum}

      begin{document}

      chapter*{makebox[linewidth]{Preface}}
      lipsum[1]

      chapter*{makebox[linewidth]{Abstract}}
      lipsum[2]

      chapter{Introduction}
      chapter{Body}
      chapter{Conclusion}

      end{document}





      share|improve this answer




























        4














        Set the title inside a makebox[linewidth]; this naturally centres it. It would not have any impact on headers or the ToC since these elements don't end up there.



        enter image description here



        documentclass{book}

        usepackage{lipsum}

        begin{document}

        chapter*{makebox[linewidth]{Preface}}
        lipsum[1]

        chapter*{makebox[linewidth]{Abstract}}
        lipsum[2]

        chapter{Introduction}
        chapter{Body}
        chapter{Conclusion}

        end{document}





        share|improve this answer


























          4












          4








          4







          Set the title inside a makebox[linewidth]; this naturally centres it. It would not have any impact on headers or the ToC since these elements don't end up there.



          enter image description here



          documentclass{book}

          usepackage{lipsum}

          begin{document}

          chapter*{makebox[linewidth]{Preface}}
          lipsum[1]

          chapter*{makebox[linewidth]{Abstract}}
          lipsum[2]

          chapter{Introduction}
          chapter{Body}
          chapter{Conclusion}

          end{document}





          share|improve this answer













          Set the title inside a makebox[linewidth]; this naturally centres it. It would not have any impact on headers or the ToC since these elements don't end up there.



          enter image description here



          documentclass{book}

          usepackage{lipsum}

          begin{document}

          chapter*{makebox[linewidth]{Preface}}
          lipsum[1]

          chapter*{makebox[linewidth]{Abstract}}
          lipsum[2]

          chapter{Introduction}
          chapter{Body}
          chapter{Conclusion}

          end{document}






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 21 '18 at 23:54









          WernerWerner

          450k729981706




          450k729981706























              0














              Using the tools from sectsty:



              documentclass{book}
              usepackage[left=3cm, right=2cm, vmargin=2cm]{geometry}
              usepackage{lipsum}
              usepackage{lscape}
              usepackage[utf8]{inputenc}

              usepackage[spanish,es-tabla]{babel}

              usepackage[table]{xcolor}

              usepackage{sectsty}
              sectionfont{fontsize{12pt}{14.4pt}selectfontsffamilybfseries}
              subsectionfont{fontsize{11.5pt}{13.8pt}selectfontsffamilybfseries}
              subsubsectionfont{normalsizesffamilybfseries}

              begin{document}

              chapterfont{hugebfseriescentering}
              chapter*{centering Preface}

              Some text
              chapter*{centering Abstract}

              chapterfont{hugebfseriesraggedright}
              chapter{Introduction}
              chapter{Body}
              chapter{Conclusion}

              end{document}


              enter image description here



              enter image description here






              share|improve this answer




























                0














                Using the tools from sectsty:



                documentclass{book}
                usepackage[left=3cm, right=2cm, vmargin=2cm]{geometry}
                usepackage{lipsum}
                usepackage{lscape}
                usepackage[utf8]{inputenc}

                usepackage[spanish,es-tabla]{babel}

                usepackage[table]{xcolor}

                usepackage{sectsty}
                sectionfont{fontsize{12pt}{14.4pt}selectfontsffamilybfseries}
                subsectionfont{fontsize{11.5pt}{13.8pt}selectfontsffamilybfseries}
                subsubsectionfont{normalsizesffamilybfseries}

                begin{document}

                chapterfont{hugebfseriescentering}
                chapter*{centering Preface}

                Some text
                chapter*{centering Abstract}

                chapterfont{hugebfseriesraggedright}
                chapter{Introduction}
                chapter{Body}
                chapter{Conclusion}

                end{document}


                enter image description here



                enter image description here






                share|improve this answer


























                  0












                  0








                  0







                  Using the tools from sectsty:



                  documentclass{book}
                  usepackage[left=3cm, right=2cm, vmargin=2cm]{geometry}
                  usepackage{lipsum}
                  usepackage{lscape}
                  usepackage[utf8]{inputenc}

                  usepackage[spanish,es-tabla]{babel}

                  usepackage[table]{xcolor}

                  usepackage{sectsty}
                  sectionfont{fontsize{12pt}{14.4pt}selectfontsffamilybfseries}
                  subsectionfont{fontsize{11.5pt}{13.8pt}selectfontsffamilybfseries}
                  subsubsectionfont{normalsizesffamilybfseries}

                  begin{document}

                  chapterfont{hugebfseriescentering}
                  chapter*{centering Preface}

                  Some text
                  chapter*{centering Abstract}

                  chapterfont{hugebfseriesraggedright}
                  chapter{Introduction}
                  chapter{Body}
                  chapter{Conclusion}

                  end{document}


                  enter image description here



                  enter image description here






                  share|improve this answer













                  Using the tools from sectsty:



                  documentclass{book}
                  usepackage[left=3cm, right=2cm, vmargin=2cm]{geometry}
                  usepackage{lipsum}
                  usepackage{lscape}
                  usepackage[utf8]{inputenc}

                  usepackage[spanish,es-tabla]{babel}

                  usepackage[table]{xcolor}

                  usepackage{sectsty}
                  sectionfont{fontsize{12pt}{14.4pt}selectfontsffamilybfseries}
                  subsectionfont{fontsize{11.5pt}{13.8pt}selectfontsffamilybfseries}
                  subsubsectionfont{normalsizesffamilybfseries}

                  begin{document}

                  chapterfont{hugebfseriescentering}
                  chapter*{centering Preface}

                  Some text
                  chapter*{centering Abstract}

                  chapterfont{hugebfseriesraggedright}
                  chapter{Introduction}
                  chapter{Body}
                  chapter{Conclusion}

                  end{document}


                  enter image description here



                  enter image description here







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 22 '18 at 0:13









                  BernardBernard

                  176k778209




                  176k778209























                      0














                      Fast solution



                      You could set a manual space



                      chapter*{hspace{.4textwidth}Preface}


                      which puts the title almost in the middle of the page



                      Reasoned solution



                      Otherwise you could think of measuring the length of your title and make the thing more precise with the package calc



                      %PREAMBLE
                      usepackage{calc}

                      newlengthmylen
                      newcommandchaplen[1]{
                      setlengthmylen{(textwidth-widthof{Hugebfseries #1})/2}
                      }

                      %... BEGIN DOCUMENT

                      chaplen{Preface}
                      chapter*{hspace*{mylen}Preface}

                      chaplen{OTHER}
                      chapter*{hspace*{mylen}OTHER}


                      enter image description here



                      FUll code:



                      documentclass{book}
                      usepackage[left=3cm, right=2cm, top=2cm, bottom=2cm]{geometry}
                      usepackage{lipsum}
                      usepackage{lscape}
                      usepackage[utf8]{inputenc}

                      usepackage[spanish,es-tabla]{babel}

                      usepackage[table]{xcolor}

                      usepackage{sectsty}
                      sectionfont{fontsize{12pt}{14.4pt}selectfontsffamilybfseries}
                      subsectionfont{fontsize{11.5pt}{13.8pt}selectfontsffamilybfseries}
                      subsubsectionfont{normalsizesffamilybfseries}

                      usepackage{calc}

                      newlengthmylen
                      newcommandchaplen[1]{
                      setlengthmylen{(textwidth-widthof{Hugebfseries #1})/2}
                      }

                      begin{document}

                      chaplen{Preface}
                      chapter*{hspace*{mylen}Preface}


                      Some text
                      chaplen{Abstract}
                      chapter*{hspace*{mylen}Abstract}


                      chapter{Introduction}
                      chapter{Body}
                      chapter{Conclusion}

                      end{document}





                      share|improve this answer





















                      • 1





                        Does not centralize well, another option?

                        – x-rw
                        Nov 21 '18 at 23:53











                      • Why you multiplied by 2?

                        – Sigur
                        Nov 21 '18 at 23:56






                      • 1





                        I think it is still wrong. If it would work, it should be (x-y)/2.

                        – Sigur
                        Nov 21 '18 at 23:59


















                      0














                      Fast solution



                      You could set a manual space



                      chapter*{hspace{.4textwidth}Preface}


                      which puts the title almost in the middle of the page



                      Reasoned solution



                      Otherwise you could think of measuring the length of your title and make the thing more precise with the package calc



                      %PREAMBLE
                      usepackage{calc}

                      newlengthmylen
                      newcommandchaplen[1]{
                      setlengthmylen{(textwidth-widthof{Hugebfseries #1})/2}
                      }

                      %... BEGIN DOCUMENT

                      chaplen{Preface}
                      chapter*{hspace*{mylen}Preface}

                      chaplen{OTHER}
                      chapter*{hspace*{mylen}OTHER}


                      enter image description here



                      FUll code:



                      documentclass{book}
                      usepackage[left=3cm, right=2cm, top=2cm, bottom=2cm]{geometry}
                      usepackage{lipsum}
                      usepackage{lscape}
                      usepackage[utf8]{inputenc}

                      usepackage[spanish,es-tabla]{babel}

                      usepackage[table]{xcolor}

                      usepackage{sectsty}
                      sectionfont{fontsize{12pt}{14.4pt}selectfontsffamilybfseries}
                      subsectionfont{fontsize{11.5pt}{13.8pt}selectfontsffamilybfseries}
                      subsubsectionfont{normalsizesffamilybfseries}

                      usepackage{calc}

                      newlengthmylen
                      newcommandchaplen[1]{
                      setlengthmylen{(textwidth-widthof{Hugebfseries #1})/2}
                      }

                      begin{document}

                      chaplen{Preface}
                      chapter*{hspace*{mylen}Preface}


                      Some text
                      chaplen{Abstract}
                      chapter*{hspace*{mylen}Abstract}


                      chapter{Introduction}
                      chapter{Body}
                      chapter{Conclusion}

                      end{document}





                      share|improve this answer





















                      • 1





                        Does not centralize well, another option?

                        – x-rw
                        Nov 21 '18 at 23:53











                      • Why you multiplied by 2?

                        – Sigur
                        Nov 21 '18 at 23:56






                      • 1





                        I think it is still wrong. If it would work, it should be (x-y)/2.

                        – Sigur
                        Nov 21 '18 at 23:59
















                      0












                      0








                      0







                      Fast solution



                      You could set a manual space



                      chapter*{hspace{.4textwidth}Preface}


                      which puts the title almost in the middle of the page



                      Reasoned solution



                      Otherwise you could think of measuring the length of your title and make the thing more precise with the package calc



                      %PREAMBLE
                      usepackage{calc}

                      newlengthmylen
                      newcommandchaplen[1]{
                      setlengthmylen{(textwidth-widthof{Hugebfseries #1})/2}
                      }

                      %... BEGIN DOCUMENT

                      chaplen{Preface}
                      chapter*{hspace*{mylen}Preface}

                      chaplen{OTHER}
                      chapter*{hspace*{mylen}OTHER}


                      enter image description here



                      FUll code:



                      documentclass{book}
                      usepackage[left=3cm, right=2cm, top=2cm, bottom=2cm]{geometry}
                      usepackage{lipsum}
                      usepackage{lscape}
                      usepackage[utf8]{inputenc}

                      usepackage[spanish,es-tabla]{babel}

                      usepackage[table]{xcolor}

                      usepackage{sectsty}
                      sectionfont{fontsize{12pt}{14.4pt}selectfontsffamilybfseries}
                      subsectionfont{fontsize{11.5pt}{13.8pt}selectfontsffamilybfseries}
                      subsubsectionfont{normalsizesffamilybfseries}

                      usepackage{calc}

                      newlengthmylen
                      newcommandchaplen[1]{
                      setlengthmylen{(textwidth-widthof{Hugebfseries #1})/2}
                      }

                      begin{document}

                      chaplen{Preface}
                      chapter*{hspace*{mylen}Preface}


                      Some text
                      chaplen{Abstract}
                      chapter*{hspace*{mylen}Abstract}


                      chapter{Introduction}
                      chapter{Body}
                      chapter{Conclusion}

                      end{document}





                      share|improve this answer















                      Fast solution



                      You could set a manual space



                      chapter*{hspace{.4textwidth}Preface}


                      which puts the title almost in the middle of the page



                      Reasoned solution



                      Otherwise you could think of measuring the length of your title and make the thing more precise with the package calc



                      %PREAMBLE
                      usepackage{calc}

                      newlengthmylen
                      newcommandchaplen[1]{
                      setlengthmylen{(textwidth-widthof{Hugebfseries #1})/2}
                      }

                      %... BEGIN DOCUMENT

                      chaplen{Preface}
                      chapter*{hspace*{mylen}Preface}

                      chaplen{OTHER}
                      chapter*{hspace*{mylen}OTHER}


                      enter image description here



                      FUll code:



                      documentclass{book}
                      usepackage[left=3cm, right=2cm, top=2cm, bottom=2cm]{geometry}
                      usepackage{lipsum}
                      usepackage{lscape}
                      usepackage[utf8]{inputenc}

                      usepackage[spanish,es-tabla]{babel}

                      usepackage[table]{xcolor}

                      usepackage{sectsty}
                      sectionfont{fontsize{12pt}{14.4pt}selectfontsffamilybfseries}
                      subsectionfont{fontsize{11.5pt}{13.8pt}selectfontsffamilybfseries}
                      subsubsectionfont{normalsizesffamilybfseries}

                      usepackage{calc}

                      newlengthmylen
                      newcommandchaplen[1]{
                      setlengthmylen{(textwidth-widthof{Hugebfseries #1})/2}
                      }

                      begin{document}

                      chaplen{Preface}
                      chapter*{hspace*{mylen}Preface}


                      Some text
                      chaplen{Abstract}
                      chapter*{hspace*{mylen}Abstract}


                      chapter{Introduction}
                      chapter{Body}
                      chapter{Conclusion}

                      end{document}






                      share|improve this answer














                      share|improve this answer



                      share|improve this answer








                      edited Nov 22 '18 at 0:13

























                      answered Nov 21 '18 at 23:48









                      GiuTeXGiuTeX

                      698318




                      698318








                      • 1





                        Does not centralize well, another option?

                        – x-rw
                        Nov 21 '18 at 23:53











                      • Why you multiplied by 2?

                        – Sigur
                        Nov 21 '18 at 23:56






                      • 1





                        I think it is still wrong. If it would work, it should be (x-y)/2.

                        – Sigur
                        Nov 21 '18 at 23:59
















                      • 1





                        Does not centralize well, another option?

                        – x-rw
                        Nov 21 '18 at 23:53











                      • Why you multiplied by 2?

                        – Sigur
                        Nov 21 '18 at 23:56






                      • 1





                        I think it is still wrong. If it would work, it should be (x-y)/2.

                        – Sigur
                        Nov 21 '18 at 23:59










                      1




                      1





                      Does not centralize well, another option?

                      – x-rw
                      Nov 21 '18 at 23:53





                      Does not centralize well, another option?

                      – x-rw
                      Nov 21 '18 at 23:53













                      Why you multiplied by 2?

                      – Sigur
                      Nov 21 '18 at 23:56





                      Why you multiplied by 2?

                      – Sigur
                      Nov 21 '18 at 23:56




                      1




                      1





                      I think it is still wrong. If it would work, it should be (x-y)/2.

                      – Sigur
                      Nov 21 '18 at 23:59







                      I think it is still wrong. If it would work, it should be (x-y)/2.

                      – Sigur
                      Nov 21 '18 at 23:59




















                      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%2f461212%2fhow-center-the-chapter-titles%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

                      Guess what letter conforming each word

                      Port of Spain

                      Run scheduled task as local user group (not BUILTIN)