The main purpose of the {preview} package is the extraction of selected elements from a LaTeX source, like formulas or graphics, into separate pages of a DVI file.
19
votes
3answers
361 views
Selfhosted collaborative webbased LaTeX editor
I'm searching for a LaTeX editor that I can run on my GNU/Linux server and allows realtime collaboration as well as online compiling and previewing.
What I've tried so far:
FlyLaTeX: Editing works ...
17
votes
2answers
358 views
How to make a smarter cropping with standalone or preview packages?
The arrow tail at the bottom left corner is not properly cropped.
\documentclass[tikz,border=0pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=3,line width=3pt]
...
13
votes
12answers
1k views
What's the fastest way to preview changes as I learn TeX?
So I am learning LaTeX and I find it slow to test changes. So I'd edit the .tex file, then go to command line, and run pdflatex, wait for it to complete, and then open total commander, and then open ...
11
votes
3answers
1k views
Can pdf thumbnail previews in file explorer be influenced?
Some pdf files have a nice preview thumbnail in Windows (7) Explorer, e.g. those produced by my the software of my scanner:
For my LaTeX files produced with pdfTeX, however, it just shows the ...
9
votes
2answers
3k views
How to preview LaTeX in Emacs?
I want a similar layout as in SO, I use it currently as my editor but I would like to find such tool under my fingers. I am more vi-prone so having hard time to get preview-latex working with emacs. I ...
8
votes
3answers
1k views
'Standalone' TikZ pictures
I want to create a TikZ picture in an external PDF file, which then can be included in my main document via \includegraphics.
However, compiling a document with a TikZ picture in it produces a whole ...
8
votes
2answers
309 views
Build cropped PDF image from LaTeX
I have created an image with pgfplots in a separate file and want to add the PDF that is built from that as an image in my report. The problem is that the image PDF created is a complete A4 format.
...
7
votes
1answer
132 views
Add additional info to a preview
The following example works in so far as it shows the image in the source latex file and disregards everything else. Is there some way of performing the same task but also list information about each ...
7
votes
2answers
994 views
Transparency in tikz, preview package and xelatex
Is it possible to have transparency in a tikz picture while using the preview package and compiling with xelatex?
The following mwe compiles without warnings/errors under both xelatex and pdflatex ...
6
votes
6answers
1k views
Live tex compilation
Tools like firebug allow a developer to immediately view the results of changes they make to the HTML of a webpage. Has anyone taken a similar strategy with LaTeX, so that an entire compile cycle is ...
6
votes
2answers
88 views
Is there an option to trim the remaining whitespace to the right?
\documentclass{article}
\usepackage[active,tightpage]{preview}
\PreviewBorder=12pt
\begin{document}
\begin{preview}
$
\frac{1}{3}=0.333\ldots \Rightarrow 1=3\times\frac{1}{3}=3\times ...
5
votes
2answers
154 views
PDF preview on other monitor
Is there any way that allows me to have my pdf preview on a different monitor? I know that you can have Adobe open your pdf automatically instead of the built in previewer, but when I use this I ...
5
votes
5answers
1k views
Is there a TeX/LaTeX editor that can show results in real-time? [duplicate]
Possible Duplicate:
What's the fastest way to preview changes as I learn TeX?
This is my first post to TeX. I have taken it upon myself to learn how to type math formulations via LaTeX, ...
5
votes
1answer
393 views
AUCTeX, preview-latex, and Ghostscript (Emacs)
I'll keep this short and sweet; Emacs can't find gs, which has been installed via brew and works fine.
Error
PDF2DSC sentinel: Searching for program: No such file or directory, gs
MWE
...
4
votes
3answers
784 views
preview-latex does not function
Preview-latex installs, but doesn't actually preview. When I generate the preview from the source, all I see is... the source. For example, the math equations are highlighted, but not rendered.
Some ...
4
votes
3answers
122 views
How to trim the left and right white spaces when a table is previewed?
The following table has unwanted right and left white spaces. But you cannot see them because the figure has been converted to PNG with alpha channel enabled.
How to trim the left and right white ...
4
votes
2answers
737 views
Crop equations with preview package
Is it possible to avoid left space from equations previewed with preview package?
\documentclass{minimal}
\usepackage{amsmath}
\usepackage[active,tightpage,displaymath]{preview}
...
4
votes
1answer
57 views
Minimization of the time it takes to preview a large beamertex file
I have a very large beamer tex file which requires a long time to texify. I want to make very minor changes and want to visualize these changes quickly. Is there a way to texify only the changes ...
4
votes
1answer
978 views
Does tikz 2.1 no longer work with the preview package?
I used to be able to create png images of diagrams made with tikz code by using the preview package and printing the dvi output from dvips to a png file using ghostscript. The latest version of tikz ...
4
votes
2answers
4k views
LaTeX editor with live preview for Windows and RTL language support?
Looking for a LaTeX editor for Windows with the following features:
Live preview. (Inherited live preview, not something achievable if you do some tricks.)
RTL language support. (Hebrew for example)
...
4
votes
1answer
63 views
AUCTeX preview font size too small
I have Emacs 24 and AUCTex on a Windows 7 machine, however the preview font size is just way too small. Is there a way to make them bigger?
4
votes
2answers
141 views
AUCTeX: how to jump to PDF (with synctex) without recompile when inline preview has been created?
I'm using Aquamacs 2.4 on MacOS X 10.6.8 with pdflatex (TeXLive 2011).
My problem:
I can create inline previews of formulas, figures etc. in the source code with AUCTeX which is very helpful - e. ...
4
votes
4answers
1k views
Getting a live preview of TeX (on Windows) - for just a small snippet of code?
I wish to have a quickly updating work area so to be able to learn my LaTeX faster.
From reviewing the answers on tex.stackexchange, and from going through the list of TeX editors on Wikipedia - I ...
4
votes
1answer
40 views
How to remove the white space on the top of the following table?
How to remove the white space on the top of the following table?
\documentclass[preview,border=0pt,varwidth]{standalone}
\usepackage[table]{xcolor}
\usepackage{array}
\usepackage{longtable}
...
4
votes
1answer
140 views
Is there a LaTeX editor capable of synctexing a live preview from an included or inputted or subfiled chapter02.tex?
As a beginner... I thought I had settled for the distraction-free Gummi; but now I'm unsure, as I gather it's not so great for larger, modularized documents, such as writing a thesis:
Gummi's live ...
4
votes
1answer
197 views
Customizing preview-latex command to use LaTeX when in TeX-Pdf mode
In short: Is there a way to tell preview-latex to NOT use pdflatex instead of just toggling TeX-Pdf mode every time I want to re-generate previews?
I have a somewhat odd setup. AucTeX + GNU Emacs 24 ...
3
votes
3answers
374 views
pdflatex preview problem: white pdf pages with only hyperref-rectangles visible during compile?
I'm having a problem, which breaks my workflow (as I'm working on a very large document, where a full latexmk run may take 10 minutes and even compiling the chapters I'm currently working on with ...
3
votes
3answers
1k views
preview-latex in emacs auctex: empty boxes?
I originally posted this question directly on the Auctex mailing list but did not receive a response. I'll hopefully get more luck on the TeX Exchange.
I was recently reminded by
this
post regarding ...
3
votes
2answers
157 views
Is there a “smarter” way to know the size of \psbarcode?
The size of 2D barcode depends on the first argument of \psbarcode. I usually do trial and error to find the size of \pspicture such that I get a tight output.
\documentclass{article}
...
3
votes
1answer
144 views
Figure preview wrapper
How do I best preview my figures?
I have one file with this:
\begin{figure}
\begin{tikzpicture} %if tikz
...
\end{tikzpicture}
\includegraphics{...} %if eps
\caption{...}
\label{fig:..}
...
3
votes
1answer
65 views
How to preserve the indentation when using standalone or preview?
The following output has no correct paragraph indentation after incorporating standalone documentclass or preview package.
\documentclass[border=12pt,preview]{standalone}
\parindent=12pt% does not ...
3
votes
1answer
434 views
What kind of “magic” does preview package do to produce a tight paper size?
Actually the following method, that looks like reinventing the wheel, has been discarded once I have known the existence of preview package.
% WithoutPreview.tex
\documentclass{article}
...
3
votes
1answer
120 views
Is it possible to type Latex code and see its real time preview in LyX?
I'm new to LyX. I have just given it a try and written my first article.
I discovered a panel from Menu > View > View Source. It shows the source code of my article. But as far as I see, I am ...
3
votes
1answer
150 views
How to make a new tex command in org-mode-latex?
In a general tex-file, one can easily define a new command, for my case, let me take this as an example:
To put this code in header
\newcommand{\dd}{\,\mathrm{d}}
I can use the shorter command to ...
3
votes
1answer
111 views
Add -shell-escape option to the latex invocation of preview-latex in auctex
I need preview-latex to use the -shell-escape option when it invokes pdflatex, which is required by the minted package for syntax highlighting, as it invokes python. How can I do that?
3
votes
1answer
264 views
preview and standalone crop too much of tikz picture
When I try to fit the page size to my tikz image, too much is cropped. No matter whether I use \documentclass{standalone}, \documentclass[preview=true]{standalone} or ...
3
votes
3answers
1k views
Problem getting preview to work in Auctex on Windows 7
I'm trying to get preview of math formulas to work in AUCTeX. When running M-x preview-buffer on simple test document I get the following error:
Preview-DviPS finished at Wed Dec 28 00:53:14
DviPS ...
3
votes
1answer
938 views
Emacs + Auctex, Latex environment
I'm writing a document in LaTeX. The document is divided in .tex documents and compiled using a Makefile.
My question is, could I see the dvi/PDF for the section of the document that I'm already ...
3
votes
2answers
56 views
Difference with standalone and preview? [duplicate]
I have a table, but for cleanliness (I'll use the figure in a paper and in talks), I'd like to compile to a single PDF and include it with includegraphics instead of having the table rendered within ...
3
votes
1answer
104 views
Crop to floats with Preview but skip caption?
I would like my 'figure' environments to be exported tightly cropped. If I use this:
\usepackage[floats,active,tightpage]{preview}
the caption is included. If I use this (of course, with real ...
3
votes
2answers
255 views
Sluggish cursor movement in emacs LaTeX-mode
I'm editing a large (around 50k words) tex file in Emacs using AUCTeX and cursor movement is quite sluggish, especially when jumping by word. This isn't a problem in any other mode.
Edit: I did some ...
3
votes
0answers
63 views
fancy-preview with other \ref-like commands (such as \autoref and \cref)
I finally got fancy-preview working, and I found the place (around line 97) in the script to add to the list of environments which it catches (to add propositions and so on). But what I can't find ...
3
votes
0answers
897 views
Using Sublime Text 2 for LaTeX [closed]
Is anybody using Sublime Text 2? I use it quite frequently for coding, it by far my favourite editor. But I never used it for LaTeX. There is a package called LaTeXTools for editing and viewing LaTeX ...
2
votes
2answers
138 views
How can I make the size of the PDF equal to the of the chessboard?
I have this piece of LaTeX:
\documentclass{article}
\usepackage[pdftex,active,tightpage]{preview}
\setlength\PreviewBorder{2mm}
% Source: http://tex.stackexchange.com/a/15278/5645
...
2
votes
4answers
927 views
vim, PDF -XChange, pdflatex, TeX Live 2010, windows xp, (pdfsync)
Hope I didn't forget any. These are the packages I want to use on my computer for typesetting pdf files. Up to date I'm using vim (without any plugin but integrated syntax highlighting for .tex files) ...
2
votes
2answers
668 views
PDF viewer with auto update for WinEdt
Is there a PDF viewer featuring auto update for WinEdt? [WinEdt V 5.5 on WinVista machine]
I find WinEdt very comfortable to work with but the fact that one has to re-open Acrobat after every ...
2
votes
2answers
514 views
How to use preview and animate packages together?
I'm used to prepare tikz graphics with preview or standalone packages to crop them. Now I've started to experiment with animations and wanted to do the same. My first test was with Alexander Grahn's ...
2
votes
2answers
204 views
Ghostscript questions [related: preview package to print standalone PDFs]
Using the preview package to generate individual PDFs of images within your document has been covered, for example, in this thread. However, I am trying to understand how you can use Ghostscript to ...
2
votes
3answers
107 views
Why do I have to put fillcolor setting inside preview environment?
It seems to me this problem related to PSTricks so I have to modify the previous question.
\psset{fillstyle=solid,linecolor=red} that I define globally outside the preview environment can affect the ...
2
votes
1answer
41 views
How to prevent preview from discarding my PostScript constants defined in the preamble?
Considerations:
I have to use beamer document class to create a step-by-step tutorial.
I have to use preview package to trim everything outside pspicture.
Using standalone document class is not ...


