General'Hiding' items in glossary?

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
mcclur51
Posts: 9
Joined: Wed Mar 24, 2010 10:30 pm

'Hiding' items in glossary?

Post by mcclur51 »

I am working on my thesis in microbiology, using LaTeX for typesetting and the glossaries package to create an (extensive) glossary of biochemical terms used. My problem involves capitalizing my entries.

For example:
PTEN is short for 'phosphatase and tensin homolog'

When I use the acronym in sentence A I want 'phosphatase' capitalized because it starts the sentence (ie. Phosphatase and tensin homolog (PTEN) is a very interesting gene). However, in sentence B I don't want 'phosphatase' capitalized (ie. We observed changes in phosphatase and tensin homolog (PTEN) expression).

I know that it shouldn't matter because the second usage will just be the acronym. Unfortunately, the thesis has many sections and the glossary definitions must be reset before each section. Thus, sentence A and sentence B are in two different sections.

Question: Is there a way to have a glossary entry that is used in the body of the document, but does not show up in the glossary? (I could then have PTEN1 and PTEN2, but only have PTEN defined once in the glossary)
OR is there a command to capitalize just the first letter of a defined acronym?

Thanks for any help!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

nlct
Posts: 276
Joined: Thu Nov 06, 2008 11:15 am

'Hiding' items in glossary?

Post by nlct »

mcclur51 wrote:OR is there a command to capitalize just the first letter of a defined acronym?
Use \Gls instead of \gls

Regards
Nicola Talbot
Post Reply