Define pagestyle for TOC / LOF / LOT with titlesec Announcing the arrival of Valued Associate...

Any stored/leased 737s that could substitute for grounded MAXs?

Should man-made satellites feature an intelligent inverted "cow catcher"?

Is this Half-dragon Quaggoth boss monster balanced?

"Destructive power" carried by a B-52?

Is there a verb for listening stealthily?

How to resize main filesystem

Marquee sign letters

How do Java 8 default methods hеlp with lambdas?

One-one communication

The Nth Gryphon Number

Is the time—manner—place ordering of adverbials an oversimplification?

Does the main washing effect of soap come from foam?

newbie Q : How to read an output file in one command line

What is the proper term for etching or digging of wall to hide conduit of cables

Is it OK to use the testing sample to compare algorithms?

What was the last profitable war?

Where and when has Thucydides been studied?

How to achieve cat-like agility?

In musical terms, what properties are varied by the human voice to produce different words / syllables?

How could a hydrazine and N2O4 cloud (or it's reactants) show up in weather radar?

Statistical analysis applied to methods coming out of Machine Learning

2018 MacBook Pro won't let me install macOS High Sierra 10.13 from USB installer

3D Masyu - A Die

Derived column in a data extension



Define pagestyle for TOC / LOF / LOT with titlesec



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Strange behaviour of renewpagestyle from the titlesec packageLatex: Custom ToC, LoF, LoT for ThesisRedefining ToC, LoF, and LoTPage number on the left with book classToC, LoF, LoT, Acronyms consistent layoutHow to show Mini table only sections in a chapter not other chapter?Collapsing section ranges in titlesec page headersProblems with titlesec for non-TOC subsectionsToC: Change Spacing between Entries for LoF, LoTFormat fonts for TOC/LOF/LOT with tocloft












0















I am using the titlesec package to define a rather simplistic pagestyle for the first pages of my chapter and the regular pages within a chapter:



newpagestyle{main}{
headrulesethead[chaptername thechapter: chaptertitle][][]
{}{}{thesection sectiontitle}
footrulesetfoot{}{thepage}{}
}

newpagestyle{chapter_first_page}{
sethead[][][]{}{}{}
footrulesetfoot{}{thepage}{}
}
assignpagestyle{chapter}{chapter_first_page}


I am failing, however, to apply that very same pagestyle to the pages for the table of contents and the list of figures. The closest I have come is using this:



renewcommand*{printtoctitle}[1]{chapter*{#1}}
renewcommand*{printloftitle}[1]{chapter*{#1}}
renewcommand*{printlottitle}[1]{chapter*{#1}}


to get the TOC, LOF and LOT first page to be treated as a chapter. However, the pages are still missing the footrule that should be part of the chapter_first_page style.



Also, if for example the LOF is longer than just a single page, the subsequent pages are not simply using the main pagestyle, but have "List of Figures" in both the header and the footer.



Any pointers regarding how to fix the problem and make the TOC / LOF / LOT pages fit in with the style of the rest of the document would be very much appreciated!





Edit: Here is a minimal working example that should illustrate the problem:



documentclass[11pt, a4paper, twoside]{memoir}

usepackage{lipsum}
usepackage{microtype}

usepackage[pagestyles, clearempty]{titlesec}

usepackage[includefoot, includehead, bindingoffset=0cm,
left=3cm, right=3cm, top=2cm, bottom=2cm]{geometry}

% -----------------------------------------------------------------------------

newpagestyle{main}{
headrulesethead[chaptername thechapter: chaptertitle][][]
{}{}{thesection sectiontitle}
footrulesetfoot{}{thepage}{}
}
pagestyle{main}


newpagestyle{chapter_first_page}{
sethead[][][]{}{}{}
footrulesetfoot{}{thepage}{}
}
assignpagestyle{chapter}{chapter_first_page}


titleformat{chapter}[display]{centeringLARGEbfseries}
{centeringscshape
{---~chaptertitlename~thechapter~---}}
{-6pt}{Huge}[]

renewpagestyle{plain}{
sethead[][][]{}{}{}
footrulesetfoot{}{thepage}{}
}

renewcommand*{printtoctitle}[1]{chapter*{#1}}

% -----------------------------------------------------------------------------


begin{document}

thispagestyle{empty}
(Include some title page here)
newpage

thispagestyle{chapter_first_page}
tableofcontents*

chapter{Test Chapter 1}
lipsum[23-42]

chapter{Test Chapter 2}
lipsum[23-42]


end{document}









share|improve this question
















bumped to the homepage by Community 8 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.




















    0















    I am using the titlesec package to define a rather simplistic pagestyle for the first pages of my chapter and the regular pages within a chapter:



    newpagestyle{main}{
    headrulesethead[chaptername thechapter: chaptertitle][][]
    {}{}{thesection sectiontitle}
    footrulesetfoot{}{thepage}{}
    }

    newpagestyle{chapter_first_page}{
    sethead[][][]{}{}{}
    footrulesetfoot{}{thepage}{}
    }
    assignpagestyle{chapter}{chapter_first_page}


    I am failing, however, to apply that very same pagestyle to the pages for the table of contents and the list of figures. The closest I have come is using this:



    renewcommand*{printtoctitle}[1]{chapter*{#1}}
    renewcommand*{printloftitle}[1]{chapter*{#1}}
    renewcommand*{printlottitle}[1]{chapter*{#1}}


    to get the TOC, LOF and LOT first page to be treated as a chapter. However, the pages are still missing the footrule that should be part of the chapter_first_page style.



    Also, if for example the LOF is longer than just a single page, the subsequent pages are not simply using the main pagestyle, but have "List of Figures" in both the header and the footer.



    Any pointers regarding how to fix the problem and make the TOC / LOF / LOT pages fit in with the style of the rest of the document would be very much appreciated!





    Edit: Here is a minimal working example that should illustrate the problem:



    documentclass[11pt, a4paper, twoside]{memoir}

    usepackage{lipsum}
    usepackage{microtype}

    usepackage[pagestyles, clearempty]{titlesec}

    usepackage[includefoot, includehead, bindingoffset=0cm,
    left=3cm, right=3cm, top=2cm, bottom=2cm]{geometry}

    % -----------------------------------------------------------------------------

    newpagestyle{main}{
    headrulesethead[chaptername thechapter: chaptertitle][][]
    {}{}{thesection sectiontitle}
    footrulesetfoot{}{thepage}{}
    }
    pagestyle{main}


    newpagestyle{chapter_first_page}{
    sethead[][][]{}{}{}
    footrulesetfoot{}{thepage}{}
    }
    assignpagestyle{chapter}{chapter_first_page}


    titleformat{chapter}[display]{centeringLARGEbfseries}
    {centeringscshape
    {---~chaptertitlename~thechapter~---}}
    {-6pt}{Huge}[]

    renewpagestyle{plain}{
    sethead[][][]{}{}{}
    footrulesetfoot{}{thepage}{}
    }

    renewcommand*{printtoctitle}[1]{chapter*{#1}}

    % -----------------------------------------------------------------------------


    begin{document}

    thispagestyle{empty}
    (Include some title page here)
    newpage

    thispagestyle{chapter_first_page}
    tableofcontents*

    chapter{Test Chapter 1}
    lipsum[23-42]

    chapter{Test Chapter 2}
    lipsum[23-42]


    end{document}









    share|improve this question
















    bumped to the homepage by Community 8 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      0












      0








      0








      I am using the titlesec package to define a rather simplistic pagestyle for the first pages of my chapter and the regular pages within a chapter:



      newpagestyle{main}{
      headrulesethead[chaptername thechapter: chaptertitle][][]
      {}{}{thesection sectiontitle}
      footrulesetfoot{}{thepage}{}
      }

      newpagestyle{chapter_first_page}{
      sethead[][][]{}{}{}
      footrulesetfoot{}{thepage}{}
      }
      assignpagestyle{chapter}{chapter_first_page}


      I am failing, however, to apply that very same pagestyle to the pages for the table of contents and the list of figures. The closest I have come is using this:



      renewcommand*{printtoctitle}[1]{chapter*{#1}}
      renewcommand*{printloftitle}[1]{chapter*{#1}}
      renewcommand*{printlottitle}[1]{chapter*{#1}}


      to get the TOC, LOF and LOT first page to be treated as a chapter. However, the pages are still missing the footrule that should be part of the chapter_first_page style.



      Also, if for example the LOF is longer than just a single page, the subsequent pages are not simply using the main pagestyle, but have "List of Figures" in both the header and the footer.



      Any pointers regarding how to fix the problem and make the TOC / LOF / LOT pages fit in with the style of the rest of the document would be very much appreciated!





      Edit: Here is a minimal working example that should illustrate the problem:



      documentclass[11pt, a4paper, twoside]{memoir}

      usepackage{lipsum}
      usepackage{microtype}

      usepackage[pagestyles, clearempty]{titlesec}

      usepackage[includefoot, includehead, bindingoffset=0cm,
      left=3cm, right=3cm, top=2cm, bottom=2cm]{geometry}

      % -----------------------------------------------------------------------------

      newpagestyle{main}{
      headrulesethead[chaptername thechapter: chaptertitle][][]
      {}{}{thesection sectiontitle}
      footrulesetfoot{}{thepage}{}
      }
      pagestyle{main}


      newpagestyle{chapter_first_page}{
      sethead[][][]{}{}{}
      footrulesetfoot{}{thepage}{}
      }
      assignpagestyle{chapter}{chapter_first_page}


      titleformat{chapter}[display]{centeringLARGEbfseries}
      {centeringscshape
      {---~chaptertitlename~thechapter~---}}
      {-6pt}{Huge}[]

      renewpagestyle{plain}{
      sethead[][][]{}{}{}
      footrulesetfoot{}{thepage}{}
      }

      renewcommand*{printtoctitle}[1]{chapter*{#1}}

      % -----------------------------------------------------------------------------


      begin{document}

      thispagestyle{empty}
      (Include some title page here)
      newpage

      thispagestyle{chapter_first_page}
      tableofcontents*

      chapter{Test Chapter 1}
      lipsum[23-42]

      chapter{Test Chapter 2}
      lipsum[23-42]


      end{document}









      share|improve this question
















      I am using the titlesec package to define a rather simplistic pagestyle for the first pages of my chapter and the regular pages within a chapter:



      newpagestyle{main}{
      headrulesethead[chaptername thechapter: chaptertitle][][]
      {}{}{thesection sectiontitle}
      footrulesetfoot{}{thepage}{}
      }

      newpagestyle{chapter_first_page}{
      sethead[][][]{}{}{}
      footrulesetfoot{}{thepage}{}
      }
      assignpagestyle{chapter}{chapter_first_page}


      I am failing, however, to apply that very same pagestyle to the pages for the table of contents and the list of figures. The closest I have come is using this:



      renewcommand*{printtoctitle}[1]{chapter*{#1}}
      renewcommand*{printloftitle}[1]{chapter*{#1}}
      renewcommand*{printlottitle}[1]{chapter*{#1}}


      to get the TOC, LOF and LOT first page to be treated as a chapter. However, the pages are still missing the footrule that should be part of the chapter_first_page style.



      Also, if for example the LOF is longer than just a single page, the subsequent pages are not simply using the main pagestyle, but have "List of Figures" in both the header and the footer.



      Any pointers regarding how to fix the problem and make the TOC / LOF / LOT pages fit in with the style of the rest of the document would be very much appreciated!





      Edit: Here is a minimal working example that should illustrate the problem:



      documentclass[11pt, a4paper, twoside]{memoir}

      usepackage{lipsum}
      usepackage{microtype}

      usepackage[pagestyles, clearempty]{titlesec}

      usepackage[includefoot, includehead, bindingoffset=0cm,
      left=3cm, right=3cm, top=2cm, bottom=2cm]{geometry}

      % -----------------------------------------------------------------------------

      newpagestyle{main}{
      headrulesethead[chaptername thechapter: chaptertitle][][]
      {}{}{thesection sectiontitle}
      footrulesetfoot{}{thepage}{}
      }
      pagestyle{main}


      newpagestyle{chapter_first_page}{
      sethead[][][]{}{}{}
      footrulesetfoot{}{thepage}{}
      }
      assignpagestyle{chapter}{chapter_first_page}


      titleformat{chapter}[display]{centeringLARGEbfseries}
      {centeringscshape
      {---~chaptertitlename~thechapter~---}}
      {-6pt}{Huge}[]

      renewpagestyle{plain}{
      sethead[][][]{}{}{}
      footrulesetfoot{}{thepage}{}
      }

      renewcommand*{printtoctitle}[1]{chapter*{#1}}

      % -----------------------------------------------------------------------------


      begin{document}

      thispagestyle{empty}
      (Include some title page here)
      newpage

      thispagestyle{chapter_first_page}
      tableofcontents*

      chapter{Test Chapter 1}
      lipsum[23-42]

      chapter{Test Chapter 2}
      lipsum[23-42]


      end{document}






      table-of-contents titlesec






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jun 25 '18 at 22:54







      der_herr_g

















      asked Jun 25 '18 at 22:13









      der_herr_gder_herr_g

      387




      387





      bumped to the homepage by Community 8 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 8 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          As on the first page of a chapter, the default is the plain page style, titletoc has a command to redefine any page style, so try this`:



          renewpagestyle{plain}{%
          footrule
          sethead[][][]{}{}{}
          setfoot{}{thepage}{}
          }%





          share|improve this answer


























          • I have tried this before, but redefining the plain pagestyle like this leads to the problem described here: tex.stackexchange.com/q/37253/97669, i.e. suddenly there's a "CONTENTS" in both the header and the footer (similarly for the LOF / LOT). Unfortunately, the fix described there using renewcommand@mkboth did not work for me (or I was putting the code in the wrong place).

            – der_herr_g
            Jun 25 '18 at 22:26













          • Do you load also titlesec, or only titleps?

            – Bernard
            Jun 25 '18 at 22:29











          • I am actually only loading titlesec, with the following options if that is relevant: usepackage[pagestyles, clearempty]{titlesec}. If I try to also load titleps I get a large number of errors, either because of "Incompatible package" (when trying to load it before titlesec), or "Command already defined" (when loading it afterwards).

            – der_herr_g
            Jun 25 '18 at 22:36













          • You don't have to load titleps if you use the pagestyles option. Could you post a minimal example code (b.t. w., do you redefine the chapters layout with titleformat?)

            – Bernard
            Jun 25 '18 at 22:38











          • Yes, I do redefine the chapters layout using titleformat. I added a minimal working example now; I hope it covers everything relevant. It's from a thesis template which contains lots of packages and options, so it's hard to tell what are all the things that could play into the issue...

            – der_herr_g
            Jun 25 '18 at 22:57












          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%2f437964%2fdefine-pagestyle-for-toc-lof-lot-with-titlesec%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









          0














          As on the first page of a chapter, the default is the plain page style, titletoc has a command to redefine any page style, so try this`:



          renewpagestyle{plain}{%
          footrule
          sethead[][][]{}{}{}
          setfoot{}{thepage}{}
          }%





          share|improve this answer


























          • I have tried this before, but redefining the plain pagestyle like this leads to the problem described here: tex.stackexchange.com/q/37253/97669, i.e. suddenly there's a "CONTENTS" in both the header and the footer (similarly for the LOF / LOT). Unfortunately, the fix described there using renewcommand@mkboth did not work for me (or I was putting the code in the wrong place).

            – der_herr_g
            Jun 25 '18 at 22:26













          • Do you load also titlesec, or only titleps?

            – Bernard
            Jun 25 '18 at 22:29











          • I am actually only loading titlesec, with the following options if that is relevant: usepackage[pagestyles, clearempty]{titlesec}. If I try to also load titleps I get a large number of errors, either because of "Incompatible package" (when trying to load it before titlesec), or "Command already defined" (when loading it afterwards).

            – der_herr_g
            Jun 25 '18 at 22:36













          • You don't have to load titleps if you use the pagestyles option. Could you post a minimal example code (b.t. w., do you redefine the chapters layout with titleformat?)

            – Bernard
            Jun 25 '18 at 22:38











          • Yes, I do redefine the chapters layout using titleformat. I added a minimal working example now; I hope it covers everything relevant. It's from a thesis template which contains lots of packages and options, so it's hard to tell what are all the things that could play into the issue...

            – der_herr_g
            Jun 25 '18 at 22:57
















          0














          As on the first page of a chapter, the default is the plain page style, titletoc has a command to redefine any page style, so try this`:



          renewpagestyle{plain}{%
          footrule
          sethead[][][]{}{}{}
          setfoot{}{thepage}{}
          }%





          share|improve this answer


























          • I have tried this before, but redefining the plain pagestyle like this leads to the problem described here: tex.stackexchange.com/q/37253/97669, i.e. suddenly there's a "CONTENTS" in both the header and the footer (similarly for the LOF / LOT). Unfortunately, the fix described there using renewcommand@mkboth did not work for me (or I was putting the code in the wrong place).

            – der_herr_g
            Jun 25 '18 at 22:26













          • Do you load also titlesec, or only titleps?

            – Bernard
            Jun 25 '18 at 22:29











          • I am actually only loading titlesec, with the following options if that is relevant: usepackage[pagestyles, clearempty]{titlesec}. If I try to also load titleps I get a large number of errors, either because of "Incompatible package" (when trying to load it before titlesec), or "Command already defined" (when loading it afterwards).

            – der_herr_g
            Jun 25 '18 at 22:36













          • You don't have to load titleps if you use the pagestyles option. Could you post a minimal example code (b.t. w., do you redefine the chapters layout with titleformat?)

            – Bernard
            Jun 25 '18 at 22:38











          • Yes, I do redefine the chapters layout using titleformat. I added a minimal working example now; I hope it covers everything relevant. It's from a thesis template which contains lots of packages and options, so it's hard to tell what are all the things that could play into the issue...

            – der_herr_g
            Jun 25 '18 at 22:57














          0












          0








          0







          As on the first page of a chapter, the default is the plain page style, titletoc has a command to redefine any page style, so try this`:



          renewpagestyle{plain}{%
          footrule
          sethead[][][]{}{}{}
          setfoot{}{thepage}{}
          }%





          share|improve this answer















          As on the first page of a chapter, the default is the plain page style, titletoc has a command to redefine any page style, so try this`:



          renewpagestyle{plain}{%
          footrule
          sethead[][][]{}{}{}
          setfoot{}{thepage}{}
          }%






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jun 25 '18 at 22:29

























          answered Jun 25 '18 at 22:20









          BernardBernard

          177k778210




          177k778210













          • I have tried this before, but redefining the plain pagestyle like this leads to the problem described here: tex.stackexchange.com/q/37253/97669, i.e. suddenly there's a "CONTENTS" in both the header and the footer (similarly for the LOF / LOT). Unfortunately, the fix described there using renewcommand@mkboth did not work for me (or I was putting the code in the wrong place).

            – der_herr_g
            Jun 25 '18 at 22:26













          • Do you load also titlesec, or only titleps?

            – Bernard
            Jun 25 '18 at 22:29











          • I am actually only loading titlesec, with the following options if that is relevant: usepackage[pagestyles, clearempty]{titlesec}. If I try to also load titleps I get a large number of errors, either because of "Incompatible package" (when trying to load it before titlesec), or "Command already defined" (when loading it afterwards).

            – der_herr_g
            Jun 25 '18 at 22:36













          • You don't have to load titleps if you use the pagestyles option. Could you post a minimal example code (b.t. w., do you redefine the chapters layout with titleformat?)

            – Bernard
            Jun 25 '18 at 22:38











          • Yes, I do redefine the chapters layout using titleformat. I added a minimal working example now; I hope it covers everything relevant. It's from a thesis template which contains lots of packages and options, so it's hard to tell what are all the things that could play into the issue...

            – der_herr_g
            Jun 25 '18 at 22:57



















          • I have tried this before, but redefining the plain pagestyle like this leads to the problem described here: tex.stackexchange.com/q/37253/97669, i.e. suddenly there's a "CONTENTS" in both the header and the footer (similarly for the LOF / LOT). Unfortunately, the fix described there using renewcommand@mkboth did not work for me (or I was putting the code in the wrong place).

            – der_herr_g
            Jun 25 '18 at 22:26













          • Do you load also titlesec, or only titleps?

            – Bernard
            Jun 25 '18 at 22:29











          • I am actually only loading titlesec, with the following options if that is relevant: usepackage[pagestyles, clearempty]{titlesec}. If I try to also load titleps I get a large number of errors, either because of "Incompatible package" (when trying to load it before titlesec), or "Command already defined" (when loading it afterwards).

            – der_herr_g
            Jun 25 '18 at 22:36













          • You don't have to load titleps if you use the pagestyles option. Could you post a minimal example code (b.t. w., do you redefine the chapters layout with titleformat?)

            – Bernard
            Jun 25 '18 at 22:38











          • Yes, I do redefine the chapters layout using titleformat. I added a minimal working example now; I hope it covers everything relevant. It's from a thesis template which contains lots of packages and options, so it's hard to tell what are all the things that could play into the issue...

            – der_herr_g
            Jun 25 '18 at 22:57

















          I have tried this before, but redefining the plain pagestyle like this leads to the problem described here: tex.stackexchange.com/q/37253/97669, i.e. suddenly there's a "CONTENTS" in both the header and the footer (similarly for the LOF / LOT). Unfortunately, the fix described there using renewcommand@mkboth did not work for me (or I was putting the code in the wrong place).

          – der_herr_g
          Jun 25 '18 at 22:26







          I have tried this before, but redefining the plain pagestyle like this leads to the problem described here: tex.stackexchange.com/q/37253/97669, i.e. suddenly there's a "CONTENTS" in both the header and the footer (similarly for the LOF / LOT). Unfortunately, the fix described there using renewcommand@mkboth did not work for me (or I was putting the code in the wrong place).

          – der_herr_g
          Jun 25 '18 at 22:26















          Do you load also titlesec, or only titleps?

          – Bernard
          Jun 25 '18 at 22:29





          Do you load also titlesec, or only titleps?

          – Bernard
          Jun 25 '18 at 22:29













          I am actually only loading titlesec, with the following options if that is relevant: usepackage[pagestyles, clearempty]{titlesec}. If I try to also load titleps I get a large number of errors, either because of "Incompatible package" (when trying to load it before titlesec), or "Command already defined" (when loading it afterwards).

          – der_herr_g
          Jun 25 '18 at 22:36







          I am actually only loading titlesec, with the following options if that is relevant: usepackage[pagestyles, clearempty]{titlesec}. If I try to also load titleps I get a large number of errors, either because of "Incompatible package" (when trying to load it before titlesec), or "Command already defined" (when loading it afterwards).

          – der_herr_g
          Jun 25 '18 at 22:36















          You don't have to load titleps if you use the pagestyles option. Could you post a minimal example code (b.t. w., do you redefine the chapters layout with titleformat?)

          – Bernard
          Jun 25 '18 at 22:38





          You don't have to load titleps if you use the pagestyles option. Could you post a minimal example code (b.t. w., do you redefine the chapters layout with titleformat?)

          – Bernard
          Jun 25 '18 at 22:38













          Yes, I do redefine the chapters layout using titleformat. I added a minimal working example now; I hope it covers everything relevant. It's from a thesis template which contains lots of packages and options, so it's hard to tell what are all the things that could play into the issue...

          – der_herr_g
          Jun 25 '18 at 22:57





          Yes, I do redefine the chapters layout using titleformat. I added a minimal working example now; I hope it covers everything relevant. It's from a thesis template which contains lots of packages and options, so it's hard to tell what are all the things that could play into the issue...

          – der_herr_g
          Jun 25 '18 at 22:57


















          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%2f437964%2fdefine-pagestyle-for-toc-lof-lot-with-titlesec%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...

          Puerta de Hutt Referencias Enlaces externos Menú de navegación15°58′00″S 5°42′00″O /...

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