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
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10358
- 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: 10358
- 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 14482 times
- Stefan Kottwitz
- Site Admin
- Posts: 10358
- 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 14456 times
- Stefan Kottwitz
- Site Admin
- Posts: 10358
- 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/