From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Davis Subject: Re: Vertically aligning table row contents Date: Tue, 06 Jan 2015 20:40:21 -0500 Message-ID: <54AC8E85.5060801@pfdstudio.com> References: <54AC7507.5000705@pfdstudio.com> <54AC7AEB.2050704@pfdstudio.com> <54AC8514.2020708@pfdstudio.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------040400060807020400040906" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55571) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8fbn-0004nJ-8o for emacs-orgmode@gnu.org; Tue, 06 Jan 2015 20:40:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y8fbj-0005Pp-RE for emacs-orgmode@gnu.org; Tue, 06 Jan 2015 20:40:27 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:38788) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8fbj-0005Pi-Nn for emacs-orgmode@gnu.org; Tue, 06 Jan 2015 20:40:23 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 2A0DA20B43 for ; Tue, 6 Jan 2015 20:40:23 -0500 (EST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: John Hendy Cc: emacs-orgmode This is a multi-part message in MIME format. --------------040400060807020400040906 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 1/6/15 8:15 PM, John Hendy wrote: > > > On Jan 6, 2015 7:00 PM, "Peter Davis" > wrote: > > > > > > On 1/6/15 7:19 PM, John Hendy wrote: > >> > >> > >> The top three Google hits for "align images and text table latex" > seem helpful. The first two suggest \raisebox. > >> > >> Hopefully they help! > >> John > >> > >> > > > > Thanks, John. Is there an org-mode way to do this? > > > > I've not used macros, but could you just add the raisebox code to it? > > Like ... \raisebox{0.5\height}{\includegraphics[...]{$1} > > instead of the current? > > Just a stab in the dark as I'm unfamiliar with you org tackle code and > the latex solution! > > John > 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}} #+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--- > > Thank you. > > > > > > -pd > > > > -- > > ---- > > Peter Davis > > The Tech Curmudgeon > > www.techcurmudgeon.com > > > -- ---- Peter Davis The Tech Curmudgeon www.techcurmudgeon.com --------------040400060807020400040906 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
On 1/6/15 8:15 PM, John Hendy wrote:


On Jan 6, 2015 7:00 PM, "Peter Davis" <pfd@pfdstudio.com> wrote:
>
>
> On 1/6/15 7:19 PM, John Hendy wrote:
>>
>>
>> The top three Google hits for "align images and text table latex" seem helpful. The first two suggest \raisebox.
>>
>> Hopefully they help!
>> John
>>
>>
>
> Thanks, John. Is there an org-mode way to do this?
>

I've not used macros, but could you just add the raisebox code to it?

Like ... \raisebox{0.5\height}{\includegraphics[...]{$1}

instead of the current?

Just a stab in the dark as I'm unfamiliar with you org tackle code and the latex solution!

John


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}}
#+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---


> Thank you.
>
>
> -pd
>
> --
> ----
> Peter Davis
> The Tech Curmudgeon
> www.techcurmudgeon.com
>


-- 
----
Peter Davis
The Tech Curmudgeon
www.techcurmudgeon.com
--------------040400060807020400040906--