From 5f8dc715d77fc3aa1810d7e09d92ff14d66dbafd Mon Sep 17 00:00:00 2001 From: Alex Povel Date: Fri, 26 Mar 2021 17:49:17 +0100 Subject: [PATCH] Fix dimensionless quantities dash display Encapsulating in 'si' prints fine in text AND math mode --- bib/glossaries/symbols/greek.bib | 4 ++-- bib/glossaries/symbols/other.bib | 4 ++-- bib/glossaries/symbols/roman.bib | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/bib/glossaries/symbols/greek.bib b/bib/glossaries/symbols/greek.bib index b5c1a71..8680e5d 100644 --- a/bib/glossaries/symbols/greek.bib +++ b/bib/glossaries/symbols/greek.bib @@ -4,7 +4,7 @@ @symbol{ratio_of_specific_heats, name={\ensuremath{\kappa}}, description={Ratio of specific heats}, - unit={--}, + unit={\si{-}}, } @symbol{celsius_temperature, name={\ensuremath{\vartheta}}, @@ -22,7 +22,7 @@ @symbol{relative_humidity @symbol{mass_fraction, name={\ensuremath{\gamma}}, description={Mass fraction}, - unit={--}, + unit={\si{-}}, } @symbol{angle_one, name={\ensuremath{\alpha}}, diff --git a/bib/glossaries/symbols/other.bib b/bib/glossaries/symbols/other.bib index 941b0a8..dfac9ae 100644 --- a/bib/glossaries/symbols/other.bib +++ b/bib/glossaries/symbols/other.bib @@ -28,7 +28,7 @@ @entry{flow @entry{nabla, name={\nablaoperatorfmt{\symbolplaceholder}}, description={Vector of partial derivatives (Nabla operator) of \symbolplaceholder}, - unit={--}, + unit={\si{-}}, } @entry{mean, name={\meanfmt{\symbolplaceholder}}, @@ -43,7 +43,7 @@ @entry{logmean @entry{vector, name={\ensuremath{\vectfmt{x}}}, description={Vector}, - unit={--}, + unit={\si{-}}, } @entry{abs, name={\ensuremath{\absfmt*{\symbolplaceholder}}}, diff --git a/bib/glossaries/symbols/roman.bib b/bib/glossaries/symbols/roman.bib index b4f430e..07b50a6 100644 --- a/bib/glossaries/symbols/roman.bib +++ b/bib/glossaries/symbols/roman.bib @@ -137,7 +137,7 @@ @symbol{electrical_resistance @symbol{mach_number, name={\ensuremath{\operatorname{M}}}, description={\glsfmtname{name.ernst_mach} number}, - unit={--}, + unit={\si{-}}, } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Other @@ -145,10 +145,10 @@ @symbol{mach_number @symbol{component, name={\ensuremath{n}}, description={Component}, - unit={--}, + unit={\si{-}}, } @symbol{count, name={\ensuremath{k}}, description={Count/Quantity}, - unit={--}, + unit={\si{-}}, }