# Tag Info

61

I'm not aware of a way to do this with nomencl. However, there are other packages which can be used. I'll give two examples, one for my package acro and one for glossaries. acro The acro package allows to assign acronyms to a class and print lists for each class (also for combined classes...). This fact can be used for the task. Entries are defined with ...

51

I want to have a glossary where I explain some terms or where I give a one sentence explanation and refer to the section where the term is discussed in detail. With the glossaries package, each term is first defined (in the preamble if you don't want nasty surprises that can occur in certain circumstances) using \newglossaryentry. For example: \...

34

Your problem is not caused by IEEEabrv.bib, which simply contains the abbreviated names of IEEE journals; it is rather caused by the style IEEEtran.bst, which is programmed to abbreviate author names. According to this, maybe you could write your author as author = {{\relax World Health Organization} and others}

31

acronym provides \acresetall for resetting the behaviour. After using it each acronym will behave as if it is called for the first time. So just call \acresetall at the beginning of a chapter (or section). In order to automate this you can load the etoolbox package and place \preto\chapter\acresetall in your preamble (or \preto\section\acresetall if you ...

29

Here is an example using the previously defined \tooltip command. Some user macros from the Acro package needed to be redefined to insert the tooltips only after first use: For Acronyms in black and non-draggable tip boxes use \def\ac#1{\acifused{#1}{\tooltip**[black]{\acs{#1}}{\acl{#1}}}{\acorig{#1}}\relax} \def\acp#1{\acifused{#1}{\tooltip**[black]{\acsp{...

25

In chapter 4 of the user manual the two options are plural and firstplural. The change is simply: \newacronym[plural=cM,firstplural=centiMorgans (cM)]{cM}{cM}{centiMorgan} and the mwe with this change is: \documentclass{article} \usepackage[colorlinks]{hyperref} \usepackage[acronym]{glossaries} \makeglossaries \newacronym[plural=cM,firstplural=...

20


17

Here's an idea using expl3: \documentclass{article} \usepackage[T1]{fontenc} \usepackage{expl3,xparse} % turn expl3 space on: :' and _' are letters now and spaces % are ignored. To insert a space use `~'. \ExplSyntaxOn % declare a new sequence variable: \seq_new:N \l_pouya_boldfirst_seq % the internal command: \cs_new:Npn \pouya_boldfirst:n #1 { %...

17

You can achieve this by passing the name of your longest acronym as an optional parameter to the acronym environment. In your case it would lead to the following code: \documentclass[a4paper,12pt]{article} \usepackage{hyperref} \usepackage{acronym} \begin{document} \section*{Acronyms} \begin{acronym}[AWGN] \acro{MRC}{Maximal Ratio Combining} \acro{QoS }{...

16

Just as cgnieder has said, you have to use the nopostdot option. Example: \usepackage[nopostdot,nonumberlist,acronym,toc,section]{glossaries}

15

This seems to be a good application of the RegEx features of LaTeX3: \documentclass{article} \usepackage{xparse,l3regex} \ExplSyntaxOn \NewDocumentCommand{\BoldFirst}{ m } { \pouya_boldfirst:n { #1 } } \cs_new_protected:Npn \pouya_boldfirst:n #1 { \tl_set:Nn \l_pouya_input_tl { #1 } \regex_replace_once:nnN { \A(.*?[A-Za-z]) } { \c{textbf}\cB\{ \1 \...

15

Without luatex you can do this, although the space around the word doesn't stretch with other inter-word space on the line. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \setlength\textwidth{5cm} \def\etc.{\discretionary{}{etcétera}{\hbox{ etc.}}} \begin{document} abc\etc. abc\etc. abc\etc. abc\etc. abc\etc. abc\etc. abc\...

14

Don't use capitals in this case. Quoting Hedrick, Fine Points of Typographic Usage: What do you do if a sentence starts with an acronym, e.g. "RUCS is great." If you're using small caps, I would set RUCS in small caps. Some people are bothered because this seems to violate the rule about capitalizing the first word. To understand my answer, you ...

13

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 ...

12

A TeX solution using delimited arguments. Macros: \BoldAbbrv{<text>} that does not expand its argument, and \eBoldAbbrv{<text>} that does expand its argument before processing. The \BoldAbbrv macro suffice if you only use plain text in its argument. Check the output of \BoldAbbrv{\GNU} and \eBoldAbbrv{\GNU} for the difference, but also the ...

12

The example below defines some commands that allow you to add entries to multiple databases. You can then use the example command \xgls instead of \gls and it will index the entries for each of the databases. So if pdf is in the glossary, acronym and index database, \xgls{pdf} will add a location to each database, whereas if html is only in the acronym and ...

12

Heiko's answer works perfectly in your case, since you are printing only one glossary. In fact, adding nogroupskip option at loading time, you change the behavior globally, i.e. for all glossaries. Just in case you need to define it locally to one glossary, you can define a new style that redefines just that aspect: \newglossarystyle{modsuper}{% \...

12

As far as I can tell tabularx doesn't work in a glossary style due to the way the tabularx environment processes its contents. However it's possible to achieve the same effect without using tabularx. The following example requires the latest version of glossaries (v4.01 at time of writing): \documentclass{article} \usepackage{calc} \usepackage{booktabs} \...

12

Update 2015-09-08: As of version 2.1 acro supports tooltips directly. They can be activated in two ways: simply set the option \acsetup{tooltip=true}. This will load the pdfcomment package and use \pdftooltip as command for creating tooltips. set the option \acsetup{tooltip-cmd = <macro>} to a tooltip-creating macro of your liking. As a general rule ...

12

The glossaries documentation describes a “first use flag” which determines whether an acronym is being used for the first time or not (and consequently, whether to print the full acronym): First use flag A conditional that determines whether or not the entry has been used according to the rules of first use. Commands to unset or reset this conditional are ...

12

\capitialisewords works by applying \makefirstuc to each space-separated element of its argument. In the case of \capitalisewords{\gls{src}}, there are no spaces in the argument, so it simply does \makefirstuc{\gls{src}}. \makefirstuc applies a set of rules when deciding how to change the case: If the argument starts with a command and that command is ...

12

The datatool package provides \DTLinitials. For example: \documentclass{article} \usepackage{datatool-base} \begin{document} \DTLinitials{This is a test of the Emergency Broadcast System. This-Test. for sample. This T.} \end{document} This automatically inserts a period after each initial, but that can be prevented by redefining \DTLafterinitials, \...

11

I have made a little Python script that processes a bibtex database, searching for the journal names and replacing them with their official abbreviation (taken from the Jabref source): https://gist.github.com/FilipDominec/9ff081952dbc4aae1df657a56c3db4ea

11

The vertical gap between is controlled by option nogroupskip. From the user manual of package glossaries: nogroupskip This is a boolean option. If no value is specified, true is assumed. When set to true, this option suppresses the default vertical gap between groups used by some of the predefined styles. The default setting is nogroupskip=false. ...

11

You can use \setglossarypreamble like this: \documentclass{article} \usepackage[acronym]{glossaries} \makeglossaries \setglossarypreamble[acronym]{This list of acronyms only specifies the most important ones} \newacronym{abc}{ABC}{sample acronym} \begin{document} \gls{abc}. \printglossaries \end{document} This produces: For older versions of ...

11

The \relax solution didn't work for me, but putting the author in double brackets like this got rid of the problem: author = {{The Agda Team}}

11

There are various methods. First is to use nonumberlist (either as a package option or in \printglossary) in combination with \glsaddall (which must be used after all acronyms have been defined). For example: \documentclass{article} \usepackage{graphics} \usepackage[acronym,nonumberlist]{glossaries} \makeglossaries \newacronym{ac1}{ac1}{acronym 1} \...

10

It is indeed possible to have two separate lists using nomencl. You can define them as groups with corresponding titles. When doing so, you need to remove the main title by placing \renewcommand{\nomname}{} in the preamble. Here is an example with two groups: \documentclass{article} \usepackage{nomencl} \makenomenclature %% This removes the main ...

10

I've now looked at the documentation for acronym. I'm going to assume that this is the package you're using. Since acronym is essentially a list environment, you can reset the parameters for lists: \begin{acronym} \setlength{\parskip}{0ex} \setlength{\itemsep}{1ex} \acro{BLAS}{Basic Linear Algebra Subprograms} \acro{CLR}{Common Language Runtime} \...

10

The silence package uses a trick that fails when hyperref examines the section title in order to extract the information for the bookmarks. My suggestion is to avoid \acs in section titles; you can do it with \texorpdfstring: \section{\texorpdfstring{\acs{UE}}{UE}} A different strategy might be to add \makeatletter \protected\def\sl@Terminator{\sl@...

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