Tag Info

Hot answers tagged

9

You haven't provided a Minimal Working Example but it looks like you're using both acronym and glossaries, but since glossaries also does acronyms you only need to load one package: \documentclass{article} \usepackage[acronym,shortcuts]{glossaries} \makeglossaries \newglossaryentry{CMS}{ name={Content Management System}, description={My ...


6

Here's a possible solution. It requires xindy rather than makeindex. If you really don't want to use xindy, it's possible to adjust the code, but it's more complicated. % arara: pdflatex % arara: makeglossaries % arara: pdflatex \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{amsmath} ...


5

If the citation is in the glossary, it won't be picked up until the glossary exists. So you first need to run (pdf)latex, then run makeglossaries to generate the glossary file, then run (pdf)latex which will display the glossary so the citation can now be picked up by LaTeX, then run bibtex to generate the bibliography file, then run (pdf)latex twice to ...


4

Your MWE is incomplete, so I can't see the problem. (You don't have \begin{document}, \tableofcontents or other sectional units for comparison. You also don't need to use the acronym package as it has no bearing on the problem, nor is it needed with glossaries.) The glossary uses \chapter when used with the report class, so it uses the same font as other ...


4

The ShareLaTeX wiki says: ShareLaTeX does not currently support Glossaries, this is planned to change in the near future. Until this change happens, you can't generate glossaries in ShareLaTeX using an external indexing application. You can, however, use TeX to perform the sorting and collating without having to invoke an external indexing application. ...


3

The problem is that the symbol glossary needs the page location list for the main listing, which conflicts with the alignglos location list used by the alignglos environment. I think the simplest solution is to create two symbol glossaries, one for storing the page lists and the other for storing the alignglos lists. The following MWE does that: % arara: ...


3

I would like to present more automatic solution to this problem: \documentclass{article} \usepackage[shortcuts]{glossaries} \usepackage{etoolbox} \makeatletter %define new glossary entry key, description with no size limit \define@key{glossentry}{description}{\def\@glo@ldesc{#1}} %overwrite standard description key with new long description %it also makes ...


2

You can load the footnote package and add \makesavenoteenv{description} to your preamble: \documentclass[11pt]{report} \usepackage[acronym,toc,section=chapter,style=indexgroup,sanitize={name=false,description=false,symbol=true}]{glossaries} \glsdisablehyper \defglsdisplayfirst[main]{#1#4\protect\footnote{#2}} \makeglossaries ...


2

You must set document language to german to let glossaries know how it should sort entries. Due to xindy bug, you also have to set encoding manually: \documentclass[10pt,twoside,a4paper,fleqn]{book} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[german]{babel} \usepackage{ifthen, xkeyval, xfor, amsgen} \usepackage[xindy]{glossaries} ...


2

If you look at the .glo package, it's written out in different ways when the "other languages" are loaded. Without the "other languages" \\glsnamefont{na\\\"{\\i }ve} With the "other languages" \\glsnamefont{na\\"{\\i }ve} So the " is not escaped in the first case, because some of the loaded languages use shorthands in Babel style. Thus glossaries ...


2

Here is an approach that works with only a minor restriction: Instead of issuing \gladdall in the beginning, we issue a \glsaddallunused right before we do \printglossaries. This new command \glsaddallunused will write all entries that have not been used up to this point to the glossaries, with suppressed page numbers. For the suppression we will use ...


2

The package glossaries defines a boolean flag for every entry. If you call \ac the boolean flag is set to true. That means next time you know that the entry was used. To set this flag manual the package provides the command \glsunset. The documentation describes the command at page 105 (glossaries-user.pdf). When using \gls, \glspl and their uppercase ...


1

There are different approaches testing strings. The package etoolbox provides some approaches. However in your case it's important that \glsentryuseri{##1} is expanded before you test it. Related to your minimal example you can do this in the following way: \def\tempa{-}%define token to compare \edef\tempb{\glsentryuseri{##1}}%expand user key and save the ...


1

Without a minimal working example, I don't know what settings you are using, but you can define your own custom style like this: \documentclass{article} \usepackage{glossaries} \renewcommand*{\CustomAcronymFields}{% name={\the\glsshorttok},% name is abbreviated form description={\the\glslongtok},% description is long form ...


1

The glossaries package sets by default the glossaries as top level parts of your document, i.e., for articles the glossaries are sections, while for report and book the glossaries are chapters. The title of your glossary is as big as a chapter heading should be. To make it smaller, you could make your glossary into a section, by loading it with ...


1

Creating a list of acronyms (or glossary) is a three stage process (at least): Typeset the document using LaTeX (or PDFLaTeX) Run the makeglossaries application. Typeset the document again. (You may need to repeat step 3.) The command \makeglossaries in your document creates some glossary-related files (.glo or .acn) and each time you use commands like ...


1

The datagidx package in the datatool bundle might a good solution for you. Datagidx is an improved version of the code discussed in this article. Here is some package documentation. I have not tried this myself yet, but it is the one I have settled on trying as my first approach because I don't like that the glossaries package has external dependencies.



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