emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Leu Zhe <lzhes43@gmail.com>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Preview tikz in org-mode (reduce margins of produced images)
Date: Fri, 16 May 2014 17:34:53 +0900	[thread overview]
Message-ID: <CALjq+LYyCcSB08Rpm01K9BHQPwp4hYZ8bHCBa73MBrAY=BpN4A@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 565 bytes --]

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?


[-- Attachment #2: Type: text/html, Size: 736 bytes --]

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

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-16  8:34 Leu Zhe [this message]
2014-05-16 16:42 ` Preview tikz in org-mode (reduce margins of produced images) Nick Dokos
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:

  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='CALjq+LYyCcSB08Rpm01K9BHQPwp4hYZ8bHCBa73MBrAY=BpN4A@mail.gmail.com' \
    --to=lzhes43@gmail.com \
    --cc=emacs-orgmode@gnu.org \


* 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


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).