Search found 5 matches

by fenn
Wed Jan 20, 2010 3:31 pm
Forum: Graphics, Figures & Tables
Topic: TikZ determine coordinate of a node
Replies: 3
Views: 4385

Re: TikZ determine coordinate of a node

Fair enough. I've updated my post with a properly working example.
by fenn
Tue Jan 19, 2010 10:33 pm
Forum: Graphics, Figures & Tables
Topic: TikZ- extracting coordinate components
Replies: 1
Views: 8061

TikZ- extracting coordinate components

This is a question regarding TikZ and PGF. I'm trying to extract the x-, y-, and z-components of a coordinate into a macro so that the values can be manipulated using \pgfmathparse commands. As an example:


\begin{tikzpicture}
\coordinate (A) at (2.34, 3.21);
\pgfmathsetmacro{\Ax}{ "x-component ...
by fenn
Tue Jan 19, 2010 10:19 pm
Forum: Graphics, Figures & Tables
Topic: TikZ determine coordinate of a node
Replies: 3
Views: 4385

TikZ determine coordinate of a node

This may not be helpful to you, but if you are looking to define a shape that encompasses all nodes, you can use the fit parameter when defining a node.


\documentclass{article}

\usepackage{tikz}
\usetikzlibrary{fit}

\begin{document}

\begin{tikzpicture}

\node (polarizer) at (0,1) [draw ...
by fenn
Sun Jul 05, 2009 10:15 pm
Forum: General
Topic: Stop LaTeX compile with a command?
Replies: 3
Views: 5388

Stop LaTeX compile with a command?

Actually, I found exactly what I'm looking for:

Code: Select all

\errmessage{This is an error message!}
Thanks though.
by fenn
Sun Jul 05, 2009 9:33 pm
Forum: General
Topic: Stop LaTeX compile with a command?
Replies: 3
Views: 5388

Stop LaTeX compile with a command?

This is my first post, and forgive me if I'm asking something that's already been answered.

Is there a way to stop the compile process through the use of a command? Something like:


\exception{This is a user-set exception. Compile halted.}


So when performing the compile process, the specified ...