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 [fill]

The tag has no usage guidance.

3
votes
1answer
73 views

TikZ: How to clip out random coil fragments?

Based on this answer from marmot I am thinking about how to design a turbulent flow regime along a stream line within coarsed soil. Minimum Working Example (MWE): \documentclass[border=5mm]{...
1
vote
0answers
26 views

TikZ: How to add fill in style of multiple arcs?

I want to visualize poured loose coarse soil. Minimum Working Example (MWE): \documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw (0, 0) rectangle (4, 4); \...
3
votes
1answer
241 views

Problem with fill color

I use the following command to create regular polygons. The 5th argument is there to insert options for styling the polygons. Though the line width is 0.3mm as I set it, it looks like the fill=red ...
9
votes
2answers
354 views

TikZ: How to fill area with a special pattern?

I want to visualize a turbulent flow regime. Assumed we have a simple empty square that should be filled with a pattern. Minimum Working Example (MWE): \documentclass{standalone} \usepackage{tikz} \...
2
votes
2answers
48 views

How to use TikZpicture to fill a closed curve with pattern?

I am learning how to use tikzpicture with latex. I can not find a solution online to simply fill a closed curve with a hatched pattern. Here's my code: \documentclass{article} \usepackage{amssymb,...
7
votes
2answers
437 views

Box half filled color

I am trying kinda to make this figure in tikz but I do not know how it works. I tried with \tcbox[sharp corners, boxsep=5mm, boxrule=.5mm] But I can not fill both sides with color.
0
votes
0answers
27 views

paracol - Error with 0pt wide columns

I need to create a custom three-column environment where the user can manually set the width of the columns, and I ran into this error. Here is a MWE: \documentclass[10pt,a4paper]{article} \...
1
vote
1answer
61 views

how to fill the area under a curve

I can not find a way to fill the area under these 3 curves and the legend doesn't seem to show the correct line colours (the red one is missing?). Thanks. \documentclass{article} \usepackage{amsmath} ...
4
votes
1answer
25 views

How to define a \dotfill macro with a minimum width?

I want to define the \entry macro to make a list of references. Here is my attempt: \documentclass{article} \pagestyle{empty} \def\entry#1#2#3{\textbf{#1}~#2\dotfill#3\par} \setlength{\parindent}{...
1
vote
2answers
62 views

TikZ fill color: How to decrease spatial size of fill behind text?

Assumed we have some simple code to display a text node with a colored fill behind the text. Minimum working example (MWE): \documentclass[tikz,border=5mm]{standalone} \begin{document} \begin{...
4
votes
1answer
79 views

How do I ask LaTex to exactly fill up a page that has columns?

Similar Question #1: How do I ask LaTeX to exactly fill up a page? Similar Question #2: Fill up a page by equations, and then switch to onecolumn I need to create a number of pages that should be ...
3
votes
1answer
163 views

How to use fill inside the \draw command in Tikz/PGF?

I am quite new at trying Tikz and PGFplots so apologies if this question is rather naive.I have been trying to fill the area under this manually made curve and I have tried to use \clip and \draw[clip....
3
votes
3answers
175 views

How to fill a right-angle mark with a color?

I fails to fill the right-angle mark with green color as follows. \documentclass[12pt]{standalone} \usepackage{pst-eucl,pst-calculate} \begin{document} \begin{pspicture}(-.6,-1)(4.85,4) \def\b{3} \...
3
votes
1answer
60 views

filling an intersection between shapes

I need assistance in finding out how to fill the intersection between the shapes RO1, RO2, RO4, RO5 in the following. Assistance appreciated. \documentclass[border=5]{standalone} \usepackage{tikz} \...
4
votes
1answer
123 views

Neural networks numerical labels

The code given below generates a MWE. \documentclass{standalone} \usepackage{lmodern} \usepackage{neuralnetwork} \newcommand{\linklab}[4]{\ifnum0=#2 $w_{0}$ \else $w_{{#2}}$ \fi} \begin{document} ...
11
votes
2answers
757 views

Drawing a half-full bottle in TikZ

I want to fill half of the bottle. I tried these kind of commands: %\filldraw[color=black!100, fill=cyan!30, very thick](-3,-2.4) arc (180:230:2.5) .. controls (-2,-5) and (-1.9,-5.2) .. (-1.8,-5.5) ;...
2
votes
1answer
33 views

Insert image so that it fills the rest of the page while not fall below a minimum size

I'm trying to make a command that adds images to page in a way that fill the rest of the page. I'm using code from How to define a figure size so that it consumes the rest of a page? and it works. But ...
1
vote
1answer
47 views

filling segments by intersection method: there is no named path called

I'm just trying to fill each peripheral segment of my drawing. The names of the hexagon and the circle are test and circ. Additionally, the line pieces connecting edges of the hexagon to the outer ...
11
votes
1answer
189 views

Tikz: custom text as fill pattern for shapes

I am looking for an option to will an arbitrary shape (box, circle or something defined via fit library) with custom text. For example instead of filling it with dots as here \documentclass[10pt]{...
2
votes
1answer
50 views

How to i get this filling patern?

How do we get this 3d efect on the rectangle uzing tikz?
6
votes
1answer
136 views

\dotfill but slightly lowered below line

I am using \dotfill to create space for "fill in the blanks" but I do not like that the dots are exactly on the line. I would like the dots to be slightly below line. Is this possible? \documentclass{...
10
votes
4answers
644 views

How to fill space between dotted lines in tikz picture?

I'm trying to fill an area between two dotted lines. I tried a lot of options, but none of them seem to work. I labeled the areas I need with the specific colors to fill. My current code is: \...
4
votes
2answers
270 views

How to fill a region in tikz

I did the following drawing in Tikz: MWE: \documentclass[border=5pt,tikz] {standalone} \begin{document} \begin{tikzpicture} \draw[thick] (-0.25,0) circle (2); \draw[thick] (0.25,...
0
votes
2answers
62 views

pgfplots - Problem with the fill command

I am trying to plot 2 different images one on top of each other using the fill option of \addplot. I import the data from a .csv file and the values look correct to me. However, when I compile it, it ...
2
votes
1answer
103 views

\dotfill and glossaries

I have a glossary and I like to finish each entry by "See page x". I have added a \dotfill before so that we see "DESCRIPTION.......See page x". Unfortunately the line break doesn't work as intended. ...
3
votes
1answer
195 views

Fill the area included between two gnuplot contours

this is my first experience with latex plots. I want to fill the small area included between the two contour lines just like i did for the two polynomials, but i think there is some issue with the ...
4
votes
1answer
37 views

How to prevent package from interfering with \hfill

Consider this MWE (stuff taken from this answer): \documentclass{article} \makeatletter \newcommand*{\phoncrossbar}{\leavevmode\leaders\hrule height .5pt\hfill\kern\z@} \newcommand*{\phonfeat}[1]{% ...
3
votes
2answers
97 views

tikz: removing borders in fill white

This is what I got with the following code \documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \fill[blue!20] (90:4) -- (210:4) -- (-30:4); \fill[white] (90:4) -- (...
1
vote
1answer
88 views

How to fill the area below a curve in a chart with pgfplots

I would like to divide the graph into 3 zones and fill each one with a color and put the names of the areas. Look at the code (commented part) that I tried to do it for the first zone, but it did not ...
6
votes
2answers
307 views

Fill a triangle with nodes on the corners

I'm drawing three nodes and connecting them to a triangle: \documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \node [ circle, draw ] (A) at ( 1, 0) {A}; ...
3
votes
2answers
127 views

area between triangle minus circle

\documentclass[border=3mm,tikz]{standalone} \usepackage{pgfplots} \usepackage{epstopdf} \usepackage{pgf,tikz,tkz-euclide} \usetikzlibrary{calc,patterns,angles,quotes,arrows} \usetikzlibrary{...
1
vote
1answer
80 views

\glspostdescription for longnewglossaryentry

In the following MWE I try to dotfill the space between the end of description and the page numbering by defining \renewcommand*\glspostdescription{\dotfill\kern1ex}. It seams to work with \...
1
vote
0answers
89 views

fill cylinder in latex

I want to fill the below cylinder same as picture And my code \begin{tikzpicture} \def\a{1} % bán trục lớn = bán kính trụ \def\b{0.3} % bán trục nhỏ \def\h{3} % chiều cao trụ \shadedraw[left ...
4
votes
2answers
290 views

How can I color fill the annulus with tikz?

I want to color the annulus between the circles with radius r_1 and r_3, but keep the lines of the circles and the lines r_1, r_2, r_3. I tried color fill, but the lines disappear. Here is my tikz ...
2
votes
1answer
339 views

underline (empty space) until end of line (manual “fill in the blank” to end of line), within enumerated environment

I keep encountering situations where I would like to quickly include a few "fill-in-the-blank" style underlined horizontal spaces (usually within an enumerated environment) but each time I come to ...
0
votes
0answers
51 views

The text is uniformly distributed on each page

I have the problem since yesterday that the text on each page in not distributed from up to down but uniformly on the page, here is an example of a page and the code https://gyazo.com/...
4
votes
3answers
172 views

How to fill a node created using tikz fit

I would like to draw a bounding box around a group of nodes to indicate a relationship. I am doing this using the tikz fit page as shown in the attached code. I now want to change the background ...
6
votes
2answers
97 views

Fill between two arcs in tkz-euclide

I have six arcs: \documentclass{article} \usepackage{tkz-euclide} \usetkzobj{all} \begin{document} \begin{figure}[htbp] \centering \begin{tikzpicture}[scale=0.3] \tkzDefPoint(0,0){a} \tkzDefPoint(12,...
1
vote
1answer
32 views

How to fill one of the two plane regions defined by a hyperbola with a colour?

I looked for an answer in previous posts but I did not find it (sorry if this problem is already solved somewhere). I would like to fill with some colour the region on the right of the following ...
7
votes
2answers
351 views

Filled curved in legend entry - tikz/pgf

I am trying to make a simple plot in pgfplots that consists of a curve with a filled area below it and vertical dashed lines that divide the area below the curve in sections. A simple output can be ...
1
vote
1answer
187 views

Fill surface in tikz

I know this question has already been asked a couple times in a similar way to mine. However, I can't figure out, what I am doing wrong. I want to color this quadrilateral. \begin{tikzpicture} \...
2
votes
1answer
119 views

Use siunitx to highlight a table column?

I am using siunitx to align my columns by the decimal point. I want to highlight one of the columns in my table (edited: make a column have a coloured background). I was wondering if siunitx has a ...
3
votes
2answers
505 views

How do I fill the coordinate circles?

as written in the header I have a problem defining the fill colour of the circles, drawn between the arrows. Thank you very much in advance:) Here is the code: (Mistake probably in the upper ...
2
votes
1answer
247 views

Fill the part of trapezoid

I have a trapezoid, and i need to fill the triangle (F) inside of this trapezoid. So, is there any function, that could fill space between nodes or any other solutions? Thanks a lot \begin {center} \...
1
vote
1answer
329 views

Filling a polygon defined by `\node` command

I draw a polygon using \node in TikZ, and I want to fill the polygon. When I use this method, it obviously fails because I do not use \coordinate to create the polygon. Is there a way to fill a ...
1
vote
1answer
239 views

TikZ PGF plot with filled polygonal shapes

In order to define my own markers I defined the following plotmark: \pgfdeclareplotmark{*5}{ \pgfkeys{/pgf/regular polygon sides=5,/pgf/minimum size=6pt,/pgf/inner sep=0pt} \pgfnode{regular ...
3
votes
1answer
125 views

drawing discontinuous lines when using `\filldraw`

My goal was drawing a 90° section of a torus filled with some pattern (dots in this case), such that only the inside and the outside border of the torus are solid lines, but not the artificial lines ...
4
votes
1answer
360 views

Vertical fill with horizontal line

Problem I am working on creating an auction bid sheet. Each sheet will contain two columns. At the top of each column there is a description of auction item and underneath there needs to be ...
1
vote
1answer
325 views

Creating a bar filled only by a portion in aside

I was trying to modify this cv by adding the bar indicators i found in this other cv under the skills section but I wasn't able to adapt it. Is there a way to do it? To be clear I would like to have ...
2
votes
0answers
152 views

fill nodes/rows in tikz matrix [closed]

\documentclass[12pt,twoside]{report} \usepackage{lmodern} \usepackage[utf8]{inputenc} \usepackage{mathtools} \usepackage{tikz} \usetikzlibrary{matrix,shadings,arrows,decorations.markings,decorations....