Prevent Page Break between glossary heading and first entry Announcing the arrival of Valued...

When communicating altitude with a '9' in it, should it be pronounced "nine hundred" or "niner hundred"?

Is above average number of years spent on PhD considered a red flag in future academia or industry positions?

What do you call a plan that's an alternative plan in case your initial plan fails?

Did the new image of black hole confirm the general theory of relativity?

How does modal jazz use chord progressions?

What did Darwin mean by 'squib' here?

What's the difference between (size_t)-1 and ~0?

Slither Like a Snake

How to colour the US map with Yellow, Green, Red and Blue to minimize the number of states with the colour of Green

Do working physicists consider Newtonian mechanics to be "falsified"?

When is phishing education going too far?

Is it possible to ask for a hotel room without minibar/extra services?

Are my PIs rude or am I just being too sensitive?

How is simplicity better than precision and clarity in prose?

Autumning in love

Determine whether f is a function, an injection, a surjection

Working around an AWS network ACL rule limit

Who can trigger ship-wide alerts in Star Trek?

What was Bilhah and Zilpah's ancestry?

The following signatures were invalid: EXPKEYSIG 1397BC53640DB551

How many spell slots should a Fighter 11/Ranger 9 have?

Was credit for the black hole image misattributed?

How to retrograde a note sequence in Finale?

Array/tabular for long multiplication



Prevent Page Break between glossary heading and first entry



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)How to put kana with CJK in the name of a “polyglotic” glossary entry?How to mark up different entry types (index/glossary/acronym/notation) at the same time in datagidx package?parameter description with long descriptions and long lists — possibility of page break?Errors when using glossaries packageshow “continued” for nested description list item on page breakmakeglossaries doesn't workAccess specific glossary fields without triggering first usageAcronym first use - footnote in glossary descriptionNomenclature with glossaries line break in name fieldHow to create glossary entries for custom notation with arguments?












1















I use the glossaries package to define some abbreviations and terms. I also created my own style (not really necessary in the MWE, but in my complete document I want to show more information).
The problem is that I'm not able to prevent a page break between the header of the glossary and the first entry. I already tried to introduce nopagebreak at several locations but didn't succeed.



% arara: lualatex: { synctex: on }
% arara: makeglossaries
% arara: lualatex: { synctex: on }
% arara: lualatex: { synctex: on }

documentclass[]{article}

usepackage[nonumberlist,nopostdot,nogroupskip,savewrites]{glossaries}

