I've been here for just a few days and almost $ 3/4th $ of those few days I've been trying to find out the thing mentioned in the heading. I get absolutely no results when I search for it. And when I search Lewis Structures all I find is this : What are options for type-setting high quality Lewis structures? and some other irrelevant results. Everything that I know about writing them comes from that code fragment that @andselisk has given in his answer to the above question. Please help me in this matter.

Please don't misunderstand me. I'm not asking you people to teach me how to draw these. I just want to know how I can add them to my answers or questions.

  • 1
    $\begingroup$ I'm afraid, this is not a question about this site, so it is definitely off topic here. You should be aware that drawing Lewis structures is a very, very basic concept, which is explained in every entry-level chemistry textbook. You should definitely read the Wikipedia article before asking this question, because I have a strong feeling it'll be closed immediately. (And please do not abuse MathJax as a text styling element.) $\endgroup$ Commented Dec 13, 2020 at 9:58
  • $\begingroup$ Sorry, @Martin you just misunderstood me. I'm not talking about how to draw them. I meant how to add them to my answers. I already know how to draw them. I just want to know how I can add them to my questions or answers. $\endgroup$
    – lee
    Commented Dec 13, 2020 at 11:39
  • 4
    $\begingroup$ Save it as an image and then add the image to the post. Using the chemfig package is nearly always more hassle than it's worth, in my experience. See chemistry.stackexchange.com/questions/37303/… for a list of software that you can use to draw them. $\endgroup$ Commented Dec 13, 2020 at 12:13
  • $\begingroup$ Ohh thank you @orthocresol . It was so kind of you to help this poor newbie :) $\endgroup$
    – lee
    Commented Dec 13, 2020 at 14:25
  • $\begingroup$ I don't see how this question is different from the one OP mentioned. Should we probably close it as a duplicate? $\endgroup$
    – andselisk Mod
    Commented Dec 13, 2020 at 16:52
  • $\begingroup$ @orthocresol True, chemfig is hard, and, with changing syntax and French English documentation, sometimes evil, but it is a necessary evil. I don't know any other decent drawing tool with comparable extensibility and freedom, even though it's freedom as in shooting own leg, mostly:) $\endgroup$
    – andselisk Mod
    Commented Dec 13, 2020 at 16:58
  • 2
    $\begingroup$ @andselisk I actually appreciate the work that has gone into chemfig, and I've used it myself for some old, old notes. But one can't get around the fact that TeX was really not designed with that sort of thing in mind. What we need is of course a free version of ChemDraw, free in the sense that you mean ;-) I have wondered on several occasions if it is possible to script Inkscape for this purpose. $\endgroup$ Commented Dec 13, 2020 at 17:52
  • 1
    $\begingroup$ @orthocresol Agree, tables and drawing isn't TeX bread and butter, but Inkscape also has its quirks. The biggest pain is it's GTK, and they really like to rewrite things from the ground up and to break compatibility (and common sense, with GNOME 3 design choices). Plus, they really like to stress out that Inkscape is a tool for artists (and it shows), which I kinda interpret as a warning sign to use it for scientific purposes with a caution. $\endgroup$
    – andselisk Mod
    Commented Dec 13, 2020 at 18:00
  • $\begingroup$ I saw this site that looks interesting: wolframalpha.com/widgets/… and I could put it up as answer for you if it is helpful; keep in mind that cut and paste of images might require a certain level of reputation (along with copyright permission of course); but the link to the original may not require this. For one of the Stack Exchange websites where I did not have enough reputation to post the image, I got help from another user for one equation picture post. The correct diagram is linked, and can be redrawn by hand or w/ Libre Draw. $\endgroup$ Commented Aug 16, 2023 at 8:32


You must log in to answer this question.

Browse other questions tagged .