Hannan Sadar wrote:

Hi,

I was trying to apply one of the first examples at pst-circ-doc.pdf
file and I only gut 2 lines with out the element.
I am using LyX and this is how my file looks like:



the ert mode inside LyX is a bit crazy. You have to quit a line with ctrl-enter (see example) However there seems to be another bug with the ert mode when using the heb-article textclass. I wasn't able to open the ert box. In the attached example I used the default article class.

Herbert
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\begin_preamble
\usepackage{cancel}
%\usepackage{graphicx}
\usepackage{mathptmx}
%\usepackage{wasysym}
\usepackage{pstricks}
\usepackage{pst-circ}

\newcommand{\eqdef}{\ensuremath{\stackrel{\mathrm{def}}{=}}}
\end_preamble
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing onehalf 
\papersize a4paper
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\leftmargin 2cm
\topmargin 2cm
\rightmargin 2cm
\bottommargin 2cm
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language german
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard

foo
\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
pnode(-3,-3){A}
\newline 

\backslash 
pnode(-3,0){B}
\newline 

\backslash 
capacitor(A)(B){$C$}
\end_inset 

bar
\the_end

Reply via email to