emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: suvayu ali <fatkasuvayu+linux@gmail.com>
Cc: Orgmode <emacs-orgmode@gnu.org>,
	Sebastien Vauban
	<public-wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@plane.gmane.org>
Subject: Re: Custom latex environments using properties
Date: Tue, 30 Aug 2011 22:50:07 +0530	[thread overview]
Message-ID: <81d3fmolyw.fsf@gmail.com> (raw)
In-Reply-To: <CAMXnza2jN0A3a=uWRetZykQ_OtwjyR47VYC_s6tCcePUb3YHOg@mail.gmail.com> (suvayu ali's message of "Tue, 30 Aug 2011 16:56:17 +0200")

[-- Attachment #1: Type: text/plain, Size: 677 bytes --]


> However the most severe limitation was the inability to search for an
> entry like this with a tags search or assign a TODO keyword or maybe
> even add a timestamp. I guess I could have a separate heading above a
> block like this for these features. I will try to fool around some
> more and see whether I get any other more complete solutions.

What you need is actually inline tasks. The attached file should give
you pointers on how to proceed ahead.

Feel free to modify `org-latex-format-inlinetask' as you wish.

Suggestion to maintainers: `org-inlinetask-export-templates' is too
"hairy" for a normal user. May be they should be more user-friendly.

Jambunathan K.


[-- Attachment #2: odt-export-bug.org --]
[-- Type: text/x-org, Size: 1792 bytes --]

#+TITLE:     odt-export-bug.org
#+AUTHOR:    Jambunathan K
#+EMAIL:     kjambunathan@gmail.com
#+DATE:      2011-08-30 Tue
#+DESCRIPTION:
#+KEYWORDS:
#+LANGUAGE:  en
#+OPTIONS:   H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+OPTIONS:   TeX:t LaTeX:dvipng skip:nil d:nil todo:t pri:nil tags:not-in-toc

#+EXPORT_SELECT_TAGS: export
#+EXPORT_EXCLUDE_TAGS: noexport
#+LINK_UP:   
#+LINK_HOME: 
#+XSLT:


#+latex_header: \usepackage[text width=10cm]{todonotes}


* COMMENT Setup

#+begin_src emacs-lisp
(push '(latex "%s" '((org-latex-format-inlinetask heading content
						  todo priority tags)))
      org-inlinetask-export-templates)

(defun org-latex-format-inlinetask (heading content todo priority tags)
  (let ((color (cond
		((string-match  "Qn" tags)
		 "blue!40")
		((string-match  "Ans" tags)
		 "yellow!40")
		(t
		 "red!40"))))
    (concat
     (format "\\todo[inline,color=%s]{" color)
     (format "\\textbf{%s}" heading)
     content "}")))
#+end_src

* B oscillations

B lifetime oscillations is a purely QM effect. It has the functional
form of an exponential decay function modulated by oscillatory phases
due to interference b/w heavy and light states (cos, sin, cosh and
sinh functions related to the mass and decay width differences (Δm and
ΔΓ) b/w the two eigenstates).

_Questions_:
*************** Inline Question 					 :Qn:
1. How is the Gaussian used for smearing of proper
   time resolution derived?
2. Why is the proper time error PDF needed? Why is
   smearing of time resolution not enough?
*************** END


*************** Inline Answer 						:Ans:
This is seems to be a reasonable answer.
*************** END

*************** Untagged Inline task
blah blah
*************** END

[-- Attachment #3: odt-export-bug.pdf --]
[-- Type: application/pdf, Size: 48771 bytes --]

  parent reply	other threads:[~2011-08-30 17:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-29 22:52 Custom latex environments using properties suvayu ali
2011-08-30  6:05 ` Jambunathan K
2011-08-30  6:51   ` Sebastien Vauban
2011-08-30  7:21     ` Jambunathan K
     [not found]       ` <CAMXnza2jN0A3a=uWRetZykQ_OtwjyR47VYC_s6tCcePUb3YHOg@mail.gmail.com>
2011-08-30 17:20         ` Jambunathan K [this message]
2011-08-30 18:07           ` Suvayu Ali

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=81d3fmolyw.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=fatkasuvayu+linux@gmail.com \
    --cc=public-wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@plane.gmane.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 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).