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.

learn more… | top users | synonyms

1
vote
1answer
29 views

how to set preview-latex left indentation on formulas?

Preview-latex is good to leave some left indentation on formulas. When the window is small, however, the left indentation on preview is a bit excessive, is there any way to change the amount of ...
7
votes
2answers
235 views

Why is beamer+pstricks+preview no longer compatible now?

The following code is taken from Gonzalo Medina' answer here (click). At the time he posted the answer the code was compilable. \documentclass{beamer} \usepackage{pstricks-add} ...
0
votes
1answer
86 views

What is the best side-by-side preview method for Emacs24 AUCTeX?

I am new to the Emacs world. I did this transition from one of the best latex editors and despite of the complexity of Emacs at every turn, I can still see there is future in learning it on the long ...
2
votes
1answer
94 views

Preview package cutting off top of content

When the preview package is loaded, the tikzpicture/figure environment that I am trying to isolate becomes set too high, resulting in the top of the image being cut off. (This is similar behavior to ...
2
votes
0answers
49 views

skim cannot reload file after auctex preview-latex

I am using emacs+skim to preview latex on macs, and I use auctex preview-latex from time to time. the problem is, after I run C-c C-p C-d in emacs to preview entire document, the pdf file is now ...
7
votes
1answer
93 views

preview.sty and font transparency in LuaLaTeX

Using the preview package removes font transparency in LuaLaTeX: \documentclass{article} \usepackage{luaotfload} \usepackage[active]{preview} \begin{document} \begin{preview} ...
4
votes
0answers
45 views

What needs to be done to get preview of TeX/LaTeX files in Preview-Pane of Windows Explorer?

When you click on a usual text file you see its preview (contents) in the Preview Pane of the Windows Explorer. Same is possible with many other formats like Word, Excel etc. Is it possible for ...
5
votes
1answer
91 views

Instant preview color in LyX

I'm using the instant preview feature in LyX, which as I understand is based on a LaTeX package of the same name. As I have LyX configured with a dark background - Is there anyway to configure the ...
1
vote
1answer
91 views

Compilation error after texlive update

I used to make animated pictures using pstricks and the beamer overlay syntax (eg. using \only<2>{<some pstricks code>}) with the standalone class. Here a MWE which did the work: ...
3
votes
1answer
37 views

Exporting preview-generated image width and height to a text file

I use the preview package to generate some pictures from the equation environment. I need the width and height of each picture. I guess the preview package does some black magic and, at some point, ...
1
vote
0answers
30 views

Code to ignore all of document except for list environments and sections

I am trying to typeset all of the (description) lists in my document without any of the surrounding text or figures (with the exception of desiring some context by way of section headings). I thought ...
2
votes
2answers
136 views

How to make table floats work with preview/standalone environment?

Couldn't make a table float work inside the preview environment: \documentclass[fontsize=16pt]{scrartcl} \usepackage[active,tightpage]{preview} \setlength{\PreviewBorder}{25pt} \begin{document} ...
0
votes
0answers
23 views

Preview package for combining eps figures

I was planning to use preview package for combining my subfigures (made by caption and subcaption packages) to one figure but I can't get even the basic example working. Here is my try: ...
1
vote
1answer
34 views

Set colour of equations when using preview package

I use the preview package to export a pdf containing only my equations by putting the following in the preamble \usepackage[active,tightpage,displaymath,textmath]{preview} ...
1
vote
0answers
75 views

strange preview latex problem with tikz and maketitle

The following example does not produce the expected preview: \documentclass{article} \usepackage{tikz} \begin{document} \title{a} \maketitle $a$ \end{document} Instead of the inline math a ...
8
votes
1answer
90 views

“Extra }, or forgotten \endgroup” when combining “fixltx2e” and “preview” packages

In a two-column document with figure* floats, where the preview package is set up to preview floats, compilation seems to fail if the fixltx2e package is loaded: \documentclass[twocolumn]{article} ...
2
votes
0answers
77 views

preview generates error [closed]

when attempting to view a latex document in texniccenter I get MiKTeX Problem Report Message: Some PostScript specials could not be rendered. Data: Error: /undefined in H.S Operand stack: ...
0
votes
1answer
113 views

AUCTeX and TikZ does not work in emacs for me : HELP T

This is no duplicate. I am unsure how things work here. But I wasn't able to save my last username as it was a temporary username and cannot access my previous post which was marked as duplicate. ...
1
vote
0answers
50 views

AUCTeX and TikZ does not work in emacs for me : plz help? [duplicate]

I've looked around for resolutions however, could not find any. Indeed the one response that is pointed out, I already tried. I did the following sudo gedit .emacs and embedded the code provided ...
1
vote
1answer
140 views

Aquamacs opening TexShop viewer instead of Skim

When I click View in Aquamacs after clicking Latex, it opens TexShop and a TexShop viewer. I want it to open Skim. I have set preferences to Skim as per other posts on this site. This behavior happens ...
3
votes
0answers
56 views

PreviewMacro for todonotes

I like auctex with Preview and would like my todonote \todo's shown in my emacs browser. However, this will either not show at all or consist of the \tikzpicture building blocks, namely each line ...
2
votes
0answers
120 views

Windows TeX editor with live preview

