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

  • Context: LaTeX 
  • Thread starter Thread starter marsdk
  • Start date Start date
  • Tags Tags
    Latex
Click For Summary
SUMMARY

The discussion focuses on creating a script lowercase 'r' in LaTeX, specifically resembling the style used in Griffiths Electrodynamics. Two primary solutions are presented: the first involves using the calligra font with a custom command to create the script 'r', while the second option utilizes the mtpro2 font package, which includes both normal and bold script 'r' but comes at a cost of $130. Users express challenges with the calligra method, particularly regarding the inability to apply bold formatting effectively.

PREREQUISITES
  • Familiarity with LaTeX document preparation system
  • Understanding of LaTeX font packages, specifically calligra and mtpro2
  • Knowledge of LaTeX command definitions and custom commands
  • Basic experience with mathematical typesetting in LaTeX
NEXT STEPS
  • Research the use of the calligra font in LaTeX for mathematical symbols
  • Explore alternatives to mtpro2 for script fonts in LaTeX
  • Investigate the use of \mathfrak and \mathcal fonts in LaTeX
  • Learn how to create and modify custom commands in LaTeX
USEFUL FOR

LaTeX users, mathematicians, physicists, and anyone needing to typeset script letters in mathematical documents.

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
13K
  • · 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