7

I want to display a curvy L n°1:

curvy L n°1

(An application is found here as well as this other question.)

However, when I enter the code

\documentclass[a4paper, 12pt]{book}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{mathtools}
\usepackage[utf8]{inputenc}
\usepackage{geometry}
\usepackage{url}
\usepackage{framed}
\usepackage{setspace}
\usepackage{mathptmx}
\usepackage{multirow}
\usepackage{listings}
\usepackage{xcolor}
\usepackage{framed}

\begin{document}
\setlength{\parindent}{0cm}
\renewcommand{\baselinestretch}{0.5}

$\mathcal{L}$

\end{document}

I get curvy L n°2:

Curvy L n°2

How can I print the curvy L n°1?

  • 1
    comment \usepackage{mathptmx} line and try again. – nidhin Nov 10 '18 at 18:20
4

If you adding the two rows

\usepackage{calrsfs}
\DeclareMathAlphabet{\pazocal}{OMS}{zplm}{m}{n}

it is possibile, in the same file .tex, to use the both curvy option. I have removed \usepackage{amsmath} with \usepackage{mathtools} because loading mathtools, you will have both packages loaded and you do not need to \usepackage{amsmath} in your preamble.

enter image description here

\documentclass[a4paper, 12pt]{book}
\usepackage{amssymb}
\usepackage{mathtools}
\usepackage[utf8]{inputenc}
\usepackage{geometry}
\usepackage{url}
\usepackage{framed}
\usepackage{setspace}
\usepackage{mathptmx}
\usepackage{multirow}
\usepackage{listings}
\usepackage{xcolor}
\usepackage{framed}

\usepackage{calrsfs}%%%%%%%%%%<------add
\DeclareMathAlphabet{\pazocal}{OMS}{zplm}{m}{n}%%%%%%%%%%<------add

\begin{document}
\setlength{\parindent}{0cm}
\renewcommand{\baselinestretch}{0.5}

$\mathcal{L}, \pazocal{L}$

\end{document}
6

Comment \usepackage{mathptmx}.

Read page 5 in documentation of mathptmx. It says that the fonts for \mathcal symbols will be changed.

\documentclass[a4paper, 12pt]{book}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{mathtools}
\usepackage[utf8]{inputenc}
\usepackage{geometry}
\usepackage{url}
\usepackage{framed}
\usepackage{setspace}
%\usepackage{mathptmx}
\usepackage{multirow}
\usepackage{listings}
\usepackage{xcolor}
\usepackage{framed}

\begin{document}
\setlength{\parindent}{0cm}
\renewcommand{\baselinestretch}{0.5}

$\mathcal{L}$

\end{document}

enter image description here

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.