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

6
votes
1answer
67 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
59 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
0answers
65 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 ...
2
votes
1answer
81 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 ...
19
votes
3answers
363 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 ...
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?
1
vote
2answers
79 views

Texstudio user-defined hover preview

When hovering the cursor over the starting symbol of inline math mode, $, or over \begin{equation}, Texstudio gives a preview of the typeset math. I love this feature, but it only works in these two ...
4
votes
1answer
60 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 ...
1
vote
1answer
59 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 ...
4
votes
1answer
142 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 ...
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 ...
1
vote
0answers
41 views

Can include text which conditionally appears depending on PDF viewer? [duplicate]

Can you have a message in a document which only appears when particular PDF viewers are used? I am using pdflatex to create a PDF document. I am including pdf image which, unfortunately, does not ...
3
votes
1answer
127 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
108 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 ...
1
vote
2answers
147 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 ...
0
votes
0answers
152 views

Texmaker's preview doesn't seem to work anymore [closed]

I use Texmaker in windows. I have used it for a while now without any problem, but recently the preview doesn't work anymore. When I click the "show PDF" button, it creates a new window that I can see ...
0
votes
0answers
355 views

TeXmaker - cannot complie but TeXworks can [closed]

I installed MikTEX yesterday and TeXmaker, however I have some problems. When I am trying to make a simple "hello world" document in Texmaker I get the following error "log file not found". ...
2
votes
1answer
40 views

Set feature “preview” in BibDesk to generate preview in APA format

BibDesk has a preview feature that allows you to visualize the typeset output of the reference you just entered. I would like to know how to make BibDesk to typeset the preview using APA style.
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 ...
0
votes
0answers
68 views

BibDesk plain text preview

BibDesk usually provides preview formats in TeX, HTML, doc, and RTF. Sometimes, we want to use the complete citation in presentation slides. It would be easier to have previews in plain text. How do ...
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 ...
4
votes
1answer
199 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 ...
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. ...
5
votes
2answers
155 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 ...
3
votes
1answer
112 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?
2
votes
2answers
675 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 ...
5
votes
1answer
396 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 ...
2
votes
1answer
133 views

Crop a float containing subfigures horizontally with Preview or Standalone package

I have a float containing subfigures. I want to "export" it as a single item so that I can include it elsewhere as one object. I tried to use the Preview package with [active,floats,tightpage], but it ...
3
votes
1answer
105 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 ...
1
vote
1answer
112 views

Preview in auctex on debian stable works in dvi mode, but fails on pdf mode

My auctex renders preview images on my debian stable system (6.0.6) if I set it to dvi mode, but it fails if I set auctex to pdf mode. I assume there is either a mistake in my emacs configuration ...
1
vote
1answer
198 views

How can I get fancy-preview to work?

I would like to add fancy-preview to a document that I have created. I thought it would be best to get to learn how to use it on a simple example, so I found this TeX.SE question. I then tried to work ...
2
votes
0answers
253 views

fontspec package not compatible with inline preview TeXStudio [closed]

I've installed MiKTeX 2.9 and TeXStudio 2.4. I found suggestions on the web to change the default compiler to XeLaTeX, to provide accentuated words (I am portuguese!), to handle any type of images ...
0
votes
0answers
277 views

Can't sync between source and preview [closed]

This problem usually happens in my TexShop on Mac. When I try "command+left click" in source, the corresponding part in preview should be highlighted. But it usually cannot be highlighted and the ...
1
vote
0answers
249 views

More generic live preview editor? (can support pandoc and/or custom scripts) [closed]

I'm a fan of using things like pandoc, GPP and Rake to make my source files to look cleaner, be human readable, simplify my workflow and get some level of style/semantics separation (especially for ...
17
votes
2answers
359 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] ...
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
2answers
288 views

Use TeXShop Preview window when different output-dir is set

In TeXShop, under Preferences -> Engines I have modified the LaTeX command by adding -output-dir=/tmp. All of my auxiliary and final output files end up in this directory instead of where my source ...
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 ...
3
votes
1answer
151 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 ...
1
vote
1answer
186 views

LaTeX, dvipng and pipes

I am trying to create PNG images for each page in a LaTeX document on the fly. Since the startup time of LaTeX is the limiting factor for speed I tried the following approach using names pipes: Bash ...
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 ...
3
votes
1answer
267 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
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} ...
0
votes
1answer
165 views

preview-latex generates .png previews but does not place them in the buffer

When generating previews, I get a small, empty white box with a border around it. I looked inside the .prv folder and the .png files are indeed being created. emacs has support for .png (e.g. ...
8
votes
2answers
312 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. ...
0
votes
1answer
287 views

Auctex preview: How to suppress opening a new window?

I have emacs+gtk installed on Ubuntu11. I'm just new to Auctex but very interested in it. When completed my .tex document, command C-c,C-c compiles successfully. But repeating C-c,C-c yields option ...
0
votes
1answer
239 views

Preview-latex background color

I'm using AUCTeX + preview-latex to preview math formulas. In addition, I'm using the zenburn color scheme, which has a dark background. Unfortunately, the rendered math previews have a white ...
0
votes
1answer
1k views

AUCTeX XeLaTeX preview fails: fontspec cannot-use-pdftex error

I am struggling setting up AUCTeX preview in a way that I can use it with XeLaTeX documents. When I try to generate the previews I get the following error cannot-use-pdftex generated by the ...
3
votes
0answers
898 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
0answers
110 views

make flashmode work [closed]

I am not sure whether this is an appropriate question for tex.SE. Anyway: I am trying to use Flashmode, which I discovered reading the answers to this question. Unfortunately I am not able to make it ...

1 2