Fonts & Character SetsAccessing Ł with MinionPro

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
jmtuley
Posts: 6
Joined: Tue Sep 22, 2009 4:57 am

Accessing Ł with MinionPro

Post by jmtuley »

Hello all,

I'm trying to use the glyph "Ł" (L with stroke) with the MinionPro package (under pdflatex). Normally, this character would be accessed using the \L command, but MinionPro helpfully redefined that command to produce a "Th" ligature.

I've created a font table using the fonttable package, using:

Code: Select all

Code, edit and compile here:
\documentclass{article}
\usepackage{MinionPro} % probably unnecessary
\usepackage{fonttable}
\begin{document}
\fonttable{MinionPro-Regular-tosf-t1}
\end{document}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
so I know that the glyph I want is at slot 138 (octal '212). From there, I thought I'd just use \char138, but that produces absolutely nothing.

Anyone know how to do this, particularly without losing anything I already have (i.e. Minion and its ligatures, including the suddenly-pesky "Th")?

Thanks!
-- John.

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

Accessing Ł with MinionPro

Post by localghost »

I'm not sure whether it will work but it is worth a try. This would go into the preamble after loading the minionpro package.

Code: Select all

Code, edit and compile here:
\DeclareTextSymbol{\Lstroked}{TS1}{'212}
\DeclareTextSymbolDefault{\Lstroked}{TS1}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This code is borrowed from the textcomp package and adapted accordingly.


Best regards and welcome to the board
Thorsten
jmtuley
Posts: 6
Joined: Tue Sep 22, 2009 4:57 am

Re: Accessing Ł with MinionPro

Post by jmtuley »

Thank you Thorsten for your reply! It turns out (thanks again to the fonttable package) that the TS1 encoding doesn't even hold the desired symbol; what ended up working was changing TS1 to T1 in both places. (Of course, who has the various font tables memorized?)

I had no idea that the various encoding tables for a font were so different. Thanks for getting me so close to the solution!

-- John.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Accessing Ł with MinionPro

Post by localghost »

jmtuley wrote:[…] It turns out (thanks again to the fonttable package) that the TS1 encoding doesn't even hold the desired symbol; what ended up working was changing TS1 to T1 in both places. (Of course, who has the various font tables memorized?) […]
This could mean that you only have to add the fontenc package with the right encoding before loading the font.

Code: Select all

\usepackage[T1]{fontenc}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
jmtuley
Posts: 6
Joined: Tue Sep 22, 2009 4:57 am

Re: Accessing Ł with MinionPro

Post by jmtuley »

Indeed! Thanks again for your help!

-- John.
Post Reply