2

I write my thesis and I need a little help. I don't write a thesis in English. I'm using acronyms via glossary package as a template requires.

\newacronym{EM}{EM}{Electromagnetic} work perfectly, but \newacronym{Q}{$Q$}{Electric charge} don't work as I want to. At the end of the thesis is situated a list of acronyms. This list is like bold EM and explanantion. However, in the next line Q is in math mode as I need but it's not bold. Later, I'll use a greek symbols as well so I need to know how to add them as acronyms to the list and be a bold in the list and thin in normal text.

Thanks for help.

P.S. Sorry for bad English It's not my native language.

2 Answers 2

2

Interesting question, I found a solution by andybuckley here, please have a look at it.

The concept is to add \boldmath to \bfseries macro. You can do it just adding the following code in the preamble of your document:

\makeatletter
\g@addto@macro\bfseries{\boldmath}
\makeatother
1

According to this great glossaries package guide by Nicola Talbot \newacronym internally uses \newglossaryentry. That means that you are able to use the same options as for "normal" glossary entries. You do that by using square brackets and define your "extra options".

In your case this should look like: \newacronym[name=$\boldsymbol Q$]{Q}{$Q$}{Electric charge}.

The solution with the name option and the \boldsymbol expression for glossary entries can be found on the Tex-Stackexchange.

Update
Assuming that you are (knowingly or unknowingly) using \makenoidxglossaries in your thesis, your math symbols in the glossary probably lead to unwanted ordering. In your case the symbol $Q$ would not be listed next to other entries that start with Q.... Here is a way to solve this issue as well:

\newacronym[sort={q}, name=$\boldsymbol Q$]{Q}{$Q$}{Electric charge}

It is possible that the change won't take effect with the first rebuild of your document - just build again.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .