Tag Info

New answers tagged

5

You can use the fit library to construct a shape fitting the desired group of nodes; in the case of ellipses you'll need the shapes library. Since the root node of the three was called n, you can access the children using n-<string>; for exmaple, n-1-1 corresponds to D2, and n-2 is U1. The code for the exmaple: \documentclass[doc,apacite]{apa} ...


2

Pass the align=center option to the nodes. I also changed to a matrix of math nodes to have the proper math-mode for the math expressions (regular text was produced with the help of \text from amsmath) and increased the text width: \documentclass[a4paper,fontsize=12pt,a4paper,DIV=10,BCOR=10mm,twoside,titlepage=false,openany,pagesize]{scrbook} ...


5

Is this OK? \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{shadings} \begin{document} \begin{tikzpicture} \begin{scope}[xscale=2] \clip (-2,0) rectangle (2,2); \shade[shading=color wheel] [even odd rule] (0,0) circle (2) (0,0) circle (1); \end{scope} \end{tikzpicture} \end{document} Remove the \clip ...


13

This can give you a starting point: \documentclass[border=4pt]{standalone} \usepackage[utf8]{inputenc} \usepackage{array} \usepackage{tikz} \usetikzlibrary{ shapes.multipart, matrix, positioning, shapes.callouts, shapes.arrows, calc} \definecolor{myyellow}{RGB}{245,177,0} \definecolor{mysalmon}{RGB}{255,145,73} \begin{document} { \sffamily ...


5

% arara: pdflatex \documentclass{article} \usepackage[framemethod=tikz]{mdframed} \usetikzlibrary{shadows} \mdtheorem[roundcorner=5pt,backgroundcolor=gray!10, shadow=true,frametitlerule=true, middlelinewidth=1pt,frametitlerulewidth=1pt, innertopmargin=\topskip, apptotikzsetting={\tikzset{mdfbackground/.append style={left color=gray!10!white,right ...


3

The \\ is the reason for the error, if you remove it, your code succeed: \documentclass{minimal} \usepackage{tikz} \usetikzlibrary{shapes} \newenvironment{UMLDiagramm}{% \newcommand{\Class}[3]{\node[class](##1){\underline{##2}\nodepart{second}{##3}};}% \begin{tikzpicture}[% class/.style={draw, rectangle split, rectangle split parts=2, ...



Top 50 recent answers are included