-1

How do I make the attached symbol in LaTeX so that I can use it in normal sentences? FollowingImage

  • 4
    What do you mean by normal sentences? In TeX you simply type in math mode $K^C_{F_n}$ or some variant, depending if you want upright shape. – Sigur Feb 5 '18 at 14:18
10

The question is a bit ambiguous, but here goes.

\documentclass{article}
\usepackage{stackengine,scalerel}
\newcommand\KFC{K\scalerel*{\setstackgap{S}{2pt}\Shortstack[l]{C \vphantom{F}%
  \smash{$\mathrm{F}_{\!\mathrm{n}}$}}}{K}}
\begin{document}
Finger lickin' good \KFC.
\end{document}

enter image description here

  • And I feared that you would post something with stackengine already... phew.... wait, it is stackengine .... ;-) – user31729 Feb 5 '18 at 14:33
  • 2
    stackengine is like the US Marines: it can be your best friend...or your worst nightmare! – Steven B. Segletes Feb 5 '18 at 14:36
  • 1
    I think there are much more other packages that should be titled worst nightmare rather than stackengine .... – user31729 Feb 5 '18 at 14:38
  • 1
    @ChristianHupfer assoccnt ? – David Carlisle Feb 5 '18 at 23:16
  • '@DavidCarlisle: For example, yes ;-) – user31729 Feb 6 '18 at 3:37
3

You can always make command for a specific operation like $K^C_{F_n}$ by using \newcommand{\command}{operation}, for example:

    \documentclass[12pt,a4paper]{article}
    \usepackage[utf8]{inputenc}

    \newcommand{\kcfn}{$K^C_{F_n}$}
    \begin{document}
    symbol \kcfn
    \end{document}

Output: symbol $K^C_{F_n}$

You can change the name of the command as you like and also put different specifications as you need like bold or italic, font size etc.

  • You're using super/subscripts, that's not really putting the C and F_{n} aside of the letter K, but I agree that the question is unclear – user31729 Feb 5 '18 at 14:34

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.