निरंजन
A very commonly used package used in linguistics is `leipzig` which unfortunately results in a warning every time it is used with the default fonts of LaTeX. I already have a question [here](https://topanswers.xyz/tex?q=1761) which has a discussion on the issue. The solution provided there by @samcarter is great, but I can't use it as I don't want to change the main font of the document. In [this](https://topanswers.xyz/transcript?room=1806&id=95823#c95823) comment, @Skillmon points out a potential cause of the warning. I would like to add some code in my TeX-file which changes this behavior, but gives me an output that is similar to the one I get with the current settings. Try the following MWE:
```
% arara: lualatex
% arara: makeglossaries
% arara: lualatex
% arara: lualatex
\documentclass{article}
\usepackage{leipzig}
\makeglossaries
\leipzigdesccapitalizetrue
\begin{document}
\Nom\ \Acc\ \Erg\ \Gen\ \Ins\ \Abl
\printglossary[style=mcolblock]
\end{document}
```
![Screenshot_2023-08-03_18-01-57.png](/image?hash=1f1bf8234c40a2f3305c4681cfcccb4d5d739347ba0822e32a28a94a641c7a4d)
The primary concern is to get rid of the warning even in the most default settings, but I would like to know about a few more possibilities. E.g., I would love to use `bold-extra` small caps shapes ONLY for printing the abbreviations in the list produced by `\printglossary`.
Top Answer
samcarter
If getting rid of the warning is the main goal, you could use the `silence` package. This won't fix the underlying issue, but you won't see the warning:
```
% !TeX program = txs:///arara
% arara: lualatex
% arara: makeglossaries
% arara: lualatex
% arara: lualatex
\documentclass{article}
\usepackage{silence}
\WarningFilter{latexfont}{Font shape}
\WarningFilter{latexfont}{Some font shapes}
\usepackage{leipzig}
\makeglossaries
\leipzigdesccapitalizetrue
\begin{document}
\Nom\ \Acc\ \Erg\ \Gen\ \Ins\ \Abl
\printglossary[style=mcolblock]
\end{document}
```