1

Like above, I want to know if there is a package or font which would allow me to type a letter \L but with two crossings instead of one i. e. a double crossed L (L with two strokes). It would be a great letter to use for me in the paper I'm writing.

Alan Munn
  • 218,180
Jakobian
  • 113
  • Not a package but you could manually input - or make your own macro defining something like \LL. – Miztli Aug 04 '19 at 15:53
  • @Miztli If I try to manually input it, it gives me an error because of unicode character. Anyway, I thought of something more like Ł, with the stroke being at an angle. – Jakobian Aug 04 '19 at 15:57
  • You'll have to add \usepackage[utf8]{inputenc} to you preamble or compile using XeTeX or LuaTeX. As for L with a double stroke at an angle, I'm not aware of such a character so you'd probably have to come up with a personalised way of composing/printing such a character if Ⱡ will not do. – Miztli Aug 04 '19 at 15:59
  • 1
  • 2
    @Miztli inputenc won't help if the font you're using doesn't have the relevant glyph. (Also, it's not needed in current distributions.) Since I suspect this isn't common, then using an OpenType font that has it and XeTeX or LuaTeX would be the way to do this. – Alan Munn Aug 04 '19 at 16:02
  • Ah, yes! Of course, you're quite right. – Miztli Aug 04 '19 at 16:03

1 Answers1

5

If it is a math symbol,

\documentclass{article}
\usepackage{amsmath}

\newcommand{\LL}{\text{\normalfont\fontencoding{OT1}\itshape\makeLL}}
\newcommand{\makeLL}{%
  \settowidth{\dimen0}{$L$}%
  \makebox[\dimen0][r]{%
    \makebox[0pt][l]{\raisebox{0.2ex}{\hspace{0.15ex}\symbol{32}}}%
    \makebox[0pt][l]{\raisebox{-0.2ex}[0pt][0pt]{\hspace{0.1ex}\symbol{32}}}%
    $L$%
  }%
}

\begin{document}

$|\LL|$

$|L|$

\end{document}

enter image description here

egreg
  • 1,121,712