Hello Racketeers,

Of course, i should be doing something useful, like writing my thesis.
Instead, i am obsessing over typesetting details.

I use fixed-width fonts (the LaTeX package beramono, to be precise) for
my code snippets.  I use the listings package too.  This allows me to
mark words such as `lambda` as keywords, and apply special formatting to
them.  What i would actually like, however, is to be able to use the
symbol, literally λ, in my code.  I have managed to do that in 2
different ways:

- using $\lambda$ inline.  This gives me the math-mode font (a sort of
  italicised affair) in the middle of my teletype code snippet.  That's
  ugly.

- using the package textgreek, since the command \textlambda it provides
  respects surrounding formatting.  This means that my λ-symbols are
  upright, and can be bolded following my convention in code snippets.

What do i actually want, you ask?  Well, i want to be able to typeset a
bold, upright λ symbol in my fixed-width font, such that it does not
look out of place.  I have not quite managed to ascertain whether
beramono includes a glyph for λ, but i thought to myself, i cannot be
the first person having this problem.

Any pointers would be appreciated.  Of note might also be that i am
using pdfLaTeX, not XeTeX or anything else fancy.  If i *reeeeally* have
to i might be persuaded to move, but i am a creature of habit, so i
would accord mad bonus points to anyone who does this without me having
to change my workflow too much.

I hope there is a solution.  Kind regards!

p.

PS: the included image includes an example of how my code currently
looks.  IMHO, the λ is rather out-of-place compared to the surrounding
\texttt{..} code.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to