Math & SciencePolish "ł" in Math Mode

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
Drwonmug
Posts: 3
Joined: Wed Jun 12, 2013 4:57 pm

Polish "ł" in Math Mode

Post by Drwonmug »

I would like to use Polish (dark) ł or Ł -- \l or \L in text -- in mat hmode, but things like \textstyle{\l} don't work.

Are there any standard (or nonstandard) workarounds for this?

Thanks to all,

(:+{)}

Recommended reading 2024:

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

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Polish "ł" in Math Mode

Post by localghost »

You can try something like this.

Code: Select all

\documentclass[11pt]{article}
\usepackage[T1]{fontenc}
\usepackage{selinput}  % Semi-automatic determination
\SelectInputMappings{  % of input encoding by
  cacute={ć},          % a list of selected glyphs
  lslash={ł}           % see: http://partners.adobe.com/public/developer/en/opentype/glyphlist.txt
}
\usepackage{mathtools} % loads »amsmath«

\begin{document}
  \[
    \text{ł}
  \]
\end{document}

Best regards and welcome to the board
Thorsten
Drwonmug
Posts: 3
Joined: Wed Jun 12, 2013 4:57 pm

Re: Polish "ł" in Math Mode

Post by Drwonmug »

Dear Thorsten-san

Many thanks for your help and advice. This works; but I'm hoping to post the
resulting document on the arXiv, and I'm afraid it may balk at the packages
required. Is anything more elementary available?

Best, sincerely

(:+{)}
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Polish "ł" in Math Mode

Post by cgnieder »

Drwonmug wrote:[...] I'm hoping to post the
resulting document on the arXiv, and I'm afraid it may balk at the packages
required. Is anything more elementary available?
amsmath which provides the \text{} macro is the math package and everyone doing any serious math is (and should be) using it. You can't get much more basic than that, really. I wouldn't worry too much. amsmath is the long time successor of amstex which stems from a time before LaTeX.

Regards
site moderator & package author
Drwonmug
Posts: 3
Joined: Wed Jun 12, 2013 4:57 pm

Re: Polish "ł" in Math Mode

Post by Drwonmug »

Perfectamento! Outstanding!

Just what the Dr ordered!!

Many thanks

(:+{)}
Post Reply