From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Vertically aligning images in tables? Date: Fri, 15 Jan 2016 13:36:35 -0600 Message-ID: References: <6sw6c7lh7qu2dw.fsf@BO-C02PWE1MG8WN.home> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50170) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aKAAn-0001M2-Tr for emacs-orgmode@gnu.org; Fri, 15 Jan 2016 14:36:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aKAAm-00084t-M3 for emacs-orgmode@gnu.org; Fri, 15 Jan 2016 14:36:37 -0500 Received: from mail-oi0-x22b.google.com ([2607:f8b0:4003:c06::22b]:35451) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aKAAm-00084Z-Gs for emacs-orgmode@gnu.org; Fri, 15 Jan 2016 14:36:36 -0500 Received: by mail-oi0-x22b.google.com with SMTP id p187so123907197oia.2 for ; Fri, 15 Jan 2016 11:36:36 -0800 (PST) In-Reply-To: <6sw6c7lh7qu2dw.fsf@BO-C02PWE1MG8WN.home> 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 On Fri, Jan 15, 2016 at 12:24 PM, Peter Davis wrote: > > Hi, John, > > Yes, of course I Googled it first. I went through the first couple of pages of results without finding anything that appeared to be > suitable for use with org. Of course, I'm neither a LaTeX expert nor an Org expert, so it's likely that I misunderstood. > > You seem to have a complaint about every question I post here, so evidently I'm abusing the list. I'm sorry for taking up too much > of your time. I promise I don't mean to single you out! I respond to the issues as I see them. My thought when reading was whether or not the issue was LaTeX related or Org related. While many readers of the list *are* LaTeX experts, in my opinion it's a lot easier to solve it in LaTeX first (via direct routes) and post to the list with something like: "This works in latex: #+begin_latex ... code ... #+end_latex How could I do that in Org?" Otherwise, those not knowing any better (myself) are left looking for an Org solution when it's really a matter of solving the LaTeX end of things. When I went to look for LaTeX-specific fixes, I didn't see anyone using code like yours (except with things like \baseline{value}), so it made me wonder why you might think that would work. Intuitively, if p works, I'd think it would show up on latex.SE. I'm guessing previous replies have colored the most recent one. It was just meant as a suggestion to get an answer faster, nothing against you! John > > Goodbye. > -pd > > > John Hendy writes: > >> Have you just googled for this? Honestly, I find StackOverflow (and >> fam) much better than the mailing list for this sort of thing. Almost >> any LaTeX question you can ask has already been asked. Try googling >> "latex top align image tabular" and see if the first page of hits >> (almost all latex.SE) gets you close. Org integration is another >> thing, but at least you'll know definitively what you want to >> implement in LaTeX. >> >> John >> >> On Thu, Jan 14, 2016 at 4:05 PM, Peter Davis wrote: >>> >>> I'm trying to place three images side-by-side to they're top-aligned, but I can't see to find a way to get org-mode to do this. My >>> current code is: >>> >>> +---- >>> | #+MACRO: p \includegraphics[scale=.3]{$1} >>> | #+ATTR_LATEX: :align {p{5cm} p{5cm} p{5cm}} >>> | | {{{p(./A.png)}}} | {{{p(./B.png)}}} | {{{p(./C.png)}}} | >>> +---- >>> >>> As far as I can tell from LaTeX doc, the p attribute is supposed to top-align the contents, but it's not doing that. >>> >>> Have I missed something? >>> >>> Thanks, >>> -pd >>>