I'm experimenting (using TeXLive 2013) with having my punctuation marks extend fully into both the left and right margins. I don't know how to include images so I'll do my best to format this here to show what I'm saying:
Text with normal space
"Quotation mark hanging"
text with normal space
If I use pdfTeX and microtype with the following code, it works:
\documentclass{article}
\usepackage{microtype}
\LoadMicrotypeFile{cmr}
\SetProtrusion
{encoding=OT1,family=cmr}
{\textquotedblleft = {1000, },\textquotedblright = { ,1000}}
\begin{document}
Text\\
text\\
"text"\\
text.
\end{document}
(You can't see the right margin but it works also). But of course I want to use LuaLaTeX so I can get all my fancy fonts, but to keep things simple:
\documentclass{article}
\usepackage{fontspec}
\usepackage{microtype}
\LoadMicrotypeFile{cmr}
\SetProtrusion
{encoding=OT1,family=cmr}
{\textquotedblleft = {1000, },\textquotedblright = { ,1000}}
\begin{document}
Text\\
text\\
"text"\\
text.
\end{document}
And compile with LuaLaTeX, I get the normal protrusion (about half a quotation mark even if I use 0 or 3000 for the modification) but it's the exact same as if I didn't include all that "\SetProtrusion" business. And since I'm using LuaLaTeX I want to be able to use my own fonts so if I do:
\documentclass{article}
\usepackage{fontspec}
\usepackage{microtype}
\setmainfont[Ligatures=TeX]{Garamond Premier Pro}
% \LoadMicrotypeFile{cmr}
\SetProtrusion
{encoding=OT1,family=Garamond Premier Pro}
{\textquotedblleft = {1000, },\textquotedblright = { ,1000}}
\begin{document}
Text\\
text\\
"text"\\
text.
\end{document}
Which produces something that looks no different than had I just used microtype without the "\SetProtrusion" business, i.e., the normal amount of protrusion.
The hanging
package exists and does a decent job but does not include any means to control the amount of protrusion plus the manual cautions about using it as it treats punctuation marks as commands and not glyphs (I do not understand the distinction) and then of course I'm not sure how it works/conflicts with microtype
(though I guess one could turn off protrusion in microtype
and just let hanging
deal with that?)
There's also:
\usepackage[factor=3000]{microtype}
Which gets the left-side hanging punctuation I want but really screws up the right side.
There are other questions dealing with similar ideas but some of them are old and others mention something about using Renderer=Basic
but not only does this not help but it looks like it turns off protrusion altogether or at the very least makes the quotation marks look weirdly spaced out. And then other questions do not appear to deal with system fonts.
So really what it all comes down to is that I cannot figure out how to specify protrusion settings when using LuaLaTeX and microtype
or if this is even possible.