Text Formatting\hbar font size

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
jzheaux
Posts: 2
Joined: Wed Dec 15, 2010 5:50 am

\hbar font size

Post by jzheaux »

I am currently using the type1ec and fix-cm packages in order to get bigger font sizes. It works great for every symbol that I've needed so far except the \hbar symbol.

What approach will I need to take to get the \hbar symbol to print the same size as the others?

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

jzheaux
Posts: 2
Joined: Wed Dec 15, 2010 5:50 am

Re: \hbar font size

Post by jzheaux »

Got it working. I added the following to the fix-cm.sty file:

\DeclareFontFamily{U}{msb}{}
\DeclareFontShape{U}{msb}{m}{n}{
<-6> msbm5
<6-7> msbm6
<7-8> msbm7
<8-9> msbm8
<9-10> msbm9
<10-> msbm10
}{}

msbm being the font where \hbar is defined.
Post Reply