Skip to main content

All Questions

Tagged with
5 votes
1 answer
206 views

Grouping enumerated list with different width?

I found this nice answer regarding grouping of enumerated list. But it does not work for lists with different width. For instance \documentclass{article} \usepackage{tikz} \usetikzlibrary{...
Maryà's user avatar
  • 4,870
2 votes
1 answer
1k views

With Tikz, how can you center a scope that varies in size below or next to a node?

I'm looking for a way to center the scope local bounding box=Node4-0 below Node3-0. Also I'd like to put a fixed distance between the scopes surrounded by a red outlined box, like what happens with ...
David M.'s user avatar
5 votes
1 answer
223 views

How to generate a xy diagram with multiple grouped data sets?

Based on the answer of Stefan Pinnow in 'How to group several charts into one chart?', I tried to generate a diagram with multiple grouped data. Therefore, I modified the diagram but I have some ...
TomTom's user avatar
  • 141
9 votes
2 answers
550 views

Detecting if inside a tikzpicture

I would like to define the \DrawLine macro below so that it can be invoked from within a {tikzpicture} environment or from outside: \newcommand*{\DrawLine}[1]{% \IfInTikzPic{}{\tikzpicture[remember ...
Peter Grill's user avatar
1 vote
3 answers
1k views

positions groups of nodes to each other in tikz

I would like to position nodes in groups a and b in the following way: Group b of tikz nodes is positioned in some symmetric way relative to group a. The following script creates nodes corresponding ...
Viesturs's user avatar
  • 8,095
1 vote
0 answers
364 views

Ending a tikzpicture environment in conditional causes "Missing } inserted"

I want to create a number of tikzpictures. I have a number of items I want to draw. Each tikzpicture takes up a whole page and may contain up to 4 items. (It is not good enough to to have each item in ...
Hammerite's user avatar
  • 3,626
4 votes
1 answer
286 views

How to group 2 by 2 style this plot?

I have the following plot that say something about performance: \documentclass{article} \usepackage{pgfplots} \pgfplotsset{compat=1.12} \begin{document} \begin{tikzpicture} \begin{axis}[legend style={...
tumbleweed's user avatar
3 votes
1 answer
251 views

\AfterGroup sorcery and choking tex/pgf

In the following code, the line \AfterGroup* (from theetextools package) causes the pdfLatex compiler to 'choke', i.e it produces only this output and the process is stuck forever, consuming 13% of ...
arul's user avatar
  • 161
7 votes
2 answers
594 views

Coordinate system along line

I would like to draw a coordinate system along some lines in a framework for a structural course. This little coordinate system is called local coordinate system. At the moment the framework looks ...
ArtWooD's user avatar
  • 313
10 votes
1 answer
9k views

Grouping nodes in tikz

For the MWE below: \documentclass[a4paper,11pt,twoside]{report} \usepackage[left=2.5cm,right=2cm,top=2cm,bottom=2cm]{geometry} \usepackage[T1]{fontenc} \usepackage{amsmath, graphicx, tikz, enumerate, ...
Cemre's user avatar
  • 1,205
4 votes
2 answers
2k views

How to make a recursive macro in (La)TeX?

The following MWE is the code of my attempt translating my working algorithm in C# to (La)TeX. I don't understand why it does not work. Can you probe the source of problem? Remarks: #1 is a list of ...
kiss my armpit's user avatar
8 votes
3 answers
1k views

Using execute at begin node with \phantom and \pgfuseimage in TikZ?

Problem I would like to create several nodes whose text is a placeholder for an image, i.e., \phantom{\pgfuseimage{mypicture}}. This is easily done as, for example: \matrix { \node {\phantom{\...
Henry DeYoung's user avatar
12 votes
1 answer
842 views

What is the scope of elements of TikZ pictures?

I understand that named elements of a tikzpicture cannot be referenced before they are defined; but I'm confused about how "long" a named element persists. It appears that once named, an element ...
orome's user avatar
  • 10.5k
10 votes
1 answer
7k views

How to globally tikzset styles

I would like to set a tikzstyle from within a tabular environment, and use it after the table. Adding the usual \global seems to have no effect. The MWE below produces: but I want the last line to ...
Peter Grill's user avatar
12 votes
3 answers
2k views

Drawing a proper shadow for overlapping objects

I draw images that are composed of several overlapping nodes. If I add a drop shadow to each node, the shadow of the second node is drawn over the first node, as seen in the picture below (which ...
krlmlr's user avatar
  • 12.6k

15 30 50 per page