Example: Lipid vesicle

Published 2009-03-05 | Author: Henrik Skov Midtiby

Illustration of a vesicle composed of two lipid layers. A custom decoration is created to place lipid leaflets evenly on a circle.

Source:pgf-users mailing list

Download as: [PDF] [TEX]  •  [Open in writeLaTeX]

Lipid vesicle

Do you have a question regarding this example, TikZ or LaTeX in general? Just ask in the LaTeX Forum.
Oder frag auf Deutsch auf TeXwelt.de.



% Define decoration
  % Place as many segments as possible along the path to decorate
  % the minimum distance between two segments is set to 7 pt.
    % Draw the two acyl chains
    % Draw the head group

% Draw a vesicle composed of two lipid layers
% Micelle
\draw[decorate, decoration={lipidleaflet, mirror}] (0, 3) circle (0.6cm);
\draw (0, 2) node {Micelle};

% Inverted micelle
\draw[decorate, decoration={lipidleaflet}] (0, 0) circle (0.45cm);
\draw (0, -1) node {Inverted micelle};

% Lipid bilayer
\draw[decorate, decoration={lipidleaflet, mirror}]
  (-1, -2.8) -- (2, -2.8);
\draw[decorate, decoration={lipidleaflet}]
  (-1, -2) -- (2, -2);
\draw (0, -3.5) node {Lipid bilayer};

% Vesicle
\draw[decorate, decoration={lipidleaflet}] (5, 0.5) circle (2.5cm);
\draw[decorate, decoration={lipidleaflet, mirror}] (5, 0.5) circle (3.3cm);
\draw (5, -3.5) node {Vesicle};




  • #1 Maria, April 23, 2013 at 4:43 p.m.

    Great example, love it! Anywhay, is it possible to fill or shade the head groups?

  • #2 Zheng Ruan, May 16, 2013 at 11:46 p.m.


    Can you explain more about the [width=\pgfdecoratedpathlength/floor(\pgfdecoratedpathlength/7pt)] ?

    I tried to set with=7pt and there is a gap in the circle. Why is that??

Adding comments is currently not enabled.

Scientific and technical areas


LaTeX Beginners Guide

Limited discount 50%
coupon code tDRet6Y

Creative Commons License