Skip to main content

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
3 votes
1 answer
115 views

How to code so that the dashed gridlines look like the second picture

how do I code in latex so that I obtain the second picture below? I’d like the dashed gridlines specifically to be like the second picture. This is my attempt (first picture): \documentclass{...
Curious cucur's user avatar
2 votes
2 answers
107 views

Display the same image in specific arrangements

I wish to display images in specific arrangements, much like these Blokus pieces For example, here are some apples arranged in shape number 6. I can individually code each one, for example here is ...
Wendy Taylor's user avatar
2 votes
1 answer
21 views

pfgplots y axis exponential progression

TLDR: how to create a grid in pgfplots with Y axis progressing as n^0.286 instead of ymode=log. I have to build a diagram with this grid: X axis is temperature in Celsius, and Y axis is pressure in ...
EmileC's user avatar
  • 43
1 vote
2 answers
67 views

Evenly spaced grids with vertical measure

I have the following code to create three grids in tikz. I'd like to indicate to the side of the first grid with a double headed arrow what is the height of the grid which is supposed to be $2^{Q(n)+\...
user1868607's user avatar
1 vote
1 answer
60 views

Drawing a Non-Jagged Grid Outline

I'm trying to create an outline for my TikZ grid with thicker lines, but there doesn't seem to be any correction for the edges, so things get jagged: \documentclass{article} \usepackage{tikz} \begin{...
psygo's user avatar
  • 438
0 votes
0 answers
30 views

How to fit numbers and mathematical operators into a graph paper in 2024? [duplicate]

As a math teacher, I'm looking for a way to write mathematical calculations on graph paper so that every number or operator (+,-,*,:, =) fits into a box. I found this thread about this, but I'm having ...
mrbela's user avatar
  • 1,129
0 votes
0 answers
36 views

Character Grid in Verbatim/Listing/Etc

I have a block of text in a framed listing. I want to draw a faint grid over the listing such that each character in the listing occupies a grid square. Is there a way to do this without more-or-less ...
Duncan W's user avatar
  • 101
1 vote
1 answer
102 views

drawing a 3D axis with grid

The code I am using, produces 3D axis but only the grid appears on the x-z plane. Any help? \documentclass{standalone} \usepackage{pgfplots} \usepgfplotslibrary{colormaps} \usepackage{tikz} \...
Paul A's user avatar
  • 1,117
0 votes
0 answers
33 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
73 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
  • 43
3 votes
2 answers
205 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
  • 375
0 votes
0 answers
44 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
57 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
1 answer
286 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
  • 103
-1 votes
1 answer
130 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
239 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
67 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
254 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.3k
0 votes
2 answers
450 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
  • 399
0 votes
0 answers
64 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,531
1 vote
1 answer
85 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
5 votes
1 answer
306 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-...
DDS's user avatar
  • 9,768
0 votes
0 answers
196 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
206 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
86 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
194 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
352 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
468 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,...
Ceethemez's user avatar
3 votes
1 answer
492 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
181 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
118 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
124 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
139 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,927
1 vote
1 answer
451 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
339 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,927
0 votes
2 answers
124 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
123 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,927
1 vote
1 answer
654 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
  • 202
2 votes
1 answer
146 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,927
2 votes
1 answer
424 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
5 votes
1 answer
387 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
  • 333
6 votes
1 answer
410 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
  • 317
1 vote
1 answer
102 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
757 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
  • 547
8 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
  • 191
2 votes
1 answer
720 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
426 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
107 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
2 votes
4 answers
225 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
199 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

1
2 3 4 5