emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: Peter Davis <pfd@pfdstudio.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Vertically aligning images in tables?
Date: Fri, 15 Jan 2016 13:36:35 -0600	[thread overview]
Message-ID: <CA+M2ft9bJtFaMHiRW-C3iA6LJaJ7d-OzGhMbLhKNVjmg1-n+KQ@mail.gmail.com> (raw)
In-Reply-To: <6sw6c7lh7qu2dw.fsf@BO-C02PWE1MG8WN.home>

On Fri, Jan 15, 2016 at 12:24 PM, Peter Davis <pfd@pfdstudio.com> 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 <jw.hendy@gmail.com> 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 <pfd@pfdstudio.com> 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
>>>

  reply	other threads:[~2016-01-15 19:36 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-15 18:24 Vertically aligning images in tables? Peter Davis
2016-01-15 19:36 ` John Hendy [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-01-15 18:26 Peter Davis
2016-01-15 18:18 Peter Davis
2016-01-15 15:16 Peter Davis
2016-01-15 17:13 ` Rasmus
2016-01-15 17:15   ` Rasmus
2016-01-14 22:05 Peter Davis
2016-01-15 12:16 ` Rasmus
2016-01-15 16:44 ` Eric S Fraga
2016-01-15 17:03 ` Eric S Fraga
2016-01-15 17:10 ` John Hendy

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=CA+M2ft9bJtFaMHiRW-C3iA6LJaJ7d-OzGhMbLhKNVjmg1-n+KQ@mail.gmail.com \
    --to=jw.hendy@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=pfd@pfdstudio.com \
    /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).