How to slant some character in the text of roman font (I don't want to use italics coding)?

  • 1
    Welcome to TeX.SX! Using \textsl{slanted} should do. – egreg Jun 24 '15 at 7:24
  • I need this to work in TeX not in LaTex. for example ${\bf n}$ The output required is slanted "n" in bold roman – Mydeen Jun 24 '15 at 7:33
  • Then {\sl slanted\/} – egreg Jun 24 '15 at 7:36
  • could you please guide what is wrong in my code ${\sl \tf="OTb65e897d_B"n}$ ${\tf="OTb65e897d_B"{\sl n}}$ – Mydeen Jun 24 '15 at 7:39
  • What should \tf do? And recall that font declarations are not cumulative, so \sl\bf is equivalent to \bf. See my edited answer. – egreg Jun 24 '15 at 7:46

Slant font of plain TeX

The plain TeX format defines \tensl to hold the slanted (not italics) variant of the default CM roman font, from plain.tex:

\font\tensl=cmsl10 % slanted roman

It can be used via \tensl or the higher level command \sl:

Default font vs.~{\sl slanted font.}

For more details, see the answer of egreg.

Result slanted font

Slanting with TikZ

TikZ can be used with plain TeX, it allows arbitrary slant angles:

\input tikz

  \tikz[baseline=(X.base), xslant=tan(#1)]
    \node[inner sep=0pt, xslant=tan(#1)](X){#2};%

Normal, \slant{9.46}{slanted,} \slant{45}{larger slanting,}
\slant{-15}{slanted to the left.}


Result TikZ

  • Great suggestion, Herbert... – MadyYuvi Apr 1 '19 at 12:09

The Plain TeX format provides \sl, so

This is {\sl slanted\/} type

will do.

If you need “boldface slanted”, you have to define the font:


(the definition is just to possibly support math mode, if needed).

Full example:


This is {\sl slanted\/} type.

This is {\slbf boldface slanted\/} type.


enter image description here

Here's the basic support for math:


This is {\sl slanted\/} type.

This is {\slbf boldface slanted\/} type.

${\sl n}\neq{\slbf n}$


enter image description here

  • Thanks bro. Actually I am using 3B2 softwareIn this it has option to def. as I coded. \def \bf {\tf="XXX"} means assign the font for \bf code. It has no option for create external cls file. The above coding is not supported in 3B2. Thanks for your swift reply and answers. – Mydeen Jun 24 '15 at 8:25
  • @Mydeen That I know of, 3B2 no longer uses TeX at all so that is perhaps not a surprise! – Joseph Wright Jun 24 '15 at 8:26
  • Is that any other way to get the output in 3B2. – Mydeen Jun 24 '15 at 8:29
  • @Mydeen 3B2 is commercial software and presumably has appropriate support. If there is a TeX back end in the version you have then it should be accessible somewhere. If it doesn't we can't really help. – Joseph Wright Jun 24 '15 at 10:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.