Questions tagged [grids]

{grids} is about the arrangement of elements next to each other and/or among each other according to multiples of a specified uniform distance. Grids can either be visible and drawn via packages like `tikz-pgf` or used as an invisible design aid to facilitate the positioning of elements.

Filter by
Sorted by
Tagged with
0 votes
0 answers
25 views

draw latitudes and longitudes on a map with a Winkel projection

How to overlay representations of longitudes and latitudes on this map Thanks in advance
Dhénin Jean-Jacques's user avatar
1 vote
1 answer
61 views

How to overlay a tikz grid with text?

As a teacher I would like to create some work sheets with gridded space after the question for the students to type their solutions in. I used tikz in order to make a 4mm x 4mm grid and this works ...
Fischer's user avatar
  • 33
2 votes
2 answers
88 views

How can I create grid paper, where horizontal rules are thicker than vertical ones?

I'd like to create a weighted grid paper template. I'd like it to basically look like a sheet of lined paper, but with faint, equally spaced, vertical lines through it. I looked into the gridpapers ...
user41177's user avatar
  • 167
0 votes
0 answers
38 views

How do i add a milimetric grid behind my graph

So all i want is a milimetric grid that covers the graph and the axis. I haven't tried anything and don't know where to start from but here is the code for the graph itslef \begin{center} \begin{...
Abdullah husham's user avatar
0 votes
0 answers
47 views

How do I lay out a scoring sheet in LaTeX?

Think of a Yahtzee scoring sheet: slots for names along the top, scoring opportunities along the edge. Fit to the size of the page. Google is yet again being unhelpful, thinking I want to make musical ...
Electric Coffee's user avatar
0 votes
0 answers
57 views

Grid pattern at an angle

I want to produce a rectangle patterned with an angled grid. What is the easiest way to enforce a 45-degree angle rotation? The following fails: \documentclass{tufte-handout} %\geometry{showframe}% ...
bozidarka's user avatar
  • 950
0 votes
1 answer
198 views

Grid vs Tables to create a catalog like layout

I am trying to figuring out how to setup in ConTeXt a fluid grid to have all the elements of a catalog in a clear and recognizable pattern. The more I read about grid and the more I am convinced that ...
freezr's user avatar
  • 91
-1 votes
1 answer
90 views

How to draw a rook graph?

I'm trying to draw a $4\times 4$ rook graph. That is, the graph whose vertices form a $4\times 4$ grid whose edges indicate the allowed movement of the rook on a chess board. I'm struggling to draw ...
Emil Sinclair's user avatar
2 votes
1 answer
166 views

Grid based layout for a title page

I'm trying to design a title page for an interview. I'd like to feature on the page the title, the interviewee, an introduction text… all on a column based layout. I tried several things: ...
Alex's user avatar
  • 55
1 vote
1 answer
30 views

Grid of table ist not as it should be in tabular environment...how to get rid of white space within lines?

I'd like to ask a question concerning tables in LATEX. I produced a table with LATEX, but the grid is not "closed"...see for example the corner on the top right and also some other lines in ...
Bernhard Boehmler's user avatar
4 votes
1 answer
191 views

How to make tikz help lines have the (0,0) start exactly at lower left corner of the body of the page?

Is there a way to automatically make help lines that spans the whole body of the page where (0,0) at south west corner of the page? Here is a MWE. I did this by trial and error and found that (0,0) ...
Nasser's user avatar
  • 20.1k
0 votes
2 answers
197 views

Labelling the points in the grid

I am trying to construct a grid using tikzpicture, but with labels at (0,0), (0,1), (0,2) etc, something like this \begin{tikzpicture}[scale=1] \draw[step=1cm,lightgray,very thin] (0,0) grid (5,5); \...
UnknownW's user avatar
  • 389
0 votes
0 answers
50 views

\psframe works but \rput doesn’t in pspicture

This is my MWE : \documentclass[pstricks,border=12pt]{standalone} \begin{document} \begin{pspicture}[showgrid=top](5,5) \psframe[linecolor=red,linewidth=2pt,dimen=inner,framearc=0.5](3,1)(4,2) \...
fauve's user avatar
  • 2,437
1 vote
1 answer
67 views

How to adjust automatic number of columns with tikzpicture

I'm making a list of problems and at the end of the statement of each question I'm making vertical and horizontal lines using tikzpicture. I'm setting the number of rows and columns manually. The ...
Ulisses 's user avatar
4 votes
1 answer
256 views

An Elliptical Cropping of an Image

Consider the code \documentclass{book} \usepackage{graphicx} \usepackage[abs]{overpic} \begin{document}% \thispagestyle{empty} \begin{center} \begin{overpic}[scale=0.4,unit=2mm,grid,tics=2]{example-...
mlchristians's user avatar
  • 7,724
0 votes
0 answers
116 views

How to customize in Exam class the grid from solid lines to dotted lines

Problem: Gray grids disappear or look uneven when copied or printed with our laser printers. Black grids are (re)produced well but look too bold even when the lines are thin. Question: Is there a ...
floppybox's user avatar
0 votes
1 answer
103 views

How to remove extra blank horizontal grid line in ganttchart?

I am having some problem with an extra blank horizontal grid line that appears in the gantt chart. This is the code: \documentclass[a4paper, 11pt]{article} \usepackage{pgfgantt} \usepackage{graphicx}...
user92's user avatar
  • 3
0 votes
3 answers
72 views

How to use the package logpap?

Please help (or provide) me a real example for the package logpap. I have searched the web and found no real latex example or no real manual either for this package. I have guessed something like this ...
Lindomar Carvalho's user avatar
1 vote
1 answer
157 views

Annotate Image based on pixel position

I have an image that I am calling inside a table via TikZ. The position I am trying to mark in this image is stored in my DB via a web application which is capturing the co-ordinates in (x,y) based on ...
Siddharth Sinha's user avatar
3 votes
2 answers
302 views

Generating a specific graphic with TikZ

I am wondering how to generate a specific image with TikZ. This image is essentially a lattice grid without the grid, with a triangle, rectangle, and other shapes overlayed in a particular way. I ...
Tricryo's user avatar
  • 31
1 vote
1 answer
310 views

How to draw arrows on a grid?

I am a little new to LaTeX and I am trying to draw this grid with arrows using TikZ. Currently I am only able to draw the grid using : \begin{tikzpicture} \draw[step=1cm, black] (-1.9,-1.9) grid (5.9,...
Charbel Abetian's user avatar
3 votes
1 answer
280 views

Transition map on manifold

I am trying to make this tikzpicture using the answer from Drawing manifolds in tikz but I can not make the intersection of U and V gray. If I make U and V white then the intersection would be white ...
endeavor's user avatar
  • 133
3 votes
0 answers
150 views

Grid layout offset adjustment and non-uniform columns in LMTX

I'm trying to emulate the style of Jean-Luc Doumont's presentation. Here is his slide, with a grid overlay (please open in a new window of image viewer as the gridlines are hard to see on tex....
blaze's user avatar
  • 529
1 vote
2 answers
95 views

Rotate a grid inside a circle

I have the following code, \begin{document} \begin{tikzpicture} \draw[thin,<->] (-4.5,0) -- (4.5,0); \draw[thin,<->] (0,-4.4) -- (0,4.5); \clip[draw] circle (4cm); \draw[step=0.3cm,red,...
Mrcrg's user avatar
  • 301
4 votes
2 answers
110 views

How do I design a centered grid that consists of a 1x2 grid stacked on top of a 1x3 grid?

I know that I can use the TikZ package to create axb grids, but is there a way to create a more complicated grid like a 1x2 grid stacked on top of a 1x3 grid? For reference, I am interested in ...
MathIsCool's user avatar
0 votes
0 answers
108 views

Drawing grids with predefined outlines

I use the following code from the answers to this post and this post to fill rectangular grids with predefined shapes. Is it possible to fill grids with predefined outlines, other than the default ...
Hany's user avatar
  • 4,637
1 vote
1 answer
338 views

coordinates on the x axis of tikz plot are incorrectly displayed

I am trying to draw a function as well as a shaded grid on the same axes. Although I use a step size of 1cm in the grid between -3 and 0, the xticks, as well as the shaded region look misplaced. how ...
Dan Leonte's user avatar
4 votes
1 answer
319 views

Inserting a dice-simulation code in different locations

I use the following code from the answers to this post, and this post to insert dice-simulation code in different locations. How can I put the dice code in a style to be inserted in different ...
Hany's user avatar
  • 4,637
0 votes
2 answers
99 views

Invisible edge and boundary: How can I generate full A4 perfect grids and "full vertical" lines?

Introduction I want to generate a perfect and full controllable grid of dots or simple grids. But LaTeX isn't allowing a whole grid, it seems there exists an "invisible boundary" at the top ...
M.N.Raia's user avatar
  • 121
0 votes
1 answer
109 views

Simplifying Filling grids

To draw a filled grid, I used the first code (from this post). I managed to reduce the code a little bit by using the second code, utilizing \foreach. Is it possible to simplify it further by filling ...
Hany's user avatar
  • 4,637
1 vote
1 answer
467 views

Forcing different size svg images into symmetric grid

I have a grid of 4 svg images that I am trying to force into a grid. My problem is that when I put them into LaTex the grid alignment is slightly off. I have tried: moving the \hfill to different ...
user4933's user avatar
  • 182
2 votes
1 answer
136 views

Drawing a grid filled with pre-defined shapes

To draw the progress of a game of Coloraddo, I used the following code from the answer to this post. I noticed that, in the bottom grid drawing, the last 9 uppermost right squares do not display the ...
Hany's user avatar
  • 4,637
2 votes
1 answer
255 views

Arrange TiKZ pictures in a grid, touching each other

I am working on a board game and want to cut out a prototype of my cards. I set up the cards as a TiKZ picure template and then I put them all in a longtable to have a grid of cards, which I'd print ...
indjev99's user avatar
4 votes
1 answer
280 views

TikZ grid - filling a cell by directly accsessing it

I discovered TikZ the day before yesterday and now I try to create a grid with 10 columns and 10 rows. It would be convenient to fill the grid boxes with color in a constant and clear manner. I hope ...
17757970's user avatar
  • 312
6 votes
1 answer
350 views

Tikz - Randomly fill 3D grid with color shades

I'm trying to create a "3D" schema of a grid where every "pixel" is colored with a random shade of blue (or whatever other color). As a tikz beginner, I'm already glad that I ...
s6hebern's user avatar
  • 287
1 vote
1 answer
88 views

How do I get a grid to match up between front and back of the same page?

I've got this grid that I create using tikz (the actual code does more stuff, this is just an MWE). I'd like to print it two-sided such that, if you look at the sheet with a backlight, the lines would ...
Zubo's user avatar
  • 582
9 votes
3 answers
707 views

How can I put a grid/squared paper behind a single formula?

Sadly I didn't found any source showing this. I just need a grid behind some math. Usually I box equations using: \documentclass[preview]{standalone} \usepackage[most]{tcolorbox} \begin{document} \...
Leon's user avatar
  • 473
7 votes
4 answers
2k views

How to render a Futoshiki puzzle?

I'd like to have a Futoshiki puzzle in a document. It is a game similar to Sudoku, with the added information that there are signs between some adjacent cells that indicate which should contain a ...
Rad80's user avatar
  • 181
2 votes
1 answer
431 views

How can I draw 2 tikz rectangular grids side by side

Here is my MWE. I have the following setup. I want to put a rectangular grid beside X (same size as X) and another(same size as X) to the left of W. basically. I'm doing Q o X = Q o (W.H) (o is a ...
Farouk Yahaya's user avatar
-1 votes
2 answers
293 views

Calendar with days in columns; week number and habit tracker

Below you can see a page of my bullet journal. The layout is very efficient, but I have to draw the lines and fill in all calendar days by hand! Thus, for the next year, I would like to build a ...
Robert Winkler's user avatar
0 votes
1 answer
100 views

what latex package should i use to get these diagrams?

im trying to use latex to draw out diagrams from lambda phi 4 theory and they look a bit like this: what packages do I use to achieve drawings like this? and how exactly do i do it? I'm really new to ...
abi's user avatar
  • 1
1 vote
4 answers
194 views

How to draw the proof of Pythagoras (Zhaoshuang's Proof) in Latex

I need to draw that fig.(ref to the pic below). I have referred to some practices, but still to no result. I am stuck at the point how to draw a grid? Thx....
Zhilai Liu's user avatar
0 votes
2 answers
154 views

Tree of matrices and grids

I can make a grid and set queens on it with a matrix. But now I want to make them a node, because I want it to be part of tree. And now the grid and the matrix are separated. Here is my code : \...
PoustouFlan's user avatar
2 votes
1 answer
423 views

Drawing a chess queen in a Tikz grid

I'm quite new to LaTeX and I'm trying to replicate this using Tikz: I know there is some chess-related things I can include, but it diesn't seems to be adapted for something like this. \documentclass{...
PoustouFlan's user avatar
4 votes
1 answer
155 views

Use year as label for monthly data histogram

I have data in the format year,month and amount. I want to illustrate this data using a histogram. Since the data covers multiple years, printing the months just stacks everything. I try to use the ...
darkspirit510's user avatar
1 vote
1 answer
121 views

How to draw irregular inline grids/squares (related to rook polynomials)

I'm studying rook polynomials, and I want to draw some figures like the one below in LaTeX. I understand how to draw chessboards using tikz, but I can't think of a way to draw those "irregular&...
Jialing Zhou's user avatar
0 votes
1 answer
185 views

How do I plot a grid with tikz

But I need dashed boxes and blue color (better semi transparent):/ Too new to tikz, no Idea how to embed grid into labled axis..
anz caz's user avatar
2 votes
1 answer
162 views

A grid in a cartesian plane of clocks using clock package

In relation from these question (the first it is mine) A distribution of clocks in different rulers in a 3D plane and Draw a table of clocks on a plane, what are the best methods to put the clocks of ...
Sebastiano's user avatar
  • 52.6k
2 votes
1 answer
516 views

Specify gridlines style to `extra y tick labels`

I couldn't understand how to style additional grid lines added with extra y tick style. Perhaps I am missing something. Here it is explained how to draw grid lines only at specified positions, and ...
tush's user avatar
  • 1,093
0 votes
1 answer
118 views

How do I draw these grids?

The problem is ok, drawing a grid should not be the problem, but how do I draw blurred blue stains in the square where arrows start?
M.Mass's user avatar
  • 515

1
2 3 4 5