File: tet_face.tex

package info (click to toggle)
trilinos 12.18.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 825,604 kB
  • sloc: cpp: 3,352,065; ansic: 432,926; fortran: 169,495; xml: 61,903; python: 40,836; sh: 32,697; makefile: 26,612; javascript: 8,535; perl: 7,136; f90: 6,372; csh: 4,183; objc: 2,620; lex: 1,469; lisp: 810; yacc: 497; awk: 364; ml: 281; php: 145
file content (50 lines) | stat: -rw-r--r-- 2,287 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
\documentclass[11pt]{article}
\usepackage{geometry}                % See geometry.pdf to learn the layout options. There are lots.
\geometry{letterpaper}                   % ... or a4paper or a5paper or ... 
%\geometry{landscape}                % Activate for for rotated page geometry
%\usepackage[parfill]{parskip}    % Activate to begin paragraphs with an empty line rather than an indent
\usepackage{graphicx}
\usepackage{amssymb,amsmath}
\usepackage{epstopdf}
\usepackage{pgf}
\usepackage{pgfpages}
\usepackage{tikz}
\usetikzlibrary{arrows,backgrounds}
\usepgflibrary{shapes}
\DeclareGraphicsRule{.tif}{png}{.png}{`convert #1 `dirname #1`/`basename #1 .tif`.png}
\pagestyle{empty}


\begin{document}

 \begin{center}
  \begin{tikzpicture}[join=round] % Tetrahedron faces
       \filldraw[fill=blue!10,fill opacity=0.4](0,2.6)--(-2.205,.272)--(1.748,.561)--(0,2.6)--cycle;
       \filldraw[fill=black!20](1.748,.561)--(-2.205,.272)--(.456,-.833)--cycle;
       \filldraw[fill=blue!10,fill opacity=0.9](0,2.6)--(1.748,.561)--(.456,-.833)--(0,2.6)--cycle;
       \filldraw[fill=blue!10,fill opacity=0.9](0,2.6)--(.456,-.833)--(-2.205,.272)--(0,2.6)--cycle;
        \filldraw(1.748,.561) circle (2pt);
        \filldraw(-2.205,.272) circle (2pt);
        \filldraw(0,2.6) circle (2pt);
        \filldraw(.456,-.833) circle (2pt);
       \fill[black]
                (-.583,.68) node [yslant=-.5,xslant=.2] {0}
                (.735,.776) node [yslant=.7,xslant=-.2] {1};
   \end{tikzpicture}
  \hspace{1cm}
  \begin{tikzpicture}[join=round] % Tetrahedron faces
       \filldraw[fill=blue!10,fill opacity=0.4](0,2.6)--(-2.205,.272)--(1.748,.561)--(0,2.6)--cycle;
       \filldraw[fill=black!20](1.748,.561)--(-2.205,.272)--(.456,-.833)--cycle;
       \filldraw[fill=blue!10,fill opacity=0.4](0,2.6)--(1.748,.561)--(.456,-.833)--(0,2.6)--cycle;
       \filldraw[fill=blue!10,fill opacity=0.4](0,2.6)--(.456,-.833)--(-2.205,.272)--(0,2.6)--cycle;
        \filldraw(1.748,.561) circle (2pt);
        \filldraw(-2.205,.272) circle (2pt);
        \filldraw(0,2.6) circle (2pt);
        \filldraw(.456,-.833) circle (2pt);
       \fill[black]
                (-.152,1.144) node [] {2}
                (0,0) node [xslant=.5,yslant=0.0] {3};
   \end{tikzpicture}
 \end{center}

\end{document}