Reputation
65,023
Next tag badge:
107/100 score
18/20 answers
Badges
3 120 231
Newest
 Nice Answer
Impact
~1.1m people reached

Jun
19
comment Using dynamic bounds in a tikz \foreach
\numexpr only works with integers! \foreach does not evaluate the contents when looping, so it sees in {-2.25, (-2.25 + 0.5), ..., 2.25} where it cannot match the ... correctly (until right after, \foreach sees only text). You will need to evaluate \firststep before it enters \foreach. \pgfmathsetmacro\firststep{…} would be the PGF-way to do this. — Related: Q36713, Q110962, Q142188, Q244753.
Jun
19
comment Why isn't my TikZ line straight?
Why should they overlap? AB has a slope of 4/5, CB of 5/6, and AC of 1/1. The three points do not lie on one straight line, don't they?
Jun
17
awarded  Nice Answer
Jun
16
comment Write diagrams without a separate style file
TikZ is a "seperate style file"? What isn't a seperate style file? — Anyway, you can externalize (read: produce PDF files) from your TikZ pictures which can then be inserted as any PDF file in your document (chapter 50 "Externalization Library" in the PGFmanual). There is even a way so that you do not need to change your document that much by using only tikzexternal.sty (technically a "style file"), see section 50.5 "Using External Graphics Without PGF Installed". Related: tikz-external
Jun
16
answered How to center horizontally tikzpicture in beamer frame using a specific node?
Jun
15
comment Drawing a ray that bisects an angle
@user74973 For let, take a look at section 14.15 "The Let Operation"‌​. \p1=($(S)-(C)$) calculates the vector from C to S and saves it so that you can acess it again with \p1 (which will expand to \x1,\y1). The \x and \y macros holds the coordinates of the \p point in pt which I use later to calculate the angles. So atan2(\y1,\x1) calculates the angle from the vector from C to S. \n can be used in the let … in part to calculate something. See section 13.5 "Coordinate Calculations" in the manual.
Jun
15
comment Placing two nodes next to each other
Well, just the same: |[fill=yellow]| at the start of a cell? You can also do stuff like row 1 column 5/.style={nodes={fill=yellow}} or something like that.
Jun
15
comment Placing two nodes next to each other
{ 80 & \cdots & 166 & |[draw=none]| \quad & 195 & \cdots & 230 \\ }? For the edges I’d use \path[bend right=80] and then two foreach loops.
Jun
15
answered Drawing a ray that bisects an angle
Jun
14
comment Alignment like in align environment
Take a look at the mathtools package with its macro \MoveEqLeft and the multilined environment.
Jun
14
comment Cabin font doesn't render properly apostrophe
If I check L’apost L'apost on fontsquirrel.com, I'll get the same output for and a little more space for '. This seems to be a problem related to the font itself.
Jun
14
revised Compute and draw a convex hull
added coordinates key, added plot
Jun
14
revised tikz: Can we set the corner coordinates of a rectangle?
updated code slightly
Jun
14
comment Placing a rectangular node in tikz by specifying two opposing corners
What should happen, if you apply a rotation to the scope, say \begin{tikzpicture}[rotate=30]. Should this transformation also apply to the rectangular node?
Jun
14
comment Placing a rectangular node in tikz by specifying two opposing corners
Related: Q87989
Jun
14
comment Draw the Ubuntu Logo with Tikz
Which Ubuntu logo?
Jun
14
revised Compute and draw a convex hull
update code, corrected code, key-value list instead of arguments
Jun
14
answered Compute and draw a convex hull
Jun
14
revised How to plot the graph so that it doesn't touch the y-axis?
edited tags
Jun
13
revised Getting the graph of a square root function using TikZ
edited tags