Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
> 
> >>>>> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes:
> 
> Enrico> I suspect that there is a misunderstanding here. I am talking
> Enrico> about the files that LyX constructs for the preview-latex
> Enrico> thing, i.e., the files named "#lyxpreview.tex", not the latex
> Enrico> file used for typesetting the final result.
> 
> But what textclass do these files use?

>From what I see, it seems that they use the same preamble as the latex
file one would obtain when exporting to latex. Here is an example file
produced by LyX for previewing a single snippet. The lyxpreview2bitmap.py
script invokes latex upon it and then dvipng on the .dvi file.

--
Enrico


$ cat 0lyxpreview.tex
\batchmode
%% LyX 1.4.0pre3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\makeatletter
[EMAIL PROTECTED]:/work/misc/codes-dpsk//}}
\makeatother
\documentclass[12pt,english,draftclsnofoot,onecolumn]{IEEEtran}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[usenames]{color}
\usepackage{graphicx}

\makeatletter

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
%% Bold symbol macro for standard LaTeX users
\providecommand{\boldsymbol}[1]{\mbox{\boldmath $#1$}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\usepackage{umoline}
\renewcommand{\textcolor}[2]{\Underline{#2}{}}
%\setlength{\UMOlineThickness}{0pt}

\usepackage{babel}
\makeatother

\def\lyxlock{}

\usepackage[active,delayed,dvips,showlabels,lyx]{preview}

\begin{document}
\begin{preview}
$x_{\mathit{DPSK}}(t)$
\end{preview}

\end{document}


Reply via email to