From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Preview tikz in org-mode (reduce margins of produced images) Date: Fri, 16 May 2014 12:42:46 -0400 Message-ID: <87y4y1isjd.fsf@alphaville.bos.redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47137) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlLDy-0002WN-FW for emacs-orgmode@gnu.org; Fri, 16 May 2014 12:43:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WlLDr-000868-1V for emacs-orgmode@gnu.org; Fri, 16 May 2014 12:43:10 -0400 Received: from plane.gmane.org ([80.91.229.3]:42861) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlLDq-000863-Rz for emacs-orgmode@gnu.org; Fri, 16 May 2014 12:43:02 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WlLDm-00068B-Pg for emacs-orgmode@gnu.org; Fri, 16 May 2014 18:42:58 +0200 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 May 2014 18:42:58 +0200 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 May 2014 18:42:58 +0200 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: emacs-orgmode@gnu.org Leu Zhe 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