newglossarystyle{myGlossaryStyle}{%
renewenvironment{theglossary}%
{begin{longtable}{p{0.125textwidth}p{0.875textwidth}}}{end{longtable}}%
renewcommand*{glossaryheader}{}%
renewcommand*{glsgroupheading}[1]{}%
renewcommand{glossentry}[2]{ glsentryitem{##1}glstarget{##1}{glossentryname{##1}} & glossentrydesc{##1} tabularnewline}
renewcommand{subglossentry}[3]{glossentry{##2}{##3}}%
}

newglossary*{glo1}{Glossary 1}
newglossary*{glo2}{Glossary 2}
makeglossaries

newglossaryentry{e1}{name={e1}, description={e1 with a very very long line such that it needs at least two lines, which even needs some more words}}
newglossaryentry{e2}{name={e2}, description={e2 with a very very long line such that it needs at least two lines, which even needs some more words}}
newglossaryentry{e3}{name={e3}, description={e3}}
newglossaryentry{e4}{name={e4}, description={e4}}
newglossaryentry{e5}{name={e5}, description={e5}}
newglossaryentry{e6}{name={e6}, description={e6}}
newglossaryentry{e7}{name={e7}, description={e7}}
newglossaryentry{e8}{name={e8}, description={e8}}
newglossaryentry{e9}{name={e9}, description={e9}}
newglossaryentry{e10}{name={e10}, description={e10}}

newglossaryentry{glo1-e1}{name={glo1-e1}, description={glo1-e1 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo1}}
newglossaryentry{glo1-e2}{name={glo1-e2}, description={glo1-e2 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo1}}
newglossaryentry{glo1-e3}{name={glo1-e3}, description={glo1-e3 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo1}}
newglossaryentry{glo1-e4}{name={glo1-e4}, description={glo1-e4 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo1}}
newglossaryentry{glo1-e5}{name={glo1-e5}, description={glo1-e5 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo1}}
newglossaryentry{glo1-e6}{name={glo1-e6}, description={glo1-e6 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo1}}
newglossaryentry{glo1-e7}{name={glo1-e7}, description={glo1-e7 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo1}}
newglossaryentry{glo1-e8}{name={glo1-e8}, description={glo1-e8 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo1}}
newglossaryentry{glo1-e9}{name={glo1-e9}, description={glo1-e9 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo1}}
newglossaryentry{glo1-e10}{name={glo1-e10}, description={glo1-e10}, type={glo1}}

newglossaryentry{glo2-e1}{name={glo2-e1}, description={glo2-e1 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo2}}
newglossaryentry{glo2-e2}{name={glo2-e2}, description={glo2-e2 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo2}}
newglossaryentry{glo2-e3}{name={glo2-e3}, description={glo2-e3 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo2}}
newglossaryentry{glo2-e4}{name={glo2-e4}, description={glo2-e4 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo2}}
newglossaryentry{glo2-e5}{name={glo2-e5}, description={glo2-e5}, type={glo2}}
newglossaryentry{glo2-e6}{name={glo2-e6}, description={glo2-e6}, type={glo2}}
newglossaryentry{glo2-e7}{name={glo2-e7}, description={glo2-e7}, type={glo2}}
newglossaryentry{glo2-e8}{name={glo2-e8}, description={glo2-e8 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo2}}
newglossaryentry{glo2-e9}{name={glo2-e9}, description={glo2-e9}, type={glo2}}
newglossaryentry{glo2-e10}{name={glo2-e10}, description={glo2-e10}, type={glo2}}


begin{document}
setglossarysection{section}
glsaddall[types={glo1,glo2}]
printglossary[type=glo1, style=myGlossaryStyle]
printglossary[type=glo2, style=myGlossaryStyle]
printglossary[type=main, title={Main Glossary}, style=myGlossaryStyle]
end{document}











share|improve this question














bumped to the homepage by Community 2 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















    I use the glossaries package to define some abbreviations and terms. I also created my own style (not really necessary in the MWE, but in my complete document I want to show more information).
    The problem is that I'm not able to prevent a page break between the header of the glossary and the first entry. I already tried to introduce nopagebreak at several locations but didn't succeed.



    % arara: lualatex: { synctex: on }
    % arara: makeglossaries
    % arara: lualatex: { synctex: on }
    % arara: lualatex: { synctex: on }

    documentclass[]{article}

    usepackage[nonumberlist,nopostdot,nogroupskip,savewrites]{glossaries}

    newglossarystyle{myGlossaryStyle}{%
    renewenvironment{theglossary}%
    {begin{longtable}{p{0.125textwidth}p{0.875textwidth}}}{end{longtable}}%
    renewcommand*{glossaryheader}{}%
    renewcommand*{glsgroupheading}[1]{}%
    renewcommand{glossentry}[2]{ glsentryitem{##1}glstarget{##1}{glossentryname{##1}} & glossentrydesc{##1} tabularnewline}
    renewcommand{subglossentry}[3]{glossentry{##2}{##3}}%
    }

    newglossary*{glo1}{Glossary 1}
    newglossary*{glo2}{Glossary 2}
    makeglossaries

    newglossaryentry{e1}{name={e1}, description={e1 with a very very long line such that it needs at least two lines, which even needs some more words}}
    newglossaryentry{e2}{name={e2}, description={e2 with a very very long line such that it needs at least two lines, which even needs some more words}}
    newglossaryentry{e3}{name={e3}, description={e3}}
    newglossaryentry{e4}{name={e4}, description={e4}}
    newglossaryentry{e5}{name={e5}, description={e5}}
    newglossaryentry{e6}{name={e6}, description={e6}}
    newglossaryentry{e7}{name={e7}, description={e7}}
    newglossaryentry{e8}{name={e8}, description={e8}}
    newglossaryentry{e9}{name={e9}, description={e9}}
    newglossaryentry{e10}{name={e10}, description={e10}}

    newglossaryentry{glo1-e1}{name={glo1-e1}, description={glo1-e1 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo1}}
    newglossaryentry{glo1-e2}{name={glo1-e2}, description={glo1-e2 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo1}}
    newglossaryentry{glo1-e3}{name={glo1-e3}, description={glo1-e3 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo1}}
    newglossaryentry{glo1-e4}{name={glo1-e4}, description={glo1-e4 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo1}}
    newglossaryentry{glo1-e5}{name={glo1-e5}, description={glo1-e5 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo1}}
    newglossaryentry{glo1-e6}{name={glo1-e6}, description={glo1-e6 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo1}}
    newglossaryentry{glo1-e7}{name={glo1-e7}, description={glo1-e7 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo1}}
    newglossaryentry{glo1-e8}{name={glo1-e8}, description={glo1-e8 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo1}}
    newglossaryentry{glo1-e9}{name={glo1-e9}, description={glo1-e9 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo1}}
    newglossaryentry{glo1-e10}{name={glo1-e10}, description={glo1-e10}, type={glo1}}

    newglossaryentry{glo2-e1}{name={glo2-e1}, description={glo2-e1 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo2}}
    newglossaryentry{glo2-e2}{name={glo2-e2}, description={glo2-e2 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo2}}
    newglossaryentry{glo2-e3}{name={glo2-e3}, description={glo2-e3 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo2}}
    newglossaryentry{glo2-e4}{name={glo2-e4}, description={glo2-e4 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo2}}
    newglossaryentry{glo2-e5}{name={glo2-e5}, description={glo2-e5}, type={glo2}}
    newglossaryentry{glo2-e6}{name={glo2-e6}, description={glo2-e6}, type={glo2}}
    newglossaryentry{glo2-e7}{name={glo2-e7}, description={glo2-e7}, type={glo2}}
    newglossaryentry{glo2-e8}{name={glo2-e8}, description={glo2-e8 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo2}}
    newglossaryentry{glo2-e9}{name={glo2-e9}, description={glo2-e9}, type={glo2}}
    newglossaryentry{glo2-e10}{name={glo2-e10}, description={glo2-e10}, type={glo2}}


    begin{document}
    setglossarysection{section}
    glsaddall[types={glo1,glo2}]
    printglossary[type=glo1, style=myGlossaryStyle]
    printglossary[type=glo2, style=myGlossaryStyle]
    printglossary[type=main, title={Main Glossary}, style=myGlossaryStyle]
    end{document}











    share|improve this question














    bumped to the homepage by Community 2 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












      1








      1








      I use the glossaries package to define some abbreviations and terms. I also created my own style (not really necessary in the MWE, but in my complete document I want to show more information).
      The problem is that I'm not able to prevent a page break between the header of the glossary and the first entry. I already tried to introduce nopagebreak at several locations but didn't succeed.



      % arara: lualatex: { synctex: on }
      % arara: makeglossaries
      % arara: lualatex: { synctex: on }
      % arara: lualatex: { synctex: on }

      documentclass[]{article}

      usepackage[nonumberlist,nopostdot,nogroupskip,savewrites]{glossaries}

      newglossarystyle{myGlossaryStyle}{%
      renewenvironment{theglossary}%
      {begin{longtable}{p{0.125textwidth}p{0.875textwidth}}}{end{longtable}}%
      renewcommand*{glossaryheader}{}%
      renewcommand*{glsgroupheading}[1]{}%
      renewcommand{glossentry}[2]{ glsentryitem{##1}glstarget{##1}{glossentryname{##1}} & glossentrydesc{##1} tabularnewline}
      renewcommand{subglossentry}[3]{glossentry{##2}{##3}}%
      }

      newglossary*{glo1}{Glossary 1}
      newglossary*{glo2}{Glossary 2}
      makeglossaries

      newglossaryentry{e1}{name={e1}, description={e1 with a very very long line such that it needs at least two lines, which even needs some more words}}
      newglossaryentry{e2}{name={e2}, description={e2 with a very very long line such that it needs at least two lines, which even needs some more words}}
      newglossaryentry{e3}{name={e3}, description={e3}}
      newglossaryentry{e4}{name={e4}, description={e4}}
      newglossaryentry{e5}{name={e5}, description={e5}}
      newglossaryentry{e6}{name={e6}, description={e6}}
      newglossaryentry{e7}{name={e7}, description={e7}}
      newglossaryentry{e8}{name={e8}, description={e8}}
      newglossaryentry{e9}{name={e9}, description={e9}}
      newglossaryentry{e10}{name={e10}, description={e10}}

      newglossaryentry{glo1-e1}{name={glo1-e1}, description={glo1-e1 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo1}}
      newglossaryentry{glo1-e2}{name={glo1-e2}, description={glo1-e2 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo1}}
      newglossaryentry{glo1-e3}{name={glo1-e3}, description={glo1-e3 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo1}}
      newglossaryentry{glo1-e4}{name={glo1-e4}, description={glo1-e4 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo1}}
      newglossaryentry{glo1-e5}{name={glo1-e5}, description={glo1-e5 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo1}}
      newglossaryentry{glo1-e6}{name={glo1-e6}, description={glo1-e6 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo1}}
      newglossaryentry{glo1-e7}{name={glo1-e7}, description={glo1-e7 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo1}}
      newglossaryentry{glo1-e8}{name={glo1-e8}, description={glo1-e8 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo1}}
      newglossaryentry{glo1-e9}{name={glo1-e9}, description={glo1-e9 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo1}}
      newglossaryentry{glo1-e10}{name={glo1-e10}, description={glo1-e10}, type={glo1}}

      newglossaryentry{glo2-e1}{name={glo2-e1}, description={glo2-e1 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo2}}
      newglossaryentry{glo2-e2}{name={glo2-e2}, description={glo2-e2 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo2}}
      newglossaryentry{glo2-e3}{name={glo2-e3}, description={glo2-e3 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo2}}
      newglossaryentry{glo2-e4}{name={glo2-e4}, description={glo2-e4 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo2}}
      newglossaryentry{glo2-e5}{name={glo2-e5}, description={glo2-e5}, type={glo2}}
      newglossaryentry{glo2-e6}{name={glo2-e6}, description={glo2-e6}, type={glo2}}
      newglossaryentry{glo2-e7}{name={glo2-e7}, description={glo2-e7}, type={glo2}}
      newglossaryentry{glo2-e8}{name={glo2-e8}, description={glo2-e8 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo2}}
      newglossaryentry{glo2-e9}{name={glo2-e9}, description={glo2-e9}, type={glo2}}
      newglossaryentry{glo2-e10}{name={glo2-e10}, description={glo2-e10}, type={glo2}}


      begin{document}
      setglossarysection{section}
      glsaddall[types={glo1,glo2}]
      printglossary[type=glo1, style=myGlossaryStyle]
      printglossary[type=glo2, style=myGlossaryStyle]
      printglossary[type=main, title={Main Glossary}, style=myGlossaryStyle]
      end{document}











      share|improve this question














      I use the glossaries package to define some abbreviations and terms. I also created my own style (not really necessary in the MWE, but in my complete document I want to show more information).
      The problem is that I'm not able to prevent a page break between the header of the glossary and the first entry. I already tried to introduce nopagebreak at several locations but didn't succeed.



      % arara: lualatex: { synctex: on }
      % arara: makeglossaries
      % arara: lualatex: { synctex: on }
      % arara: lualatex: { synctex: on }

      documentclass[]{article}

      usepackage[nonumberlist,nopostdot,nogroupskip,savewrites]{glossaries}

      newglossarystyle{myGlossaryStyle}{%
      renewenvironment{theglossary}%
      {begin{longtable}{p{0.125textwidth}p{0.875textwidth}}}{end{longtable}}%
      renewcommand*{glossaryheader}{}%
      renewcommand*{glsgroupheading}[1]{}%
      renewcommand{glossentry}[2]{ glsentryitem{##1}glstarget{##1}{glossentryname{##1}} & glossentrydesc{##1} tabularnewline}
      renewcommand{subglossentry}[3]{glossentry{##2}{##3}}%
      }

      newglossary*{glo1}{Glossary 1}
      newglossary*{glo2}{Glossary 2}
      makeglossaries

      newglossaryentry{e1}{name={e1}, description={e1 with a very very long line such that it needs at least two lines, which even needs some more words}}
      newglossaryentry{e2}{name={e2}, description={e2 with a very very long line such that it needs at least two lines, which even needs some more words}}
      newglossaryentry{e3}{name={e3}, description={e3}}
      newglossaryentry{e4}{name={e4}, description={e4}}
      newglossaryentry{e5}{name={e5}, description={e5}}
      newglossaryentry{e6}{name={e6}, description={e6}}
      newglossaryentry{e7}{name={e7}, description={e7}}
      newglossaryentry{e8}{name={e8}, description={e8}}
      newglossaryentry{e9}{name={e9}, description={e9}}
      newglossaryentry{e10}{name={e10}, description={e10}}

      newglossaryentry{glo1-e1}{name={glo1-e1}, description={glo1-e1 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo1}}
      newglossaryentry{glo1-e2}{name={glo1-e2}, description={glo1-e2 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo1}}
      newglossaryentry{glo1-e3}{name={glo1-e3}, description={glo1-e3 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo1}}
      newglossaryentry{glo1-e4}{name={glo1-e4}, description={glo1-e4 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo1}}
      newglossaryentry{glo1-e5}{name={glo1-e5}, description={glo1-e5 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo1}}
      newglossaryentry{glo1-e6}{name={glo1-e6}, description={glo1-e6 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo1}}
      newglossaryentry{glo1-e7}{name={glo1-e7}, description={glo1-e7 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo1}}
      newglossaryentry{glo1-e8}{name={glo1-e8}, description={glo1-e8 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo1}}
      newglossaryentry{glo1-e9}{name={glo1-e9}, description={glo1-e9 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo1}}
      newglossaryentry{glo1-e10}{name={glo1-e10}, description={glo1-e10}, type={glo1}}

      newglossaryentry{glo2-e1}{name={glo2-e1}, description={glo2-e1 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo2}}
      newglossaryentry{glo2-e2}{name={glo2-e2}, description={glo2-e2 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo2}}
      newglossaryentry{glo2-e3}{name={glo2-e3}, description={glo2-e3 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo2}}
      newglossaryentry{glo2-e4}{name={glo2-e4}, description={glo2-e4 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo2}}
      newglossaryentry{glo2-e5}{name={glo2-e5}, description={glo2-e5}, type={glo2}}
      newglossaryentry{glo2-e6}{name={glo2-e6}, description={glo2-e6}, type={glo2}}
      newglossaryentry{glo2-e7}{name={glo2-e7}, description={glo2-e7}, type={glo2}}
      newglossaryentry{glo2-e8}{name={glo2-e8}, description={glo2-e8 with a very very long line such that it needs at least two lines, which even needs some more words}, type={glo2}}
      newglossaryentry{glo2-e9}{name={glo2-e9}, description={glo2-e9}, type={glo2}}
      newglossaryentry{glo2-e10}{name={glo2-e10}, description={glo2-e10}, type={glo2}}


      begin{document}
      setglossarysection{section}
      glsaddall[types={glo1,glo2}]
      printglossary[type=glo1, style=myGlossaryStyle]
      printglossary[type=glo2, style=myGlossaryStyle]
      printglossary[type=main, title={Main Glossary}, style=myGlossaryStyle]
      end{document}








      page-breaking glossaries






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 14 '17 at 7:24









      W. AlphaW. Alpha

      795




      795





      bumped to the homepage by Community 2 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 2 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 a pragmatic solution I added a manual page break just before the main glossary.



          begin{document}
          setglossarysection{section}
          glsaddall[types={glo1,glo2}]
          printglossary[type=glo1, style=myGlossaryStyle]
          printglossary[type=glo2, style=myGlossaryStyle]
          pagebreak
          printglossary[type=main, title={Main Glossary}, style=myGlossaryStyle]
          end{document}





          share|improve this answer
























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "85"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            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%2f401209%2fprevent-page-break-between-glossary-heading-and-first-entry%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 a pragmatic solution I added a manual page break just before the main glossary.



            begin{document}
            setglossarysection{section}
            glsaddall[types={glo1,glo2}]
            printglossary[type=glo1, style=myGlossaryStyle]
            printglossary[type=glo2, style=myGlossaryStyle]
            pagebreak
            printglossary[type=main, title={Main Glossary}, style=myGlossaryStyle]
            end{document}





            share|improve this answer




























              0














              As a pragmatic solution I added a manual page break just before the main glossary.



              begin{document}
              setglossarysection{section}
              glsaddall[types={glo1,glo2}]
              printglossary[type=glo1, style=myGlossaryStyle]
              printglossary[type=glo2, style=myGlossaryStyle]
              pagebreak
              printglossary[type=main, title={Main Glossary}, style=myGlossaryStyle]
              end{document}





              share|improve this answer


























                0












                0








                0







                As a pragmatic solution I added a manual page break just before the main glossary.



                begin{document}
                setglossarysection{section}
                glsaddall[types={glo1,glo2}]
                printglossary[type=glo1, style=myGlossaryStyle]
                printglossary[type=glo2, style=myGlossaryStyle]
                pagebreak
                printglossary[type=main, title={Main Glossary}, style=myGlossaryStyle]
                end{document}





                share|improve this answer













                As a pragmatic solution I added a manual page break just before the main glossary.



                begin{document}
                setglossarysection{section}
                glsaddall[types={glo1,glo2}]
                printglossary[type=glo1, style=myGlossaryStyle]
                printglossary[type=glo2, style=myGlossaryStyle]
                pagebreak
                printglossary[type=main, title={Main Glossary}, style=myGlossaryStyle]
                end{document}






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 20 '17 at 10:12









                W. AlphaW. Alpha

                795




                795






























                    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%2f401209%2fprevent-page-break-between-glossary-heading-and-first-entry%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

                    IEEEtran - How to include ORCID in TeX/PDF with PdfLatexIs there a standard way to include ORCID in TeX /...

                    Cicindela nigrior Przypisy | Menu nawigacyjneCicindela varians unicolorManual for the Identification of the...

                    Glossaries-extra: Adding glossaries package to “Clas­sicTh­e­sis” template by Dr. André Miede v. 4.6 ...