Fonts & Character Sets ⇒ Glossaries: abbreviation names in bold
Glossaries: abbreviation names in bold
Abbreviation is normal font. But, the first letter of each word is in Bold. So, I want the abbreviations in bold.
Example: the first line is in my PDF is
BOP Best Output Power
But, I want
BOP (some gap here) Best Output Power
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Glossaries: abbreviation names in bold
\renewcommand{\glsnamefont}[1]{\textbf{#1}}
Stefan
Glossaries: abbreviation names in bold
THe code is:
% List of Abbreviations\cleardoublepage\renewcommand{\glossarysection}[2][]{\chapter*{#1}}\markboth{List of Abbrevations}{List of Abbrevations}\addcontentsline{toc}{chapter}{List of Abbrevations}\printglossary[title=List of Abbreviations,type=\acronymtype]\renewcommand{\glsnamefont}[1]{\makefirstuc{#1}}\renewcommand{\glsnamefont}[1]{\textbf{#1}}
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Glossaries: abbreviation names in bold
\renewcommand{\glsnamefont}[1]{\textbf{#1}}
before \printglossary
, not afterwards.Stefan
Glossaries: abbreviation names in bold
Code is given below and screen shot is attached.
% List of Abbreviations\cleardoublepage\renewcommand{\glossarysection}[2][]{\chapter*{#1}}\markboth{List of Abbrevations}{List of Abbrevations}\addcontentsline{toc}{chapter}{List of Abbrevations}\renewcommand{\glsnamefont}[1]{\textbf{#1}}\printglossary[title=List of Abbreviations,type=\acronymtype]\renewcommand{\glsnamefont}[1]{\makefirstuc{#1}}
- Attachments
-
- abbreBOLD.png (168.17 KiB) Viewed 13494 times
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Glossaries: abbreviation names in bold
Code: Select all
\documentclass{report}\usepackage{glossaries}\newglossaryentry{test}{name=test, description={This is a test}}\makeglossaries\begin{document}This is a \gls{test}.\renewcommand{\glossarysection}[2][]{\chapter*{#1}}\renewcommand{\glsnamefont}[1]{\makefirstuc{\textbf{#1}}}\printglossary[title=List of Abbreviations,type=\acronymtype]\end{document}
Stefan
Glossaries: abbreviation names in bold
Please, find the attached screen shot. However, I need one more help: I want all the full abbreviations come in line. Example,
The code for List of Abbreviations is given below:
% List of Abbreviations\cleardoublepage\renewcommand{\glossarysection}[2][]{\chapter*{#1}}\markboth{List of Abbrevations}{List of Abbrevations}\addcontentsline{toc}{chapter}{List of Abbrevations}\renewcommand{\glsnamefont}[1]{\textbf{#1}}\printglossary[title=List of Abbreviations,type=\acronymtype]\renewcommand{\glsnamefont}[1]{\makefirstuc{#1}}\clearpage\pagenumbering{arabic}\chapter{Introduction to solar PV systems and Dynamic PV arrays}\section{Introduction}
- Attachments
-
- abbreviationsLISTinLINE.png (74.99 KiB) Viewed 13468 times
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Glossaries: abbreviation names in bold

Stefan
Glossaries: abbreviation names in bold
Glossaries: abbreviation names in bold
style
package option. For example:
Code: Select all
\usepackage[style=long]{glossaries}
\printglossary
. For example:
Code: Select all
\printglossary[title=List of Abbreviations,type=\acronymtype,style=long]
Regards
Nicola Talbot
Creating a Minimal Example: http://www.dickimaw-books.com/latex/minexample/