# Tag Info

1

This problem was tackled successfully on NeXTstep where the TeX process would allow access to a .dvi file after a complete page was written to it via IPC (InterProcess Communication). This feature seems to now be part of pytex and the TeX Daemon --- one can improve TeX performance by: not loading unnecessary packages selectively processing only a portion ...

0

Based on the previous answer, I changed the settings through the UI, and looked at what was being written out to .emacs - the parts that are pertinent for this question are (custom-set-variables .... .... '(preview-LaTeX-command (quote ("%`%l -shell-escape \"\\nonstopmode\\nofiles\\PassOptionsToPackage{" ("," . preview-required-option-list) ...

2

You probably want to extract math formula(s), so \documentclass{article} %\usepackage[active,tightpage]{preview} \usepackage[active,tightpage,textmath]{preview} \begin{document} $$1 + 1 = 2$$ \end{document}

3

You can use the varwidth option, plus an adjustment to impose a nonzero parskip: \documentclass[border=1bp,varwidth]{standalone} \usepackage[document]{ragged2e} \usepackage[none]{hyphenat} \usepackage{amsmath} \setlength{\textwidth}{4in} % decide what's best for you \makeatletter \g@addto@macro{\@parboxrestore}{\setlength{\parskip}{\baselineskip}} ...

6

Move the \setlength{\parindent}{10pt} \setlength{\parskip}{3ex plus 0.5ex minus 0.2ex} to the first line after \begin{minipage} to avoid minipage overrides them. \documentclass[preview,border=1bp]{standalone} \begin{document} \begin{minipage}{4in} \setlength{\parindent}{10pt} \setlength{\parskip}{3ex plus 0.5ex minus 0.2ex} This is a paragraph. It's a ...

4

Following e-birk's solution a step further, yes you can preview raw TeX code instantly inside LyX 2.0.6. Go to Tools>preferences>Look&Feel>Display and select Display graphics and instant preview "On". Type Ctrl+M to insert a new formula region. Type Ctrl+L inside the math formatted region you created in (2) to insert your raw (La)TeX code. If ...

Top 50 recent answers are included