Lars Madsen | 30 Jul 2012 13:45
Picon
Picon

[dk-tug] Hvorfor er dette tikz billede ikke symmetrisk?

\documentclass[a4paper]{memoir}
\usepackage{tikz}
\begin{document}

  \begin{tikzpicture}
     \coordinate (a) at (-2.5,2.2);
     \coordinate (b) at (2.5,2.2);
     \coordinate (c) at (0,1.6);
     \draw[thick,color=red]
     (a) to [out=-45,in=0]
     (c) to [out=0,in=225] (b);
     \draw (0,1) -- (0,2.5);
   \end{tikzpicture}

\end{document}

pdf vedhæftet

Jeg ville da mene at den burde give sammen hældning i begge ender.

--

-- 

/Lars Madsen
DK-TUG formand, tug.dk
Attachment (imf.pdf): application/pdf, 8 KiB
\documentclass[a4paper]{memoir}
\usepackage{tikz}
\begin{document}
(Continue reading)

Lars Madsen | 30 Jul 2012 14:09
Picon
Picon

Re: [dk-tug] Hvorfor er dette tikz billede ikke symmetrisk?

Lars Madsen wrote, On 2012-07-30 13:45:
> \documentclass[a4paper]{memoir}
> \usepackage{tikz}
> \begin{document}
> 
>  \begin{tikzpicture}
>     \coordinate (a) at (-2.5,2.2);
>     \coordinate (b) at (2.5,2.2);
>     \coordinate (c) at (0,1.6);
>     \draw[thick,color=red]
>     (a) to [out=-45,in=0]
>     (c) to [out=0,in=225] (b);
>     \draw (0,1) -- (0,2.5);
>   \end{tikzpicture}
> 
> \end{document}
> 
> pdf vedhæftet
> 
> Jeg ville da mene at den burde give sammen hældning i begge ender.
> 

ahh, klaphat, første in= skal være in=180, retningerne er lidt 
anderledes fortolket end i metapost

--

-- 

/Lars Madsen
DK-TUG formand, tug.dk
(Continue reading)


Gmane