Skip to content

Commit

Permalink
Fix dimensionless quantities dash display
Browse files Browse the repository at this point in the history
Encapsulating in 'si' prints fine in text AND math mode
  • Loading branch information
alexpovel committed Mar 26, 2021
1 parent e02b815 commit 5f8dc71
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions bib/glossaries/symbols/greek.bib
Original file line number Diff line number Diff line change
Expand Up @@ -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}},
Expand All @@ -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}},
Expand Down
4 changes: 2 additions & 2 deletions bib/glossaries/symbols/other.bib
Original file line number Diff line number Diff line change
Expand Up @@ -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}},
Expand All @@ -43,7 +43,7 @@ @entry{logmean
@entry{vector,
name={\ensuremath{\vectfmt{x}}},
description={Vector},
unit={--},
unit={\si{-}},
}
@entry{abs,
name={\ensuremath{\absfmt*{\symbolplaceholder}}},
Expand Down
6 changes: 3 additions & 3 deletions bib/glossaries/symbols/roman.bib
Original file line number Diff line number Diff line change
Expand Up @@ -137,18 +137,18 @@ @symbol{electrical_resistance
@symbol{mach_number,
name={\ensuremath{\operatorname{M}}},
description={\glsfmtname{name.ernst_mach} number},
unit={--},
unit={\si{-}},
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Other
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@symbol{component,
name={\ensuremath{n}},
description={Component},
unit={--},
unit={\si{-}},
}
@symbol{count,
name={\ensuremath{k}},
description={Count/Quantity},
unit={--},
unit={\si{-}},
}

0 comments on commit 5f8dc71

Please sign in to comment.