emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Putting latex in document titles
@ 2010-09-16 21:24 suvayu ali
  2010-09-17  8:04 ` Sébastien Vauban
  0 siblings, 1 reply; 5+ messages in thread
From: suvayu ali @ 2010-09-16 21:24 UTC (permalink / raw)
  To: org-mode mailing list

Hi everyone,

I have been using org-mode to make a beamer presentation for the last
few days. Works very well except for a few kinks, e.g. I can't put
latex like this $..$ in the presentation title. I tried something like
this,

#+TITLE:     Search for $W'$ resonances

This simply escapes the $ signs. However if I try things like

#+TITLE:     Search for W' resonances \newline (\sqrt s = 7TeV)

Then the newline and the square root is rendered as expected.

I would like to render W' as it is rendered in math mode to be
consistent with the rest of my talk. Is that possible? Am I missing
anything obvious?

-- 
Suvayu

Open source is the future. It sets us free.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Putting latex in document titles
  2010-09-16 21:24 Putting latex in document titles suvayu ali
@ 2010-09-17  8:04 ` Sébastien Vauban
  2010-09-17 23:23   ` suvayu ali
  0 siblings, 1 reply; 5+ messages in thread
From: Sébastien Vauban @ 2010-09-17  8:04 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hi Suvayu,

suvayu ali wrote:
> If I try things like
>
> #+TITLE:     Search for W' resonances \newline (\sqrt s = 7TeV)
>
> Then the newline and the square root is rendered as expected.

For this part, try with \linebreak.

Best regards,
  Seb

-- 
Sébastien Vauban


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Re: Putting latex in document titles
  2010-09-17  8:04 ` Sébastien Vauban
@ 2010-09-17 23:23   ` suvayu ali
  2010-09-18  1:56     ` Nick Dokos
  0 siblings, 1 reply; 5+ messages in thread
From: suvayu ali @ 2010-09-17 23:23 UTC (permalink / raw)
  To: Sébastien Vauban; +Cc: emacs-orgmode

2010/9/17 Sébastien Vauban <wxhgmqzgwmuf@spammotel.com>:
> Hi Suvayu,
>
> suvayu ali wrote:
>> If I try things like
>>
>> #+TITLE:     Search for W' resonances \newline (\sqrt s = 7TeV)
>>
>> Then the newline and the square root is rendered as expected.
>
> For this part, try with \linebreak.
>

Thanks for the tip Seb. I'll use that from now on. :)

However this doesn't answer my query, how do I write something in math
fonts inside a title or a caption? I could simply edit the tex source
and run "latex < presentation.tex", but that quits with a "Latex
Error", hence my question. And I am not familiar enough with latex to
troubleshoot this and find out what is the source of the problem. :(

If it would help, I could try to provide with a small example which
shows the same symptoms.

> Best regards,
>  Seb

Thanks a lot for your response.
-- 
Suvayu

Open source is the future. It sets us free.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Re: Putting latex in document titles
  2010-09-17 23:23   ` suvayu ali
@ 2010-09-18  1:56     ` Nick Dokos
  2010-09-18  2:12       ` suvayu ali
  0 siblings, 1 reply; 5+ messages in thread
From: Nick Dokos @ 2010-09-18  1:56 UTC (permalink / raw)
  To: suvayu ali
  Cc: =?ISO-8859-1?Q?S=E9bastien_Vauban?=, nicholas.dokos,
	emacs-orgmode

suvayu ali <fatkasuvayu+linux@gmail.com> wrote:

> 2010/9/17 Sébastien Vauban <wxhgmqzgwmuf@spammotel.com>:
> > Hi Suvayu,
> >
> > suvayu ali wrote:
> >> If I try things like
> >>
> >> #+TITLE:     Search for W' resonances \newline (\sqrt s = 7TeV)
> >>
> >> Then the newline and the square root is rendered as expected.
> >
> > For this part, try with \linebreak.
> >
> 
> Thanks for the tip Seb. I'll use that from now on. :)
> 
> However this doesn't answer my query, how do I write something in math
> fonts inside a title or a caption? I could simply edit the tex source
> and run "latex < presentation.tex", but that quits with a "Latex
> Error", hence my question. And I am not familiar enough with latex to
> troubleshoot this and find out what is the source of the problem. :(
> 
> If it would help, I could try to provide with a small example which
> shows the same symptoms.
> 

What exactly is it that does not work? The dollar sign method? If so,
the workaround you have above is not only good, it's the preferred LaTeX
method: inline math is marked with \( and \) and as you note above that
works fine.

Apologies if I've missed a crucial part of the discussion and thanks
for any forthcoming explanation.

Nick

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Re: Putting latex in document titles
  2010-09-18  1:56     ` Nick Dokos
@ 2010-09-18  2:12       ` suvayu ali
  0 siblings, 0 replies; 5+ messages in thread
From: suvayu ali @ 2010-09-18  2:12 UTC (permalink / raw)
  To: nicholas.dokos; +Cc: org-mode mailing list

On 17 September 2010 18:56, Nick Dokos <nicholas.dokos@hp.com> wrote:
> What exactly is it that does not work? The dollar sign method? If so,
> the workaround you have above is not only good, it's the preferred LaTeX
> method: inline math is marked with \( and \) and as you note above that
> works fine.

Thanks Nick! I was missing the \(...\) bit. I was using $...$ instead.
Now with parantheses it works exactly as I want it to. :)

-- 
Suvayu

Open source is the future. It sets us free.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-09-18  2:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-16 21:24 Putting latex in document titles suvayu ali
2010-09-17  8:04 ` Sébastien Vauban
2010-09-17 23:23   ` suvayu ali
2010-09-18  1:56     ` Nick Dokos
2010-09-18  2:12       ` suvayu ali

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).