TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to edit source code in Lyx?

Otherwise, how might I draw diagrams like venn diagrams or graphs

share|improve this question

Quick answer is no, though you can export the file to LaTeX and work from there.

Re. second question, you can insert any TeX code in LyX by using Ctrl+L (TeX button).

share|improve this answer

here is an example: http://tug.org/PSTricks/main.cgi?file=LyX/lyx

share|improve this answer
I think the community agreed that questions should not just contain links to other sites: "the solution should be entered in the text of the answer itself. Attributions to external sources are fine – and encouraged! – but just linking to solutions posted elsewhere outside of the site should be discouraged." (from Quality Standards for Answers) – Jake Aug 28 '11 at 12:49

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.