File:Star-of-david-thm.svg

From testwiki
Jump to navigation Jump to search
    Original file (SVG file, nominally 143 × 126 pixels, file size: 9 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.

    Summary

    Description
    English: Illustration for Star of David theorem. Drawn using LaTeX and the resulting PDF was then converted to SVG.
    Date
    Source Self-drawn
    Author ElectroKid (talk • contribs)
    SVG development
    InfoField
     The SVG code is valid.
     This vector image was created with LaTeX by Rubber Duck (☮ • ✍).
    Source code
    InfoField

    SVG code

    \documentclass[10pt,border=1pt,tikz,class=scrartcl]{standalone}
    \usepackage[T1]{fontenc}
    \usepackage[latin1]{inputenc}
    \usepackage{lmodern}
    \usepackage{mathtools}
    \usepackage{bytefield}
    \usetikzlibrary{calc}
    \pagestyle{empty}
    \begin{document}
    	\scriptsize
    \begin{tikzpicture}
    	\xdef\r{1.2}
    	\xdef\p {}
    	\foreach \a in {0,120,240}
    		\xdef\p {\p ({\r * sin(\a)}, {\r * cos(\a)}) -- };
    	\foreach \a in {0,60,...,300}
    		\coordinate (p\a) at ({\r * sin(\a)}, {\r * cos(\a)});
    	\draw [thick] \p cycle;
    	\draw[rotate=60,thick] \p cycle;
    	\node {$n\choose k$};
    	\node [anchor=south] at (p0) {$n\choose k+1$};
    	\node [anchor=west] at (p60) {$n+1\choose k+1$};
    	\node [anchor=west] at (p120) {$n+1\choose k$};
    	\node [anchor=north] at (p180) {$n\choose k-1$};
    	\node [anchor=east] at (p240) {$n-1\choose k-1$};
    	\node [anchor=east] at (p300) {$n-1\choose k$};
    \end{tikzpicture}
    \end{document}
    

    Licensing

    This work 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

    Add a one-line explanation of what this file represents

    Items portrayed in this file

    depicts

    22 January 2012

    8,961 byte

    image/svg+xml

    97dfd3d68ab3078b8456489cfee2af76bdd2b721

    File history

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

    Date/TimeThumbnailDimensionsUserComment
    current08:48, 11 April 2015Thumbnail for version as of 08:48, 11 April 2015143 × 126 (9 KB)wikimediacommons>Krishnavedalabetter conversion to SVG

    There are no pages that use this file.