Paul,

FWIW, many of us use Scribble for papers and theses, which does a great
job at typesetting Racket code. It's also (IMO) a much more pleasant
document authoring language than TeX.

For example, my dissertation [1] is written using Scribble and a wrapper
over the classicthesis style [2]. If you need to use a particular style,
writing a similar wrapper is straighforward. In some cases, you may not
even need a wrapper, and can just use `#lang scribble/base` and the
++style flag. I know that's what Burke Fetscher is doing, and it seems
to be working well.

Hope that helps!

Vincent



[1] http://users.eecs.northwestern.edu/~stamourv/papers/dissertation.pdf
[2] https://github.com/stamourv/classicthesis-scribble
    OR raco pkg install classicthesis-scribble



On Wed, 12 Aug 2015 09:21:30 -0500,
Paul van der Walt wrote:
> 
> 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.

-- 
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