<div dir="ltr">I would recommend use <a href="http://diagrams.net">diagrams.net</a>. You can use latex or asciimath. Export as pdf.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 15, 2021 at 1:35 PM Paul A. Rubin <<a href="mailto:parubin73@gmail.com">parubin73@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div>On 1/15/21 1:21 PM, Joe Babb wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">I am trying to use Lyx to document some math and
electronics and I need to place a block diagram into my
document. I can draw the diagram in a separate program and
insert the jpg into Lyx, but what I'd rather do is draw it
directly in Lyx and be able to place Greek characters in each
box.
<div>I used to use Latex years ago and have the fourth edition
of Guide to Latex which talks about the picture environment.
But I find no picture environment in Lyx. I read on the
Internet about typing an M-x somewhere to get to insert
commands directly but can't get that to work. I keep wanting
to work in the code preview pane to insert Latex code directly
but can't. Is it possible at all in Lyx to to a block
diagram?</div>
<div>thanks,</div>
<div>Joe</div>
</div>
<br>
<fieldset></fieldset>
</blockquote>
First, to insert "raw" LaTeX into a LyX document, use Insert >
TeX Code, the default shortcut for which is Ctrl+L.<br>
<br>
As for drawing diagrams, if you want to use Xy-Pic, there is a
manual on how to do that in LyX (Help > Specific Manuals >
XY-Pic. Other possibilities (doubtless among many) are to use the
pstricks or tikz LaTeX packages. Each comes with its own learning
curve. I have directly embedded tikz commands in LyX documents to
produce diagrams, including flowcharts.<br>
<br>
Paul<br>
<br>
<br>
</div>
-- <br>
lyx-users mailing list<br>
<a href="mailto:lyx-users@lists.lyx.org" target="_blank">lyx-users@lists.lyx.org</a><br>
<a href="http://lists.lyx.org/mailman/listinfo/lyx-users" rel="noreferrer" target="_blank">http://lists.lyx.org/mailman/listinfo/lyx-users</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><i>Those who don't understand recursion are doomed to repeat it</i></div></div>