I'm looking for a TeX editor for Windows that would offer a live preview of fully-rendered PDFs, like what Latexian does on Mac OS - preferably freeware, but if such an editor is payware, I'm ...
3
votes
0answers
34 views

opening pdf at the cursor on lyx

While creating a preview on lyx , I expect the pdf to show me the position of the text at which cursor is positioned. The default behaviour seem to open pdf at first page. How can I change this ...
1
vote
1answer
117 views

Journal of Statistical Software class breaks preview in AUCTeX

I'm using AUCTeX 11.86-11 on Debian stable. The jss.sty style file contained in the JSS style file zip archive breaks AUCTeX's preview for me even with a simple file. NOTE: the jsslogo.jpg file is ...
2
votes
0answers
91 views

Emacs' Preview LaTeX: Using different background colors depending on environment

In Emacs' Preview LaTeX, I would like included graphics (e.g., what's inside \includegraphics) to look different than all other previewed environments. Otherwise, graphics that have black lines ...
3
votes
0answers
61 views

Is it possible to make AUCTeX preview of equations work with beamer?

When I generate preview images (using C-c C-p C-p) for the following document, the images are correctly generated but they are placed in wrong places in the buffer. Is it just me or MS Windows users? ...
2
votes
1answer
114 views

tikz library calc and auctex preview in emacs fails

The emacs-variable preview-default-preamble contains the statement \PreviewEnvironment{tikzpicture} so tikz pictures are processed by preview, which usually works fine. But preview in emacs fails if ...
0
votes
1answer
160 views

Instant Preview of Latex to PDF in silent mode with fast compiling

Please i am working on a project should provide fast compiling of Latex files in silent mode so the user should not see any process and just preview the final pdf file produced and i need it faster ...
3
votes
1answer
269 views

Using \usepackage[active,tightpage]{preview} does not generate any page

What is wrong with this code? \documentclass{article} \usepackage[active,tightpage]{preview} \begin{document} \(1 + 1 = 2\) \end{document} I get this error. $ pdflatex bar.tex This is pdfTeX, ...
10
votes
2answers
181 views

I'm using the standalone package. How can I get regular paragraph breaks?

I'm using the standalone class to render images for individual math problems that will be displayed in an app, so the cropping functionality is essential. However, the package seems to destroy ...
3
votes
0answers
73 views

Equations as pictures in text

Is there a way to compile a document with pdflatex and render all displaymath into graphics which are then included in the document instead of the equation code itself? Analogous to what you can do ...
1
vote
1answer
102 views

Pop-ups for a preview of raster images (.jpg,.tiff etc.) as they are while writing LaTeX code

I usually have a lot of figures to comment in my latex document sometimes for me would be helpful have a look to the figures as they are (not a preview of the final formatted results) just a very fast ...
3
votes
2answers
127 views

Turn off equation numbers when using 'preview' package

I am trying to export all of the equations from my document. I have added \usepackage[active,displaymath,tightpage]{preview} then compiled, and then from a command line run: pdfcrop output.pdf ...
1
vote
1answer
98 views

Preview problems in AUCTeX when using certain document classes

I just changed document class to lipics (class files here) which is used for various conference proceedings, i.e. \documentclass[a4paper,UKenglish]{lipics} I now have problems rendering previews in ...
0
votes
0answers
105 views

Control Auctex Preview colors

In the Auctex Preview Appearance section in customize, it is possible to set "Preview Reference Face". This is the only place I can find where the colour of the small .png files created by Preview ...
3
votes
1answer
77 views

How to get a tight output when using pst-tree package and standalone class?

\documentclass[preview,border=3pt,varwidth]{standalone} \usepackage{pst-tree} \psset{levelsep=2,treesep=-2,angleA=90,angleB=-90,arm=12pt} \def\psedge#1#2{\ncangle{#2}{#1}} \begin{document} ...
4
votes
1answer
89 views

Emacs, preview-latex, sseq

I like using preview-latex in Emacs. I have been working a lot with spectral sequences lately and so I would like to get the figures I draw in sseq to show up in preview-latex. So far no luck. Does ...
6
votes
1answer
115 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} ...
3
votes
2answers
178 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 ...
4
votes
1answer
171 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 ...
5
votes
1answer
487 views

Preview TikZ figure in AUCTeX?

I am using AUCTeX on Emacs. Recently I began to draw pics using TikZ, but the problem is AUCTeX doesn't generate preview of this environment. (However, it does generate preview for the general figure ...
7
votes
1answer
482 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?
1
vote
1answer
216 views

Aquamacs Preview doesn't work

I've been using aquamacs 2.4 on my osx 10.7.5. After it crashed with my font change operation, the preview menu bar disappeared and doen't appear again after rerunning the program. Although I ...
2
votes
1answer
69 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 ...
7
votes
2answers
3k 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 ...
2
votes
3answers
162 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
2answers
406 views

AUCTeX preview-latex previews are ugly (too narrow)

Is there a way to fix Emacs AUCTeX's preview-latex to make the previews look less ugly? Specifically, they are squashed vertically to a height of exactly one line of text. I have screenshots to show ...
3
votes
1answer
115 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 ...
6
votes
1answer
128 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 ...
6
votes
1answer
537 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 ...