![이 Laplace 변환 기호를 LaTeX에서 사용할 수 있습니까?](https://rvso.com/image/309850/%EC%9D%B4%20Laplace%20%EB%B3%80%ED%99%98%20%EA%B8%B0%ED%98%B8%EB%A5%BC%20LaTeX%EC%97%90%EC%84%9C%20%EC%82%AC%EC%9A%A9%ED%95%A0%20%EC%88%98%20%EC%9E%88%EC%8A%B5%EB%8B%88%EA%B9%8C%3F%20.png)
유니코드(SCRIPT CAPITAL L U+2112)로 나타나는 라플라스 변환 기호를 사용하고 싶습니다.
그러나 라플라스 변환에는 다음 두 기호만 사용할 수 있습니다.
에서 제공하는 다른 기호가 있습니다.math-unicode
, 하지만 에서는 작동하지 않는 것 같습니다 pdflatex
.
유니코드와 유사한 기호를 사용할 수 있는 경우 어떤 제안이 있습니까?
답변1
\slantbox
여기서는 Bruno's를 사용합니다."상자"를 전단 변환와 함께 \mathscr
.
\slantbox
John K의 at 변형을 사용하도록 편집됨아래 첨자에 사용될 때 맞춤 제작된 직립 그리스 문자 조정내에서 더 나은 수평 위치 지정을 달성하기 위해 \slantbox
.
\documentclass{article}
\usepackage{mathrsfs}
\newsavebox\foobox
\newlength{\foodim}
\newcommand{\slantbox}[2][0]{\mbox{%
\sbox{\foobox}{#2}%
\foodim=#1\wd\foobox
\hskip \wd\foobox
\hskip -0.5\foodim
\pdfsave
\pdfsetmatrix{1 0 #1 1}%
\llap{\usebox{\foobox}}%
\pdfrestore
\hskip 0.5\foodim
}}
\def\Laplace{\slantbox[-.45]{$\mathscr{L}$}}
\begin{document}
\begin{equation}
\Laplace\{\sin(t)\} = \frac{1}{s^2 + 1}
\end{equation}
\end{document}
로 축소할 수 있어야 하는 경우 \scriptscriptstyle
이 접근 방식이 작동합니다.
\documentclass{article}
\usepackage{mathrsfs,scalerel}
\newsavebox\foobox
\newlength{\foodim}
\newcommand{\slantbox}[2][0]{\mbox{%
\sbox{\foobox}{#2}%
\foodim=#1\wd\foobox
\hskip \wd\foobox
\hskip -0.5\foodim
\pdfsave
\pdfsetmatrix{1 0 #1 1}%
\llap{\usebox{\foobox}}%
\pdfrestore
\hskip 0.5\foodim
}}
\def\Laplace{\ThisStyle{\slantbox[-.45]{$\SavedStyle\mathscr{L}$}}}
\begin{document}
\begin{equation}
\Laplace\{\sin(t)\} = \frac{1}{s^2 + 1} \quad\scriptscriptstyle
\Laplace\{\sin(t)\} = \frac{1}{s^2 + 1}
\end{equation}
\end{document}
답변2
패키지 를 사용할 수 있습니다 rsfso
:
\documentclass{article}
\usepackage[scr]{rsfso}
\newcommand{\Laplace}{\mathscr{L}}
\begin{document}
\begin{equation}
\Laplace\{\sin(t)\} = \frac{1}{s^2 + 1}
\end{equation}
\end{document}
필요한 경우 변형 서문도 사용합니다 mathrsfs
(그러나 이 경우에는 에서 제공하는 L 스크립트를 사용합니다 \mathscr{L}
).
\usepackage{mathrsfs}
\let\RSFSmathscr\mathscr % save the meaning of \mathscr
\usepackage[scr]{rsfso}
\let\RSFSOmathscr\mathscr % save the new meaning of \mathscr
\let\mathscr\RSFSmathscr % restore the previous meaning
\newcommand{\Laplace}{\RSFSOmathscr{L}}