all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Leha <andreas.leha@med.uni-goettingen.de>
To: emacs-orgmode@gnu.org
Subject: Re: Verbatim inverted commas?
Date: Wed, 15 Apr 2015 12:27:53 +0100	[thread overview]
Message-ID: <olur3rlmy12.fsf@med.uni-goettingen.de> (raw)
In-Reply-To: 87bnipeo4y.fsf@gmx.us

Rasmus <rasmus@gmx.us> writes:
> "Loris Bennett" <loris.bennett@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


> 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

  reply	other threads:[~2015-04-15 11:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-15  8:53 Verbatim inverted commas? Loris Bennett
2015-04-15  9:28 ` Rasmus
2015-04-15 11:27   ` Andreas Leha [this message]
2015-04-15 12:00     ` Loris Bennett
2015-04-15 11:41   ` Loris Bennett
2015-04-15 12:08     ` Rasmus
2015-04-15 12:59       ` Loris Bennett
2015-04-16 14:11         ` Rasmus
2015-04-16 15:26           ` Loris Bennett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=olur3rlmy12.fsf@med.uni-goettingen.de \
    --to=andreas.leha@med.uni-goettingen.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.