emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Preview tikz in org-mode (reduce margins of produced images)
Date: Fri, 16 May 2014 12:42:46 -0400	[thread overview]
Message-ID: <87y4y1isjd.fsf@alphaville.bos.redhat.com> (raw)
In-Reply-To: CALjq+LYyCcSB08Rpm01K9BHQPwp4hYZ8bHCBa73MBrAY=BpN4A@mail.gmail.com

Leu Zhe <lzhes43@gmail.com> writes:

> Hi, everyone!
>
> I always use org-preview-latex-fragment command to preview the LaTeX
> code, which is awesome.  It can effectively crop and suit the size of
> produced png to the content.
>
> However, recently I start to preview some tikz code.   I can greatly
> produce the good results except one problem: The preview can never
> reduce the spare margin of the produced images, which left large blank
> space there. However, when I preview other LaTeX code after deleting
> tikz preamble, everything is fine.
>
> So is there anyone who has some idea to reduce the large margins?
>

It helps if you provide a small example: otherwise, even if one is
willing to take a stab at it, one has to create one from scratch. Given
that just about all of us have limited time, that reduces the
probability that you will get an answer.

Nick

  reply	other threads:[~2014-05-16 16:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-16  8:34 Preview tikz in org-mode (reduce margins of produced images) Leu Zhe
2014-05-16 16:42 ` Nick Dokos [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-05-17  4:52 Leu Zhe
2014-05-17 15:28 ` Nick Dokos
2014-05-21  1:59   ` Bastien
2014-05-21  4:42     ` Nick Dokos
2014-05-21  6:22 Leu Zhe
2014-05-21  7:32 ` Bastien

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=87y4y1isjd.fsf@alphaville.bos.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).