File:H-donor-acceptor.svg

From testwiki
Jump to navigation Jump to search
    Original file (SVG file, nominally 550 × 588 pixels, file size: 10 KB)

    This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

    Any autoconfirmed user can overwrite this file from the same source. Please ensure that overwrites comply with the guideline.

    Summary

    Description
    English: Illustration of hydrogen bond donors and acceptors both as groups (in prozac) and molecules (ammonia and water).
    Date
    Source Own work
    Author Rubber Duck (☮ • ✍)
    SVG development
    InfoField
     The SVG code is valid.
     This vector image was created with LaTeX, converted to SVG using dvisvgm and manually edited using text editor.
    Translate this file This SVG file contains embedded text that can be translated into your language, using any capable SVG editor, text editor or the SVG Translate tool. For more information see: About translating SVG files.
    Source code
    InfoField

    LaTeX code

    Source code
    \documentclass[12pt,border=10pt,crop,multi=false,tikz,class=scrartcl]{standalone}
    \usepackage[latin1]{inputenc}
    \usepackage{xcolor}
    \usepackage{mathtools, amssymb}
    \usetikzlibrary{arrows,shapes,calc,positioning,fit,decorations.markings,intersections}
    
    \usepackage{textgreek}
    \usepackage{chemfig,chemmacros}
    \chemsetup{modules=all}
    \renewcommand*{\familydefault}{\sfdefault}
    
    \pagestyle{empty}
    \thispagestyle{empty}
    \begin{document}
    
    \setchemfig{scheme debug=true, atom sep=1.75em, double sep=.6ex,
    	bond style={very thick,cap=round}, bond join=true, arrow style={thick} }
    \begin{tikzpicture} [
    		every node/.style={minimum width=1cm, align=center}
    	]
    	\node at(0,0) (chem1) {\chemfig{
    	H-[:30]O-[:-30]H-[:30,1.5,,,dashed]N(-[:-30]H)(-[2]H)-[::0]H
    	} };
    	\node at(-1,-2) {hydrogen\\bond\\\textbf{donor} };
    	\node at(1.25,-2) {hydrogen\\bond\\\textbf{aceptor} };
    
    	\node at(5,-.1) (chem2) {\chemfig{
    	H-[:30]O(-[2]H)-[:-10,1.5,,,dashed]H-[:30]\charge{270:3pt=\:}{N}(-[2]H)-[:-30]H
    	} };
    	\node at(4,-2) {hydrogen\\bond\\\textbf{acceptor} };
    	\node at(6.25,-2) {hydrogen\\bond\\\textbf{donor} };
    
    	\node at(3.5,-6.75) (chem3) {\chemfig{
    	-[:30]\chemabove{N}{H}-[:-30]-[:30]-[:-30](-[6]*6(=-=-=-) )
    	-[:30]O-[:-30]*6(=-=(-(-[::-60]F)(-[::60]F)-F)-=-)
    	} };
    	\draw [dashed] (1.3,-5.85) -- ++(-.75,0) -- ++(0,1) -- ++(.75,0) --cycle
    	node [left=.8cm] {hydrogen\\bond\\\textbf{acceptor}\\and/or \textbf{donor} };
    	\draw [dashed] (3.8,-5.9) -- ++(-.75,0) -- ++(0,.75) -- ++(.75,0) --cycle
    	node [above=.8cm] {hydrogen\\bond\\\textbf{acceptor} };
    	\draw [dashed] (6.8,-8) -- ++(-1.1,0) -- ++(0,1.7) -- ++(1.1,0) --cycle
    	node[below left] {hydrogen\\bond\\\textbf{acceptor} };
    	\node [below left=1em of chem3.south] {\large\textit{prozac} };
    \end{tikzpicture}
    \end{document}
    

    Licensing

    Public domain This image of a simple structural formula is ineligible for copyright and therefore in the public domain, because it consists entirely of information that is common property and contains no original authorship.

    Captions

    Illustration of hydrogen bond donors and acceptors both as groups (in prozac) and molecules (ammonia and water)

    Items portrayed in this file

    depicts

    18 May 2020

    image/svg+xml

    10,209 byte

    43460fdc049bbfa710ffbb897cac11eefe3e8924

    File history

    Click on a date/time to view the file as it appeared at that time.

    Date/TimeThumbnailDimensionsUserComment
    current04:47, 17 November 2026Thumbnail for version as of 04:47, 17 November 2026550 × 588 (10 KB)wikimediacommons>PenguinEncounter2Corrected typo

    There are no pages that use this file.