Questions tagged [fill]
The fill tag is used to categorize questions related to the \fill command in LaTeX. This command is primarily used for filling available space in a document, especially in environments like tables or layouts.
220 questions
3 votes
2 answers
143 views
Fill the intersection of a decoration with a rectangle
The objective is to print two parallel footprints and fill the intersection of one with a rectangle in gray Here is how I try to do it: \documentclass[tikz,border=3.14mm]{standalone} \usetikzlibrary{...
9 votes
2 answers
338 views
How to properly fill the area under a hyperbola arc in TikZ without fillbetween?
I'm trying to color the area bounded by the hyperbola x²−y²=1 the x-axis, and the origin O in TikZ. My current code is: \documentclass[11pt]{article} \usepackage{tikz} \begin{document} \begin{...
3 votes
1 answer
58 views
pst-poker won't display crdback without a shadow
I have a problem with the crdback command in pst-poker. the crdback only shows if there is a shadow. Can you verify or solve the problem? \documentclass{standalone} \usepackage[T1]{fontenc} \...
3 votes
1 answer
93 views
How to colour barplot according to groups in table
I am trying to make a barplot, but fill according to the Type of the sample. Here is my MWE: Currently, this displays all the bars with red. I want the Animal samples in red and the Plant samples in ...
3 votes
1 answer
209 views
How to fill the area between curves?
I need to fill an area that was made from several curves. My code for the image is: (this is the image i want to recreate) \begin{tikzpicture} % \draw[step = 1mm, help lines, blue!10] (0,0) ...
2 votes
1 answer
67 views
Removing(preventing) double coloring in overlapping region(circle) in latex
I have the following code to show union of two sets. But the problem is that the intersection of the two sets in the diagram below has been colored twice instead of just once. As we can see in the ...
0 votes
0 answers
39 views
I would like to fill (shade) the area between outside the circle and inside the rose . How can I do this?
\documentclass[12pt,legalpaper]{article} \usepackage[svgnames]{xcolor} \usepackage{amsfonts, amsmath, amsthm, amssymb} \usepackage{tikz} \usepackage{pgfplots} \pgfplotsset{compat=1.18} \...
1 vote
0 answers
50 views
preventing Tikz's \fill from spilling below the x-axis
I'm trying to \fill the area between two functions in a region bounded by a figure's x-axis, but I'm flummoxed by how to prevent some of the \fill from spilling down below the axis. Here's an image of ...
1 vote
0 answers
94 views
TikZ - draw tank shaped figure. Problems with \fill command
I want to draw this tank. The problem is that I want a grey ellipse at the top. As if this is a tank where we can see through the tank where the water is. But I want the section over the water level ...
8 votes
1 answer
290 views
Coloring regions between lines with Tikz
How can I create something similar to this figure in TikZ, coloring the regions between the lines? Start code: \documentclass[tikz]{standalone} \begin{document} \begin{tikzpicture}[scale=.5] \clip (...
3 votes
1 answer
99 views
Failed to fill the white area
I once asked the the question, and Qrrbrbirlbel suggested I use the library spath3. Now I want to draw a new graph. I plan to mimic it, but it seems to have failed. There must be an issue with my code,...
1 vote
2 answers
102 views
How to make "\setlength\itemsep{\fill}" take effect in beamer block environment?
I would like increase the vertical spacing between paragraphs and blocks automatically so that the content fits a frame. To do so, I use \setlength{\parskip}{\fill}. \documentclass{beamer} \usepackage{...
3 votes
1 answer
174 views
Fill the space with black, bounded by two arcs
I need to fill the space between the arcs with color \documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} % Define radius and angle variables for both ...
4 votes
1 answer
172 views
pgfplots: How to fill a 'contour lua' f(x,y) plot
I drew a curve (as seen here) with contour lua. But how can I fill the curve (with lightblue)? % !TeX LuaLaTeX \documentclass[margin=5pt]{standalone} \usepackage{pgfplots} \pgfplotsset{compat=...
6 votes
1 answer
729 views
3D Chip Design using TikZ
I'm trying to reproduce a 3D design of a chip using TikZ in LaTeX. The design I'm aiming for resembles a multi-layered chip concept, similar to the image below (showing different components stacked on ...