# Is there a way to write slanted non-italic (especially bold/bb lowercase) letters in math mode?

I would like to know whether there is a simple way to have slanted and non-italic lower case letters (especially in bold and/or blackboard bold style) in math mode, while still using some basic/default settings.

This is stemming from a practical need: I would like to have a special graphical rendering for n-tuples, such as objects of ℝn, in order to have them visually distinguished from ordinary vectors, for which I'm using italic bold. As far as I know, variable quantities should be written in slanted style, hence the "slanted" part (and btw, there's the rub!, writing non-slanted (roman) bold lower case letters is quite unproblematic, even for me). I have also noticed that uppercase \boldsymbol (and \bm from the bm package, and \vb* from the physics package) are already non italic, but this may be too big a constraint to me, and I'd rather avoid resorting to capitalizing each n-tuple, hence the "lowercase" part.

Since I'm quite new to Latex, I'm using some very basic settings, and would like to stick to them, in particular to Computer Modern as math font, and just add the capability of writing slanted non-italic (bold/bb) fonts within equations.

As an extrema ratio, I would resort to \text, but I guess it's better not to do this (eg for spacing, accents, etc.).

I have thoroughly looked for an answer; this one provides almost everything I need, the only issue with it being that slanted fonts from cmbxsl10 look significantly smaller than ordinary ones.

If you want the bold version slanted

\documentclass{article}
\usepackage{amsmath}
\DeclareSymbolFont{slant}{OT1}{\familydefault}{m}{sl}
\SetSymbolFont{slant}{bold}{OT1}{\familydefault}{bx}{sl}
\DeclareSymbolFontAlphabet{\mathsl}{slant}
\begin{document}
$fgh\mathsl{fgh}_{fgh\mathsl{fgh}}$
$\boldsymbol{f}\boldsymbol{\mathsl{f}}$
\end{document} If you want the bold version unslanted

\documentclass{article}
\usepackage{amsmath}
\DeclareSymbolFont{slant}{OT1}{\familydefault}{m}{sl}
\SetSymbolFont{slant}{bold}{OT1}{\familydefault}{b}{sl}
\DeclareSymbolFontAlphabet{\mathsl}{slant}
\begin{document}
$fgh\mathsl{fgh}_{fgh\mathsl{fgh}}$
$\boldsymbol{f}\boldsymbol{\mathsl{f}}$
\end{document} % My standard header for TeX.SX answers:
\documentclass[a4paper]{article} % To avoid confusion, let us explicitly
% declare the paper format.

\usepackage[T1]{fontenc}         % Not always necessary, but recommended.
% End of standard header.  What follows pertains to the problem at hand.

\usepackage{amsmath,amsfonts} % compatibility test

\DeclareMathAlphabet{\mathsl}  {T1}{cmr}{m} {sl}
\SetMathAlphabet{\mathsl}{bold}{T1}{cmr}{bx}{sl}

\begin{document}

Normal: $$\mathsl{ad}-\mathsl{bc}$$.

{\bfseries\boldmath Boldfaced: $$\mathsl{ad}-\mathsl{bc}$$.}

\end{document}

• Thanks a lot. Both your answer and Steven B. Segletes's completely solve my problem. By no means I'm qualified to say whether one is better than the other; the only reason why I accepted the other answer is because it was posted before than yours; please believe me, I'm very grateful to both of you, and would have picked both answers if possible. Feb 15, 2019 at 13:52
• I'd not forget \bm Feb 15, 2019 at 14:44
{"ft_lang_label":"__label__en","ft_lang_prob":0.9159805,"math_prob":0.7322247,"size":1871,"snap":"2023-14-2023-23","text_gpt3_token_len":446,"char_repetition_ratio":0.08141404,"word_repetition_ratio":0.0,"special_character_ratio":0.22394441,"punctuation_ratio":0.14130434,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.95531285,"pos_list":[0,1,2,3,4],"im_url_duplicate_count":[null,5,null,5,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-06-07T15:38:24Z\",\"WARC-Record-ID\":\"<urn:uuid:82ccb420-5e95-430e-87c6-c64e63d0d5f0>\",\"Content-Length\":\"153529\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:5d469111-f49a-4034-9943-ce7301fbc484>\",\"WARC-Concurrent-To\":\"<urn:uuid:7612b8d7-7870-437a-b9d1-829ec6fb0a58>\",\"WARC-IP-Address\":\"151.101.65.69\",\"WARC-Target-URI\":\"https://tex.stackexchange.com/questions/474365/is-there-a-way-to-write-slanted-non-italic-especially-bold-bb-lowercase-letter\",\"WARC-Payload-Digest\":\"sha1:XFJO4BZVTJAVS2HJ5GRCM2QYG6ROKEQF\",\"WARC-Block-Digest\":\"sha1:XXMRPAMV6P5NHQVP22BWMZQWMFHBFDMD\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-23/CC-MAIN-2023-23_segments_1685224653930.47_warc_CC-MAIN-20230607143116-20230607173116-00644.warc.gz\"}"}