I am using the fancyhdr package to put the chapter and section in the header. In my materials and method section on every page from that including the glossary of reagents the chapter title in the header is replaced by the glossary title.
This is the code which makes my glossaries:
Code: Select all
%%%------Make Glossaries
\usepackage[toc,nonumberlist=TRUE]{glossaries}
\newglossary[rlg]{Reagents}{rgn}{rgt}{Reagents}
\newglossary[spg]{Suppliers}{spn}{spt}{Suppliers}
\newglossary[gng]{General}{gnn}{gnt}{General}
\newglossary[crg]{ComonR}{crn}{crt}{ComonR}
\loadglsentries[Reagents]{A0_glossariy/glos_Reagents.tex}
\loadglsentries[Suppliers]{A0_glossariy/glos_Suppliers.tex}
\loadglsentries[General]{A0_glossariy/glos_General.tex}
\loadglsentries[ComonR]{A0_glossariy/glos_ComonR.tex}
\makeglossaries
%%------End Make Glossaries
Code: Select all
%--------------------------------------------------------------------------------------------------------------------------------------------
%-----Glossary: Reagent
\setglossarysection{subsection}
\renewcommand{\glossarypreamble}{Reagent and instrument suppliers are referred to in the text by a short names. The following glossary provides the full name and company address for each short name.}
\singlespacing
\printglossary[ type=Suppliers,
title=Suppliers Details,
toctitle=Suppliers Details,
style=list,
% nonumberlist=TRUE,
% numberedsection=autolabel
]
\doublespacing
\glsaddall[types=Suppliers,]
%---------End:Glossary
%--------------------------------
%----------------------------------------------------------------------------------
%-----Glossary: Common Solvents
\renewcommand{\glossarypreamble}{A list of common solvents and reagents referred to throughout the methods section with their suppliers and grade.}
\singlespacing
\printglossary[ type=ComonR,
title=Details of Common Solvents and Reagents,
toctitle=Details of Common Solvents and Reagents,
style=list,
% nonumberlist=TRUE,
% numberedsection=autolabel
]
\doublespacing
\glsaddall[types=ComonR,]
%---------End:Glossary
%-------------------------------------------------