Skip to main content

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
0 votes
1 answer
58 views

LyX preview environment doesn't work since I've updated lyx

Ever since I updated LyX to 2.4 from 2.3.7 I've had these problems: whenever I open an older file (which was created before LyX 2.4) I get the following pop-up, and I don't know how to stop it from ...
Nate3384's user avatar
  • 197
0 votes
0 answers
80 views

problems with LyX and TeXlive shell after updating to LyX 2.4

Ever since I updated LyX I've had 3 problems: whenever I open an older file (which was created before LyX 2.4) I get the following pop-up, and I don't know how to stop it from happening, those files ...
Nate3384's user avatar
  • 197
2 votes
1 answer
28 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
  • 197
1 vote
1 answer
82 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
63 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
75 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
107 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
74 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
98 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
170 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
  • 475
0 votes
0 answers
36 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
96 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
149 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
124 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
275 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.4k
4 votes
1 answer
82 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
  • 65.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
540 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
278 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
3 votes
0 answers
826 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
  • 31
2 votes
2 answers
508 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
161 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
220 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
260 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
347 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
  • 43
1 vote
0 answers
256 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
183 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.4k
1 vote
0 answers
172 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
232 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
219 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
  • 111
0 votes
0 answers
86 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
449 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
  • 615
2 votes
1 answer
81 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
284 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
213 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
512 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
184 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
65 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
373 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
158 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,715
0 votes
0 answers
338 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
80 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,116
1 vote
1 answer
155 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,116
4 votes
1 answer
306 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
485 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
73k 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
75 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,104
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,112
0 votes
0 answers
241 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
2 3 4 5