Hot answers tagged

5

The counter which is responsible of child entries is glossarysubentry. So simply add the line \renewcommand*{\glssubentrycounterlabel}{\Roman{glossarysubentry})\space} in your preamble (you already have subentrycounter=true when calling glossaries) MWE: % arara: pdflatex % arara: makeglossaries % arara: pdflatex % arara: pdflatex ...


3

You could add your own field, and define the pattern in the entry definition. You would still have to manually point to which gls entry you want to use, but I can't see latex running a grammar check to evaluate this part for you. \documentclass{article} \usepackage{glossaries} \glsaddkey {hyphenated} % new key {\relax} % default ...


3

Found it! thesis.tex \documentclass[12pt]{book} \usepackage{acronym} %solution! \begin{document} \include{abstract} \frontmatter \tableofcontents \include{acronyms} %solution! \mainmatter \include{Chapter1} \include{Chapter2} %... \end{document} acronyms.tex \chapter*{Acronyms} \begin{acronym} \acro{USA}{United States of America} ...


3

Use \setglossarypreamble[main]{Your text} or \setglossarypreamble[acronym]{Some other text}. \documentclass{article} \usepackage{hyperref} \usepackage{glossaries} \makeglossaries \setglossarypreamble[acronym]{foo foo} \setglossarypreamble[main]{Many of the definitions echo those in Reference A, B. Readers are referred to these works for additional ...


3

First you need a command that will toggle between ( ... ) and [ ... ]. This is a bit like the automated quoting system provided by packages like csquotes. In general I think csquotes is much better than quotmark, but here we could hijack quotmark and use it for parenthetical material. That way it shouldn't interfere if you happen to need csquotes. For ...


2

This is partly my fault for muddling the file extensions when I replaced glossary with glossaries. The input file from LaTeX's point of view is the output file from the indexing application's point of view, and the output file from LaTeX's point of view is the input file from the indexing application's point of view. I confused my ins and outs because I was ...


2

For glossaries v4.22 onward you can use \glsentrytitlecase{tla}{long}. Alternatively (mfirstuc v1.10 onward) you can use \ecapitalisewords{\glsentrylong{tla}}, which fully expands its argument before applying \capitalisewords. \documentclass[a4paper,12pt]{article} \usepackage{glossaries} \newacronym{tla}{TLA}{three lettered acronym} \begin{document} ...


2

This is too long for a comment, but just to confirm that glossaries doesn't have a problem with 100 entries, here's a test document that defines and uses 1000 sample entries (defined with \newglossaryentry) and 1000 sample abbreviations (defined with \newacronym). All 2000 entries are correctly displayed. \documentclass[twocolumn]{article} ...


2

Here, I modified Werner's solution by editing \sortitem as \newcommand{\sortitem}[1]{% \DTLnewrow{list}% Create a new entry \def\tmp{\DTLnewdbentry{list}{description}}% \expandafter\tmp\expandafter{#1}% Add entry as description } in order to expand the argument being processed. Then, in the MWE, I can pass \foo as an item to be sorted (where \foo ...


2

don't use Umlauts in the key: \documentclass[pdftex]{scrreprt} \usepackage[utf8]{inputenc} \usepackage[]{glossaries} \newglossaryentry{Zielgroesse}{name={sample},plural={},description={}} here is my \gls{Zielgroesse} exemplar produces 'here is my sample exemplar'.


2

\glsfirst is one of the \glstext-like commands mentioned in section 6.2 of glossaries-user.pdf. These commands "don’t change or reference the first use flag" -- thus, when you use \gls{PTCA} in the picture, it is regarded as first-time use. I guess you just misinterpreted the command name: As I understand it, \glsfirst is not to be used the first time you ...


2

Here's a much shorter example that illustrates the problem: \documentclass{beamer} \usepackage{glossaries} \makeglossaries \newglossaryentry{sample}{name=sample,first={\textit{sample}}, description={an example}} \begin{document} \begin{frame} \gls{sample} \end{frame} \begin{frame} \printglossary \end{frame} \end{document} The problem is that ...


1

Without using a \gls{...} for a specific entry that should displayed in place or \glsaddall (for invisible adding) at all the glossary will be empty. Make sure to run the makeglossaries script after compilation and recompile (twice, at best) after the script! Unrelated: I used mhchem package and the \ce command to provide a better support for displaying ...


1

From Glossary Appearance Options: seeautonumberlist If you suppress the number lists with nonumberlist, described above, this will also suppress any cross-referencing information supplied by the see key in \newglossaryentry or \glssee. If you use seeautonumberlist, the see key will automatically implement nonumberlist=false for that entry. ...


1

I encountered some problems with glsdisplayfirst (extra spaces after acronyms). Here is my solution using newacronymstyle (based on glossaries official sample code sam­ple-cus­tom-acronym.tex): \documentclass[hidelinks]{report} \usepackage{hyperref} \usepackage[acronym]{glossaries} %define new style: \newacronymstyle{custom-fn}% new style name {% Check ...


1

The glossaries package has been changed since this question and the other answer were posted. If you are still encountering this problem, update your version of glossaries. Note that \newglossaryentry is still a “short” command, so you can't have paragraph breaks (except through \glspar). \longnewglossaryentry allows explicit paragraph breaks. It's best to ...



Only top voted, non community-wiki answers of a minimum length are eligible