11
votes
Accepted
How to draw the right angle symbol (square) with a dot in the center?
You can define your own \dotMarkRightAngle as below. Four parameters need to be entered; size of the angle (square side) and three coordinates in parentheses (#2,#3,#4) taken clock-wise.
\...
10
votes
Accepted
Dimension too large error (apparently no calculation involved)
You can add \tracingmacros=1 to your code before the \draw command.
Then you can look in the log-file and it is rather easy to see a few lines before the error (around line 84000) that pgf is just ...
10
votes
Accepted
How can I draw angled lines in LaTeX to create ruled template for calligraphy?
You can use polar coordinates such as (55:100cm). In the code below, I compute the precise number of oblique lines to draw in function of the chosen angle \myAngle and the distance \myDist between two ...
8
votes
How can I draw angled lines in LaTeX to create ruled template for calligraphy?
This does not answer you specfic question, but can be adapted for you use with many other options built in. I have tried to set the defaults to your requirements (left in the vertical lines, but you ...
7
votes
Accepted
Various questions on the pic command from the Tikz angles library
It seems to me that you must use coordinate names. My guess is that the internals use \pgfpointanchor or some such, which requires a named node. It's probably good form to name your coordinates anyway!...
7
votes
Accepted
how to draw a phasor diagram (like this picture)
The easiest way to learn about arc construction is to use the verbose mode at first. So the command
\draw [red, thick] (1.0,0) arc [start angle=0, end angle=30, radius=1cm]
node [midway, right] {$...
7
votes
Dimension too large error (apparently no calculation involved)
your angle radius is to small. enlarge it to 4mm. also observe small differences between yours and mine code:
\documentclass[a4paper,12pt]{article}
\usepackage{tikz}
\usetikzlibrary{angles,...
7
votes
Accepted
Draw angle between two line
with use of the angles and quotes library and made a little bit different looks of diagram:
\documentclass[tikz, margin=3mm]{standalone}
\usetikzlibrary{angles, quotes}
\usepackage{amssymb}
\begin{...
7
votes
Accepted
How to add a white background to an angle label in Tikz?
Use "$\alpha$"{fill=white} instead of "$\alpha$" in \pic
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{calc,patterns,angles,quotes,arrows}
...
7
votes
Accepted
Drawing complex geometry
Here's a solution, using tkz-euclide, since you have several intersections and angles to take in account. This is fairly achievable with plain TikZ but here you can see the construction step by step ...
6
votes
\pic without named coordinates
angle expects names, not coordinates. The name argument is directly parsed to
\pgfpointanchor, from tikzlibraryangles.code.tex:
\def\tikz@lib@angle@parse#1--#2--#3\pgf@stop{%
% ...
\pgf@process{\...
6
votes
How can I draw angled lines in LaTeX to create ruled template for calligraphy?
Another solution without calc.
\documentclass[a4paper]{article} %do not include "draft" in order to render pictures
\usepackage{tikz}
%\usetikzlibrary{calc}
\usepackage{verbatim}
\begin{document}
\...
6
votes
How can I draw angled lines in LaTeX to create ruled template for calligraphy?
Here is an effort with Metapost wrapped up in luamplib. You can compile this with lualatex.
\documentclass[border=5mm]{standalone}
\usepackage{luamplib}
\begin{document}
\begin{mplibcode}
beginfig(1)...
5
votes
Accepted
Drawing an angle via \pic doesn't work
You need to use named coordinates I think:
\documentclass[12pt, a4paper]{standalone}
\usepackage{tikz}
\usetikzlibrary{angles}
\begin{document}
\begin{tikzpicture}
\coordinate (O) at (0,0);
\...
5
votes
Accepted
How to get \lewis or \Lewis (in chemfig) to have custom angles and not just 0-7?
Chemfig documentation has an example, in French, about making a customized lewis macro accepting an arbitrary angle in degrees. I am reproducing it irresponsibly translated to English. (I am a native ...
5
votes
Accepted
How can I put the angle more right than I put here? And how can I make a subtitle also?
The initial point of the angle needs to be located along the line, so using polar coordinates (20:0.7) is the easiest way to specify that:
To add a caption you can use the caption package. ...
5
votes
Draw angle between two line
Maybe that?
\documentclass{scrbook}
%\input{configuration}
\usepackage[utf8]{inputenc}
\usepackage{amsfonts, amsthm, amsmath, braket}
\usepackage{tikz}
\usetikzlibrary{angles, quotes,calc,...
5
votes
Accepted
Problem when including a foreach loop
The problem comes from the syntax of let which requires assignments and finds a foreach instead.
To get around the problem, I placed the let inside the foreach loop. And to avoid drawing and coloring ...
5
votes
Accepted
Add whitespace around angle labels in tikz
pic text options allows you to specify pic specific options with which, here I filled the background in white pic text options={fill=white,text=red}
I took the liberty of coloring the angles with ...
5
votes
Drawing complex geometry
Here is a version in Metapost, wrapped up in luamplib. Compile with lualatex.
\documentclass[border=5mm]{standalone}
\usepackage{luamplib}
\begin{document}
\mplibtextextlabel{enable}
\begin{...
4
votes
Accepted
Tikzpicture: Add slope angles to straight line
Try
\documentclass[15pt,a4paper,headinclude, totoc]{scrartcl}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{compat=1.12}
\...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
tikz-angles × 63tikz-pgf × 44
diagrams × 10
angle × 10
tikz-trees × 4
coordinates × 4
tikz-pic × 4
tikz-arrows × 3
tikz-styles × 3
overleaf × 3
labels × 2
3d × 2
chemfig × 2
tikz-node × 2
tkz-euclide × 2
circles × 2
arc × 2
pgfplots × 1
color × 1
positioning × 1
nodes × 1
line-spacing × 1
foreach × 1
pgfkeys × 1
axis × 1