emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Vertically aligning table row contents
Date: Tue, 06 Jan 2015 21:33:22 -0500	[thread overview]
Message-ID: <8761cjb9ql.fsf@alphaville.usersys.redhat.com> (raw)
In-Reply-To: 54AC8E85.5060801@pfdstudio.com

Peter Davis <pfd@pfdstudio.com> writes:

> Maybe that's the right track, but the obvious solution doesn't seem to work:
>
> --8<---------------cut here---------------start------------->8---
>
> #+MACRO:  p   \raisebox{-.5\height}{\includegraphics[scale=.35]{$1}}

Try

#+MACRO: p @@latex:\raisebox{-.5\height}{\includegraphics[scale=.35]{$1}}@@

See (info "(org) Quoting LaTeX code")


> #+CAPTION: Document Symbols
> #+ATTR_LATEX: :align lp{5in} :float nil :border 2 :frame border
> | {{{p(./GreenDot.png)}}}   | This symbol indicates that the associated item is in a /normal/ or /successful/ state.                 |
> | {{{p(./YellowDots.png)}}} | This symbol denotes a state of /concern/ or /potential trouble/ for the associated item.               |
> | {{{p(./RedDots.png)}}}    | This symbol indicates that the associated item is in a /severely troubled/ or /non-functioning/ state. |
>
> --8<---------------cut here---------------end--------------->8---
>

Nick

  reply	other threads:[~2015-01-07  2:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-06 23:51 Vertically aligning table row contents Peter Davis
2015-01-07  0:14 ` John Hendy
2015-01-07  0:16   ` Peter Davis
2015-01-07  0:19     ` John Hendy
2015-01-07  1:00       ` Peter Davis
2015-01-07  1:15         ` John Hendy
2015-01-07  1:40           ` Peter Davis
2015-01-07  2:33             ` Nick Dokos [this message]
2015-01-07  3:08               ` Peter Davis

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=8761cjb9ql.fsf@alphaville.usersys.redhat.com \
    --to=ndokos@gmail.com \
    --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 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).