Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [anchor]

The tag has no usage guidance.

6
votes
2answers
216 views

CircuiTikZ: Start ground relative to the closest component

Here is a short compilable example \documentclass{article} \usepackage{tikz} \usepackage{circuitikz} \begin{document} \begin{circuitikz} \draw node[ground]{} to [short,*-] (0,0) to [C] (...
1
vote
1answer
40 views

How to change footnote anchors

I'm trying to write some code that lets me use footnotes inside stackrel multiple times in a single equation, and so far this is what I've come up with \documentclass{article} \usepackage{hyperref} \...
3
votes
2answers
53 views

tikz-cd nested tikzpicture wrong center anchor

I want to place a tikzpicture in a node/cell of a tikz-cd diagram and then paint some more stuff in the inner tikzpicture. However, it seems that the nesting messes up the center anchor. Concretely: ...
2
votes
1answer
59 views

Greater control of progress label positioning in pgfgantt

The following mwe is a bit of misuse of the pgfgantt package. It is supposed to show the relative effort of various subtasks making up a greater task and the state of completion of each subtask, etc. ...
1
vote
0answers
43 views

Anchored path compiling indefinitely

I want to make rounded corners on one side only like this: \tikz{ \fill[red] (0,0) +(8pt,8pt) arc (0:-90:8pt) -- (0,1) arc (90:0:8pt) } The points (0,0) and (0,1) in the above are placeholders. I ...
2
votes
1answer
60 views

TikZ: flipping shape without moving anchors

When drawing game trees in TikZ, I use upwards-pointing triangle to denote the maximizing player 1 and downwards-pointing triangle for the minimizing player 2. However, my current solution doesnt make ...
4
votes
2answers
107 views

Forest: How do I automatically align tiers and have parent anchor=south

I am trying to make basic linguistic trees in Forest that do two things: 1) have the bottom leaves aligned on a single tier, and 2) have parent anchor=south. (Actually I have a third requirement as ...
1
vote
1answer
42 views

Is it possible to jump to the image with href while not using captions?

I am using various figures throughout my documents without captions. In order to reference them I use the command \refstepcounter{figure} before labelling them with \label{fig:label}. However, when I ...
5
votes
3answers
174 views

Define coordinate with anchor point

I have macros that use anchor points in pgfplots to access certain coordinate. For instance, in a graph I can invoke a macro such as: \newcommand*{\DoSomethingWithXAxis}{% \draw [ultra thick, blue]...
1
vote
1answer
261 views

Draw comparator and invert it

I have drawn an error amplifier but I wanted to invert the terminals. And how to draw a comparator in circuitikz. There's a screenshot attached. \begin{figure}[h] \begin{center} \...
2
votes
2answers
76 views

Efficient way of performing geometrical operations

I have to draw a series of regular (equiangular, actually) polygons, each of which is constructed by trisecting the sides of the previous polygon and subsequently cutting off its corners. Right now I'...
3
votes
3answers
127 views

Define east/west anchors for a matrix with one column

I have the following code: \documentclass{article} \usepackage{amsmath} \usepackage[margin=0.5in]{geometry} \usepackage{rotating} \usepackage{tikz} \usetikzlibrary{calc} \usetikzlibrary{matrix} \...
3
votes
1answer
339 views

How to anchor a transistor along a direction with circuitikz

I'm drawing a simple nmos differential pair with a bias transistor and I want to connect the drain of the bias transistor to the midpoint of the sources of the differential pairs. \documentclass[...
2
votes
1answer
111 views

Positioning nodes problem with default anchor

Here is a MWE of my problem: \documentclass[tikz]{standalone} \usetikzlibrary{positioning} \usetikzlibrary{quotes} \RequirePackage{luatex85} \begin{document} \def\a{1cm} \begin{tikzpicture}[ large ...