Math & ScienceLaplace transform symbol

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
pechisbeque
Posts: 1
Joined: Tue Oct 19, 2010 6:22 pm

Laplace transform symbol

Post by pechisbeque »

Hi,

I've been trying to get the curly Laplace transform symbol.
The two possibilities are:

Code: Select all

\mathcal{L}
or

Code: Select all

\mathscr{L}
(which requires the package mathrsfs)

However, the first option is not the most appropriate choice and the second outputs the correct but slanted symbol.

Does anyone know a solution for this? Thanks!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Laplace transform symbol

Post by frabjous »

It looked slanted to me most placed I found it online, but I suppose another option, if you don't mind using XeLaTeX to compile, would be to use the unicode character ℒ directly. DejaVu Sans is just about the only font I have installed that has it:

Code: Select all

% xelatex
\documentclass{article}
\pagestyle{empty}
\usepackage{fontspec}
\setmainfont{DejaVu Sans}
\begin{document}
    ℒ  
\end{document}
laplace.png
laplace.png (620 Bytes) Viewed 40472 times
I'll attach a cropped PDF with just that character too. I suppose if you really wanted to avoid XeLaTeX, you could include my little pdf with \includegraphics wherever you wanted to use it.
Attachments
laplace.pdf
(8.19 KiB) Downloaded 1014 times
User avatar
bev
Posts: 20
Joined: Wed Nov 10, 2010 10:02 am

Re: Laplace transform symbol

Post by bev »

frabjous,

I think that's the \mathcal{L} symbol. That works for me for Laplace. What's the problem with it?
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Laplace transform symbol

Post by frabjous »

\mathcal{L} looks like this:
mathcal.png
mathcal.png (666 Bytes) Viewed 40398 times
If you look carefully, you'll see that this is different from what I posted. In particular, it is more slanted.

I don't have a problem with \mathcal{L}. pechisbeque did. So I was trying to find an alternative. pechisbeque complained about one of the possibilities being too slanted, so I thought maybe the DejaVu symbol would be better.

But without knowing what pechisbeque disliked about \mathcal{L}, I can only guess. This thread is somewhat old though, and pechibeque never replied, so I assume (s)he found something (s)he liked well enough.
User avatar
bev
Posts: 20
Joined: Wed Nov 10, 2010 10:02 am

Laplace transform symbol

Post by bev »

One of the things I like about our interaction, frabjous, is that we're mostly both right :-) .

You are correct that the symbol you posted is what one would normally get when using \mathcal{L}.

I was correct in that when *I* used \mathcal{L} I got the other symbol (the one you said was more desirable). But.... check this out:

Code: Select all

\documentclass[12pt]{article}
\usepackage{eucal}
\begin{document}
$\mathcal{L}$
\end{document}
I realized that my default setup has eucal for the math stuff, hence our difference. I had forgotten; sorry bout that. The good news is that the original poster here doesn't have to look for a hard-to-find package. S/he already has it.

I'm posting a pdf of the eucal version of \mathcal{L}.
Attachments
laplace.jpg
laplace.jpg (1.09 KiB) Viewed 40387 times
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Laplace transform symbol

Post by frabjous »

bev wrote:One of the things I like about our interaction, frabjous, is that we're mostly both right :-) .
LOL.

Nice to know about the eucal package; I haven't tried that one before.
Post Reply