LaTeX How Do You Create a Script Lowercase 'r' in LaTeX?

  • Thread starter Thread starter marsdk
  • Start date Start date
  • Tags Tags
    Latex
Click For Summary
The discussion centers on finding a way to create a lowercase 'r' in LaTeX that resembles the script style used in Griffiths Electrodynamics. Two primary solutions are presented. The first involves using the calligra font, which allows for the creation of a script 'r' through specific commands. However, this method has a limitation as it does not support bold formatting, making it difficult to represent both a vector and its magnitude simultaneously. The second solution mentions the mtpro2 font package, which includes both normal and bold script 'r' options, but it comes at a high cost of $130, which is seen as excessive for a single character. The discussion also prompts suggestions for alternative LaTeX fonts like \mathfrak and \mathcal to achieve similar results.
marsdk
Messages
15
Reaction score
0
Hey all,

I know this has been discussed before, but seeing that I can't find a post anywhere with a good solution, maybe another discussion won't hurt.

How do you make a script lowercase 'r' in Latex, resembling what you see in eg. Griffiths Electrodynamics?

So far I have found two solutions:

1) With the calligra font, implemented by first declaring the font and then making a command that makes the 'r':

Code:
% Declares the font
\usepackage{calligra}
\DeclareMathAlphabet{\mathcalligra}{T1}{calligra}{m}{n}
\DeclareFontShape{T1}{calligra}{m}{n}{<->s*[2.2]callig15}{}
 
% Makes '\sr' make a script r
\newcommand{\sr}{\ensuremath{\mathcalligra{r}}}

HOWEVER, this method has the problem, that \textbf{} and \mathbf{} does not affect the script r, making it hard to use it to denote both a vector and its length. I have not yet found a way around this.

2) The mtpro2 fonts include both a normal and a bold script r, the packages they are in cost 130 $, a lot of money for one letter. Described here: http://www.pctex.com/mtpro2.html"

Has anyone found a solution to this?
 
Last edited by a moderator:
Physics news on Phys.org
##\LaTeX## has fonts like \mathfrak and \mathcal. Have you tried using them?
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 8 ·
Replies
8
Views
12K
  • · Replies 2 ·
Replies
2
Views
58K
  • · Replies 6 ·
Replies
6
Views
6K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
Replies
2
Views
3K
Replies
11
Views
10K
Replies
1
Views
2K
Replies
1
Views
2K