Skip to main content
26 votes

Is is possible to not abbreviate the author name of only one reference in my bibliography?

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}}
Isti115's user avatar
  • 361
15 votes
Accepted

How to print all the acronyms?

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 ...
Nicola Talbot's user avatar
14 votes
Accepted

Title case an acronym

\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 \...
Nicola Talbot's user avatar
13 votes

How to abbreviate journal name in citation

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....
dominecf's user avatar
  • 231
13 votes
Accepted

Plurals in acronyms when using the glossaries package

To override the default plural forms you can use the shortplural key for the short plural and longplural for the long plural. These should go in the optional argument: \newacronym [% options to ...
Nicola Talbot's user avatar
13 votes
Accepted

Glossaries - expand acronyms for first-time use within each chapter

The simplest method is to insert \glsresetall at the start of each chapter. Since etoolbox is automatically loaded (by the base glossaries package), you can use etoolbox's \preto command: \...
Nicola Talbot's user avatar
13 votes

How to generate list of abbreviations in LaTeX?

I suggest the powerful acro package. \documentclass{article} \usepackage{acro} \DeclareAcronym{usa}{ short=USA, long=United States of America, } \DeclareAcronym{eu}{ short=EU, long=European ...
egreg's user avatar
  • 1.1m
12 votes

How to create both list of abbreviations and list of nomenclature using nomencl package?

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{\...
Erfan's user avatar
  • 223
12 votes
Accepted

Extract first letter of each word, also after a special character like a dash

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-...
Nicola Talbot's user avatar
11 votes

How to abbreviate journal name in citation

betterbib (a small project of mine) now gives you a choice on the journal names; short ones are the default. Simply install with pip install betterbib and run it over your bib file: betterbib update ...
Nico Schlömer's user avatar
11 votes
Accepted

How can glossaries handle the article 'a' or 'an' before abbreviations?

You can use glossaries-prefix which is supplied with the glossaries package: \documentclass{article} \usepackage{glossaries-prefix} \newacronym[ prefixfirst={a\ },% prefix used on first use ...
Nicola Talbot's user avatar
10 votes

Capitalising the first letter of an acronym?

Acronym 1.42 adds the \Ac{p,f,fp,fi,l,lp,lu} commands. They work exactly the same way as the \ac commands, but prints the full name, starting with an upper case letter (in case it was defined with a ...
Tobi Oetiker's user avatar
10 votes

How can i use the LaTeX acronym package, and optionally create an acronym list in the document?

Actually I find more easy this way to create acronymous in latex .tex, then I want to share here: \usepackage{acronym} \acrodef{EX}[EX]{\emph{Example}} and then you can call in the text like this: \...
Fra's user avatar
  • 101
10 votes
Accepted

Space between acronym entry and it description

In the preamble, redefine the macro \glstreepredesc to whatever should precede the acronym descriptions. Without modifying it, it will expand to a single space. If you redefine it as \renewcommand\...
gernot's user avatar
  • 49.9k
9 votes

How to combine Acronym and Glossary

Building off of the two answers above, and rolling in a couple of the comments, I have exactly what I was looking for, and I hope it helps others. This doesn't create two separate glossaries, but it ...
datu-puti's user avatar
  • 239
9 votes
Accepted

How to generate list of abbreviations in LaTeX?

From the acronym package documentation: Acronyms can either defined from an environment specifically introduced for that purpose or by direct definitions.The acronym environment allows one to ...
leandriis's user avatar
  • 63.1k
9 votes
Accepted

Hashtag in Acronym

(Disclaimer: I'm absolutely sure there is a duplicate but I couldn't find it.) From the acronym documentation: In the acronym environment, acronyms are defined with the command: \acro{<...
campa's user avatar
  • 31.7k
9 votes

Any elegant way to tell LaTeX that a line break after an abbreviation is bad but not impossible?

You can use \nolinebreak[3], that issues \@highpenalty, whose standard value is 301. I don't think that 5000 is a good value, but you can experiment with higher values than 301. \documentclass{article}...
egreg's user avatar
  • 1.1m
8 votes

Extract first letter of each word, also after a special character like a dash

Here is a solution based on classical TeX only: \def\firstletters{\bgroup \catcode`-=10 \catcode`(=10 \filA} \def\filA#1{\filB#1 {\end} } \def\filB#1#2 {\ifx\end#1\egroup \else#1\expandafter\filB\fi}...
wipet's user avatar
  • 75.5k
8 votes
Accepted

Glossaries Package and LaTeXTools

There are a few different ways this could be approached. The traditional builder that LaTeXTools uses launches latexmk, so you can solve the issue the same way you would for latexmk, i.e., add a ....
ig0774's user avatar
  • 1,980
8 votes
Accepted

List of Acronyms without line spacing

Since the acronym environment is really just a description environment, one possibility is to specify the itemsep of the acronym environment: \documentclass{report} \usepackage[withpage]{acronym} \...
Richard's user avatar
  • 2,084
8 votes
Accepted

Acronym package: Handling possessive case (apostrophe s)

Here's a method that defines the command \acposs which will expand to long's (short) on first use and short's on next use: \documentclass{article} \usepackage{acronym} \makeatletter \newcommand{\...
Nicola Talbot's user avatar
8 votes
Accepted

Abnormal distance in acronym list

This is actually a feature, not a bug, as the acronym list is printed as an index. Thus tNRA and TSH get closer because they both begin with t. You can add the option nogroupskip, described on page ...
Jinwen's user avatar
  • 8,598
8 votes

How to properly typeset “C. A. R. Hoare” in German typography in the middle of a sentence in general?

I don't think you ever want to break after an initial in a name so I'd use ~ or \,.
David Carlisle's user avatar
7 votes

How to combine Acronym and Glossary

I landed here trying to do something similar, but with just a single entry and without the separate use of glossary entries and acronyms. For everyone looking for the same, here is my solution. What ...
Daniel D.'s user avatar
7 votes

Acronyms capitalized, no dot at the end together with Symbols

There is a much easier way, than showed by Iony. According to wikibooks, just use \usepackage[nopostdot]{glossaries} and the dots are gone..
Martin's user avatar
  • 286
7 votes
Accepted

How to specify a context-sensitive command that decides whether to insert a blank after a '.'?

The xspace package takes care about whether to insert a space or not, but not whether it is supposed to be an inter-word-space or an inter-sentence-space. As explained in this answer, you can use \@ ...
jakun's user avatar
  • 6,083
7 votes

How can glossaries handle the article 'a' or 'an' before abbreviations?

You can test if an entry has been used: \documentclass{article} \usepackage{glossaries} \newacronym{fbi}{FBI}{Federal Bureau of Investigation} \begin{document} Fox Mulder is \ifglsused{fbi}{an}{a} \...
Ulrike Fischer's user avatar
7 votes
Accepted

Getting errors using Acro for abbreviations and acronyms: Undefined Control Sequence in acro.sty

The constant \c_minus_one was removed from LaTeX3 in the end-of-year deprecation round for 2018. acro.sty is still using it, though, and that causes issues with new versions of the LaTeX3 kernel. See ...
moewe's user avatar
  • 178k

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