Dear List,

I am currently having problems drawing commutative
diagrams in algebra using the dcpic package in Lyx.
Everything works ok in LaTeX but if I use the same
codes on Lyx. I get errors. dcpic is a package that
allows drawing commutative diagrams, it needs pictex
.. so in the preamble I typed
\usepackage{dcpic,pictex}
then in the body of my document I wanted to draw a
diagram..  So I let LyX allow LaTeX code (ie. I
inserted an ERT).. and typed the following..

\begindc{\commdiag} 
\obj(1,1){$A$} 
\obj(3,1){$B$} 
\obj(3,3){$C$} 
\mor{$A$}{$B$}{$f$} 
\mor{$B$}{$C$}{$g$} 
\mor{$A$}{$C$}{$h$} 
\enddc

Ok .. this worked.. but then when I type $\bar A$
instead of $A$ ... I get an hbox error, and the dvi
never shows the diagram ... I tried many things like
${\bar A}$ and some other tricks.. but all the time I
get an error.. However, when I tried my code with
$\bar A$ in LaTeX, I am able to make the diagram. 

I am assuming that this is a LyX problem and not the
package, since this code works well on LaTeX. I would
appreciate any advise (especially on drawing diagrams
on LyX). 

Sincerely,
Jose Capco

PS : Should one place tolerance values in the preamble
when working with LyX? 


        
                
__________________________________ 
Celebrate Yahoo!'s 10th Birthday! 
Yahoo! Netrospective: 100 Moments of the Web 
http://birthday.yahoo.com/netrospective/

Reply via email to