# Remove title from glossary

I use this code:

\usepackage[nopostdot,nonumberlist,numberedsection]{glossaries}
\makenoidxglossaries

[...]

\subsection{Glossário}

\setglossarystyle{altlistgroup}
\printnoidxglossary


however i don't know how to remove the "3. Glossary" section.

• Welcome to TeX.SX! Please provide a compilable document, not just fragments. Nobody can use this so far. But I assume, that you have to remove numberedsection as an option
– user31729
Mar 4, 2016 at 16:33

Remove the option numberedsection if the glossary title should be a numbered section but using \section*.

\documentclass{article}
\usepackage[portuguese]{babel}
\usepackage[utf8]{inputenc}
\usepackage[nopostdot,nonumberlist]{glossaries}

\makenoidxglossaries

\newglossaryentry{foo}{%
name={Foo},
description={Successful foo}
}

\begin{document}
\section{First}
\subsection{Glossário} % Not needed actually

\setglossarystyle{altlistgroup}
\printnoidxglossary

\end{document}


Update

Using section=subsection and numberedsection is probably what the O.P. requests:

\documentclass{article}
\usepackage[portuguese]{babel}
\usepackage[utf8]{inputenc}
\usepackage[nopostdot,nonumberlist,section=subsection,numberedsection]{glossaries}

\makenoidxglossaries

\newglossaryentry{foo}{%
name={Foo},
description={Successful foo}
}

\begin{document}
\section{First}

\setglossarystyle{altlistgroup}
\printnoidxglossary

\end{document}


• this remove only the number. Mar 4, 2016 at 17:33
• @touhami: Yes, but the question is unclear. I don't see the point to use \subsection{Glosario if this is done by glossaries already. I will update as soon as the question is improved
– user31729
Mar 4, 2016 at 17:35
• you're right, may be this is the point : the OP need the glossary to be subsection not a section ? Mar 4, 2016 at 17:39
• @touhami: I've provided another solution
– user31729
Mar 4, 2016 at 19:16