On 16/06/15 15:02, Guenter Milde wrote:
On 2015-06-16, Steve Hnizdur wrote:
Hi

I had fun using the frame decoration "utilde"  from the math toolbar and
I thought my experience might be of interest.

When the decoration is chosen Lyx automatically includes

\usepackage{undertilde}

in the preamble. Unfortunately I use Ubuntu 14.04.2 LTS and the standard
tex live doesn't include this package

I don*t know what a "standard tex live" would be, but under Debian,

The texlive packages I have installed are

texlive-base
texlive-binaries
texlive-extra-utils
texlive-font-utils
texlive-fonts-recommended
texlive-fonts-recommended-doc
texlive-generic-extra
texlive-generic-recommended
texlive-latex-base
texlive-latex-base-doc
texlive-latex-extra
texlive-latex-extra-doc
texlive-latex-recommended
texlive-latex-recommended-doc
texlive-luatex
texlive-pictures
texlive-pictures-doc
texlive-pstricks
texlive-pstricks-doc
texlive-science

and these are what I mean by "standard".

"undertilde.tex" is in the "texlive-generic-recommended" package
(found with `apt-file find undertilde`).

So, after `apt-get install texlive-generic-reocmmended` it should work.
Strange, that the lyx package does not recommend this for automatic
installation...


The point is that the \usepackage(undertilde} added by Lyx to the preamble doesn't load the undertilde.tex file. The compilation error is that undertilde.sty is not found. Hence \input{undertilde} is needed in the preamble and has to supplied by the user.

Günter


--

Steve Hnizdur

Reply via email to