Andreas Leha <andreas.l...@med.uni-goettingen.de> writes: > Rasmus <ras...@gmx.us> writes: >> "Loris Bennett" <loris.benn...@fu-berlin.de> writes: >> >>> Hi, >>> >>> I am writing a beamer presentation and would like to have the following >>> exported in a monospaced font: >>> >>> sinfo -elo "%30N %.5D %9P %11T %.6m %20E" >>> >>> However, if I do >>> >>> =sinfo -elo "%30N %.5D %9P %11T %.6m %20E"= >>> >>> the second pair of inverted commas causes the markup to fail >>> and the entire string, equals signs and all, is exported. >>> >>> Is there some way I can escape the inverted commas to get this to work? >> >> If inline use: >> >> ~sinfo -elo "%30N %.5D %9P %11T %.6m %20E"~ >> >> Note the zero width space. It should work with xelatex. Otherwise remove >> it with a filter. >> > > You could also do sth like (untested): > @@beamer:{\ttfamily @@sinfo -elo "%30N %.5D %9P %11T %.6m %20E"@@beamer:}@@ > > Andreas
Thanks. This works. Cheers, Loris >> If it's in its own line you could use >> >> #+BEGIN_EXAMPLE >> sinfo -elo "%30N %.5D %9P %11T %.6m %20E" >> #+END_EXAMPLE >> >> Hope it helps, >> Rasmus > > > -- Dr. Loris Bennett (Mr.) ZEDAT, Freie Universität Berlin Email loris.benn...@fu-berlin.de