Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [preview]

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.

Filter by
Sorted by
Tagged with
2 votes
1 answer
22 views

in lyx: preview of ert environment inside a table cell has weird bounds compared to the compiled output

In using the latest version of LyX (2.3.7) when I insert an ERT environment inside a preview, and all of that inside a table cell the output on the lyx file takes a huge part of the page length (I ...
Nate3384's user avatar
1 vote
1 answer
54 views

standalone & beamer, preview and crop

Following up on Using beamer tools in tikz, without creating slides: The combination of standalone and beamer via preview option would be great if it did work, but even this simple example (from ...
Holger Karl's user avatar
0 votes
0 answers
40 views

Is there a way to open multiple files under different tabs in the same window in texshop?

In TexShop everytime, I open a new file, it opens in a new window. A similar question has been asked before, but the solution is not there. I have attached a snapshot of TexStudio to illustrate the ...
mathslove's user avatar
  • 141
0 votes
1 answer
63 views

Stop preview-latex from overwriting file

Is there a way to prevent preview-latex (on emacs through AucTex) from overwriting the main pdf when I preview the whole document with C-c C-p C-d? Edit: So, for example, if I use C-c C-p C-d, the ...
user2472071's user avatar
1 vote
1 answer
99 views

Circuitikz - Partway modifiers behave differently in Emacs Preview mode

This simplified version of my source code produces different results when simply run through LaTeX and when viewed using Emacs/Auctex Preview mode. My question is how to get around this problem with ...
Charles B. Cameron's user avatar
1 vote
1 answer
66 views

Using Latex-preview in Emacs with siunitx

Is there any way to get preview.el to display graphics for units expressed using the macros of siunitx? I have succeeded in getting equations and tikz drawings displayed in preview-latex, convincing ...
Charles B. Cameron's user avatar
0 votes
1 answer
70 views

Preview latex size not changing

I have found that the equation preview sizes with preview-latex don't work, despite changing preview-scale-function with the following, for example: (custom-set-variables '(preview-scale-function 2.0))...
user2472071's user avatar
1 vote
0 answers
152 views

LyX preview of child document in main document not working

This is a LyX specific question. I would like to work with a main document and insert different parts (e.g. chapters) into the main document as child documents. One can do this in LyX using Insert >...
Alwin's user avatar
  • 455
0 votes
0 answers
33 views

Inserting linebreak between subfigures with active preview package

I would like to create subfigures with multiple rows with preview mode active. Positioning subfigures sidy by side works just fine: \documentclass[a4paper,11pt]{article} \usepackage{tikz} \usepackage{...
kilsen's user avatar
  • 357
1 vote
0 answers
88 views

how does photomath implement an instant latex preview? [closed]

how does photomath expert implement an instant latex preview? is there an app/software that does the same? i tried a lot of latex editors and they all need to be manually recompiled and much slower. ...
l3tt3rsnumbers0nly's user avatar
0 votes
0 answers
142 views

Preview package error

I'm running into an error using the preview package. The output below is from SageMath. \documentclass{article} \usepackage{amsmath} \usepackage{amssymb} \usepackage{amsfonts} \usepackage{graphicx} \...
Ben Salisbury's user avatar
1 vote
1 answer
94 views

mdframed creates small white lines around the content, how do I get rid of them?

I use mdframed to create a black background in a preview environment. Since I could not figure out how to color the preview border black as well, I set it to 0 and included a black line around the ...
Lando Lingens's user avatar
6 votes
1 answer
274 views

My legacy PSTricks code is not compilable anymore

The following code worked several years ago but it does not now. I lost my conscious and I might be in a generation gap. I attempted to compile with either lualatex or latex->dvips->ps2pdf ...
Display Name's user avatar
  • 47.1k
4 votes
1 answer
79 views

Interesting behavior of preview

If you compile this code (note that \begin{document} is commented): % arara: pdflatex \documentclass{article} \usepackage{tikz} \usepackage[active,tightpage]{preview} %\begin{document} \...
CarLaTeX's user avatar
  • 64.2k
2 votes
2 answers
1k views

Skim not opening or updating on build with Sublime Text 4 and LaTeXTools on Mac

I am building a pdf from ST4 with LaTeXTools. The build is fine. ST4's console's shows this after the build: Welcome to thread Thread-11 Running "latexmk -cd -f -pdf -interaction=nonstopmode -...
Guillaume V's user avatar
1 vote
1 answer
453 views

TexShop preview document-surround colour

I would like to change the colour of the TexShop preview window background surrounding a preview document, rather than behind document pages (see note). I would like to change it from the default grey ...
johnbrc's user avatar
  • 575
0 votes
0 answers
243 views

TeXWork not typesetting

I am new to TeXworks. I have a tex file and when I open it it shows fine but when I click on the Green arrow nothing happens and the Window > Go To Preview is greyed out. What am I doing wrong? As ...
Les.61's user avatar
  • 1
2 votes
0 answers
751 views

VSCode - LaTeX preview not working

When I try to preview any LaTeX document I write in VSCode, I get the error message Cannot view file PDF file. File not found C:.... How can I fix this? It would be really convenient for me if I could ...
Advas's user avatar
  • 21
2 votes
2 answers
465 views

How to get a page without white border?

It want a PDF (or PNG) output of a Latex document on one long page, trimmed without the white borders, in minimal runtime. The preview and standalone packages have this built in in some way and I ...
Nobody-Knows-I-am-a-Dog's user avatar
1 vote
0 answers
151 views

after TexShop update to 4.68, Preview window is blank gray: no text, nothing

I am using Mac OS 10.15.7; yesterday upgraded TexShop to 4.68; after the upgrade TexShop Preview window is blank gray, while there are no errors in the console. If I print this window to Mac OS ...
Kkk's user avatar
  • 11
1 vote
1 answer
207 views

Using the Boadilla theme in beamer, there are previews of text that will appear later in the current slide - how to disable?

The question is contained in the title. I am writing a presentation using Boadilla theme in beamer/LaTeX. When I have a slide which uses \onslide<1->{hello} follow by \onslide<2->{second ...
giorgi nguyen's user avatar
0 votes
1 answer
248 views

pst-pdf and beamer conflict

Follow up to this question reporting conflict between [auto-]pst-pdf and hyperref. This is apparently due to the fact that pst-pdf uses preview internally, and preview is currently incompatible with ...
Hugo Raguet's user avatar
0 votes
0 answers
322 views

Why did the math preview in vscode fail when including physics package?

My code is written as follows: \documentclass[12pt]{article} \renewcommand{\baselinestretch}{1.5} \usepackage{hyperref} \usepackage{amsmath} \usepackage{amssymb} \usepackage{esint} \usepackage{...
Formic_'s user avatar
  • 33
1 vote
0 answers
231 views

TexStudio inline preview problem

I use texstudio as my editor and on one of my computer where I have reinstalled miketex and Texstudio, with the attached preview settings. But I get the following error message when doing inline ...
relinquere's user avatar
1 vote
2 answers
181 views

How to obtain a tight diagram with standaloneframe?

In order to avoid writing the following code, I need to use overlays provided by beamer. Unpleasant Code \documentclass[pstricks]{standalone} \usepackage{pst-node} \begin{document} \begin{...
Display Name's user avatar
  • 47.1k
1 vote
0 answers
156 views

A problem with instant preview in Lyx

I have started using XYmatrix. it was recommended to me to enable instant preview. it worked great but now I see that it started to warp my previews. it "shrunk" them. original: preview: ...
Yonatan Marom's user avatar
1 vote
0 answers
218 views

multiline equation preview sublime

The preview works just fine for any single line equation. However, it does not work for multiline equations. Is there any solutions or work around? I am writing math derivation so having the preview ...
Codelearner777's user avatar
4 votes
0 answers
208 views

Proper toolchain for pdfLaTeX and psfrag including hyperref

I am writing a comprehensive scientific thesis. In December 2020, my toolchain stopped working, which combined pdfLaTeX, pstool to apply psfrag, and hyperref. I reported the issue here pdfLaTeX fails ...
Tobias's user avatar
  • 101
0 votes
0 answers
75 views

problem with online preview latex

Hello, everything was fine with my projects on Latex online, until today. The only difference I made is to add New command, after that I receive the following preview for all my previous projects, ...
Elo Elena's user avatar
0 votes
0 answers
396 views

How to preview a DVI (rather than a PDF) in TeXstudio

TeXstudio is very slow when compiling and previewing a 400-page book. I was told that previewing a DVI is faster than PDF, so I want to preview a DVI instead. How do I do that in TeXstudio? By ...
Echeban's user avatar
  • 605
2 votes
1 answer
79 views

Redefine commands / Remove left spacing for equations in LaTeX Preview (also in Emacs AUCTeX)

When I run \documentclass{article} \usepackage{amsmath} \usepackage[active, tightpage, displaymath]{preview} \begin{document} \begin{equation*} 1+2 = 3 \end{equation*} \end{document} I get the ...
HBS's user avatar
  • 551
1 vote
0 answers
267 views

LaTeX Sublime Text Equation Preview

I recently installed Sublime Text 3 and am attempting to produce a pdf document with some complex math. However, my equation previewer is not functioning correctly for math environments. When I change ...
Laura's user avatar
  • 11
0 votes
1 answer
201 views

Background color for documents generated by the preview package

My question is very simple: is it possible to use \pagecolor from xcolor (or related packages) to change the background color of a document generated by the preview package? I've tried to add \...
Link-D's user avatar
  • 3
2 votes
1 answer
493 views

Hide the displayed part of a linked page when hovering over the link in ToC

I'm using the hyperref package and when I hover over an entry in the table of contents (which points to a section) I get a glimpse of the beginning of that section. I've searched some options in the ...
Abovegame's user avatar
2 votes
1 answer
182 views

TeXstudio 3.0.0 equations do not preview, even though I have the option enabled [closed]

This is similar to the issue Roland Salz had, but I have already followed the advice in that post, and toggled that setting, and restarted, but it doesn't seem to change anything. It seems like me ...
Romaji's user avatar
  • 31
0 votes
0 answers
44 views

double flash in texshop preview

I am using Texshop 4.44 on a Mac running El Capitan, and I use an external editor. When I preview a .tex file using pdftex, the screen image shows a double flash before settling down and working ...
Marty Isaacs's user avatar
1 vote
1 answer
64 views

auctex preview-latex does not take into account newcommands

I have slightly complex symbols that I do not want to re-type in latex so I define \newcommands that abbreviate them. For example \begin{document} blah blah \newcommand{\ds}[1]{\Delta\{#1\}} \[ \{...
fakedrake's user avatar
  • 123
1 vote
0 answers
347 views

latexmk and xpdf previewing

I'm trying to use continuous updating with a combination of latexmk and xpdf. I set up my config file exactly as outlined in the latexmk documentation $pdf_previewer = "start xpdf -remote %R %O %S"; $...
Christof's user avatar
1 vote
0 answers
144 views

Export and view with lyx

I have control + R for previewing pdf by command "buffer-view". I use Alt+ R to "buffer-export". I would like to export and view by combining thes two commands. I tried short-cuts CTR+R: buffer-view; ...
Vaibhav's user avatar
  • 6,675
0 votes
0 answers
310 views

Change colour of highlighting of preview search results (TeXShop)?

[enter image description here][2][![enter image description here][3]][3]Is it possible to change the highlight colour of search results in the document in the preview window (not in list of search ...
Kim's user avatar
  • 1
2 votes
0 answers
78 views

Remove space above displaymath at start of preview environment

Here is a minimal code example. \documentclass[12pt]{article} \usepackage[active,tightpage]{preview} \begin{preview}%\setlength{\baselineskip}{0pt} \[a=b=c\] \end{preview} \end{document} I get the ...
MB4E's user avatar
  • 1,094
1 vote
1 answer
151 views

Environment preview and \hfill command

Here is a minimal code example. \documentclass[12pt]{article} \usepackage[active,tightpage]{preview} \begin{document} \begin{preview} $a=b$ \[ b=c \] \hfill $c=d$ \end{preview} \end{document} This is ...
MB4E's user avatar
  • 1,094
4 votes
1 answer
294 views

TikZ and AUCTeX: Different results

Consider the following MWE: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw[thick,fill=yellow!50] (0,0) circle (3); \draw[thick,fill=orange!50] (0,0) ...
Philipp Imhof's user avatar
0 votes
0 answers
471 views

Sublime text Math preview opens console window on every change in math fields

I am using latex in Sublime Text 3. The package Math Preview is certainly smart, but it opens up a console window on top of sublime on every change and this steals focus in about 3s, and the math ...
LaugeRoenberg's user avatar
16 votes
4 answers
69k views

PDF Preview in Visual Studio Code

In this question, the setup of LaTeX in VS Code is explained in one of the answers. I followed the instructions, and am indeed able to compile a LaTeX document in VS Code, with the PDF output as ...
Marie. P.'s user avatar
  • 685
1 vote
1 answer
72 views

Unexpected outputs from standalone class with preview and crop options

I am designing a logo composed of two letters and am using the standalone class. I would expect the newer crop option to give me a "tighter" PDF output than the older preview option, but the reverse ...
chandra's user avatar
  • 3,084
1 vote
2 answers
2k views

Disable preview-latex

Just started using Emacs for editing my .tex documents after a long time away. I am rusty. I installed auctex and setup my environment nicely. Most things are working, but the fly in the ointment is ...
user2751530's user avatar
  • 1,102
0 votes
0 answers
236 views

cooltooltips with Preview on Mac

When I try to use the 'cooltooltips' package for adding notes to my PDFs and I try to view them with Preview (10.1) on Mac it does not work. When I hover over 'This text' nothing happens. Does anyone ...
Jan Kreischer's user avatar
1 vote
1 answer
469 views

AUCTeX fails to generate previews

I am trying to generate previews using AUCTeX on Emacs GUI in my tex buffer but I get a "stop" sign error everywhere. See example below: When I click on the stop sign and select "View Error" I get ...
wissam124's user avatar
3 votes
0 answers
70 views

\pagecolor ignored when preview package used

When I use the standalone package's preview option, pagecolor is ignored. MWE: \documentclass[preview]{standalone} \usepackage{xcolor} \usepackage{lipsum} \pagecolor{red} \begin{document} \color{...
speedstyle's user avatar

1
2 3 4 5