From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Vertically aligning table row contents Date: Wed, 07 Jan 2015 00:19:37 +0000 Message-ID: References: <54AC7507.5000705@pfdstudio.com> <54AC7AEB.2050704@pfdstudio.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11379b0ef9f267050c04e033 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43804) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8eLb-0007sa-Lk for emacs-orgmode@gnu.org; Tue, 06 Jan 2015 19:19:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y8eLa-0006VG-5j for emacs-orgmode@gnu.org; Tue, 06 Jan 2015 19:19:39 -0500 Received: from mail-ob0-x22e.google.com ([2607:f8b0:4003:c01::22e]:63389) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8eLZ-0006V7-Um for emacs-orgmode@gnu.org; Tue, 06 Jan 2015 19:19:38 -0500 Received: by mail-ob0-f174.google.com with SMTP id uz6so819035obc.5 for ; Tue, 06 Jan 2015 16:19:37 -0800 (PST) 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: Peter Davis Cc: emacs-orgmode --001a11379b0ef9f267050c04e033 Content-Type: text/plain; charset=UTF-8 The top three Google hits for "align images and text table latex" seem helpful. The first two suggest \raisebox. Hopefully they help! John On Tue, Jan 6, 2015, 6:16 PM Peter Davis wrote: > > On 1/6/15 7:14 PM, John Hendy wrote: > > > On Jan 6, 2015 5:52 PM, "Peter Davis" wrote: > > > > I'm trying to create a simple two-column table. The left column will > show images of symbols used in the document, and the right column will > explain what those images mean. So far, I have > > > > --8<---------------cut here---------------start------------->8--- > > > > #+MACRO: p \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--- > > > > > > But what I'm getting is: > > > > > > > > Is there a way to get both columns centered? > > > > Assuming you mean vertically? > > Yes, I did mean vertically. Sorry. > > > -pd > > -- > ---- > Peter Davis > The Tech Curmudgeonwww.techcurmudgeon.com > > --001a11379b0ef9f267050c04e033 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

The top three Google hits for "align images and text ta= ble latex" seem helpful. The first two suggest \raisebox.

Hopefully they help!
John


On Tue, Jan 6, 2015, 6:16 PM=C2=A0Peter Davi= s <pfd@pfdstudio.com> wrote:=

On 1/6/15 7:14 PM, John Hendy wrote:


On Jan 6, 2015 5:52 PM, "Peter Davis" <pfd@pfdstudio.com> wrote:
>
> I'm trying to create a simple two-column table. The left column will show images of symbols used in the document, and the right column will explain what those images mean. So far, I have >
> --8<---------------cut here---------------start------------->8---
>
> #+MACRO:=C2=A0 p=C2=A0=C2=A0 \includegraphics[scale=3D.35]{$1}=
> #+CAPTION: Document Symbols
> #+ATTR_LATEX: :align lp{5in} :float nil :border 2 :frame border
> | {{{p(./GreenDot.png)}}}=C2=A0 | This symbol indicates that t= he associated item is in a /normal/ or /successful/ state.=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |
> | {{{p(./YellowDots.png)}}} | This symbol denotes a state of /concern/ or /potential trouble/ for the associated item.=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 |
> | {{{p(./RedDots.png)}}}=C2=A0=C2=A0 | This symbol indicates t= hat the associated item is in a /severely troubled/ or /non-functioning/ state. |
>
> --8<---------------cut here---------------end--------------->8---
>
>
> But what I'm getting is:
>
>
>
> Is there a way to get both columns centered?
>

Assuming you mean vertically?


Yes, I did mean vertically. Sorry.


-pd

--=20
----
Peter Davis
The Tech Curmudgeon
www.techcurmudg=
eon.com
--001a11379b0ef9f267050c04e033--