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

Twin's vs. Twins'

By what mechanism was the 2017 UK General Election called?

Does the universe have a fixed centre of mass?

Why did Bronn offer to be Tyrion Lannister's champion in trial by combat?

Is there a spell that can create a permanent fire?

Is this Kuo-toa homebrew race balanced?

Is a copyright notice with a non-existent name be invalid?

Vertical ranges of Column Plots in 12

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

What was the last profitable war?

One-one communication

Besides transaction validation, are there any other uses of the Script language in Bitcoin

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

"Destructive power" carried by a B-52?

Are there any irrational/transcendental numbers for which the distribution of decimal digits is not uniform?

An isoperimetric-type inequality inside a cube

Marquee sign letters

French equivalents of おしゃれは足元から (Every good outfit starts with the shoes)

New Order #6: Easter Egg

Sally's older brother

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

Noise in Eigenvalues plot

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

What is "Lambda" in Heston's original paper on stochastic volatility models?



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 13 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 13 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 13 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 13 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

          Can't compile dgruyter and caption packagesLaTeX templates/packages for writing a patent specificationLatex...

          Schneeberg (Smreczany) Bibliografia | Menu...

          Hans Bellmer Spis treści Życiorys | Upamiętnienie | Przypisy | Bibliografia | Linki zewnętrzne |...