Questions tagged [fill]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
48 views

Microtype: How to disable protrusion for single characters?

I want to disable the protrusion for endashes and emdashes. The line filling does not look good there ... But how to do so? According to the answers here, I tried to manipulate the font packages but ...
1
vote
1answer
67 views

the filldraw in tikz change it positon alone

I am trying to generate my own title page for my beamer, I treid the follwong: \documentclass[11pt]{beamer} \usetheme{Madrid} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \...
0
votes
1answer
91 views

What does the \fill command do?

I have been reading about vertical spacing commands in LaTeX and have come upon the command \vspace{\fill} which is similar to the command \vfill. My question is this: what does the \fill command do? ...
26
votes
1answer
2k views

Can I color text by using an image, so that the color isn't flat?

I'm using tikz to attempt to make a book cover, and I have a "wallpaper" image that looks like leather (not that I've handled that many leather-bound books). I'm using the node command to place text ...
0
votes
0answers
29 views

Fillable line above the date

I'm trying to create a fillable line in a document. I only have this so far: \documentclass[a4paper,10pt]{} \begin{document} \begin{Form} \begin{tabbing} xxxx: \= \kill Lima, \> \TextField[name=...
6
votes
1answer
298 views

Mixing colours for a symbol

Assuming we have a symbol like a volleyball symbol. In LaTeX is it possible to have a mixture of colors (I do not know if the technical term is texture) of various types that fill a symbol making it ...
2
votes
2answers
68 views

Fill space between entries in adjacent columns of table with dots

I would like to fill the space between entries of adjacent column in a table with dots. My approach so far is to use \dotfill& \dotfill: \documentclass{article} \usepackage{tabularx} \usepackage{...
1
vote
1answer
191 views

Fill remaining page with image

I hope to fill the remaining vertical space with an image. This has been done here; https://blogs.gnome.org/muelli/2011/04/perfectly-scale-an-image-to-the-rest-of-a-page-with-latex/ However I cant ...
2
votes
1answer
73 views

latex tikz fill color with cycle

I want to fill some color in the line graph and code like below: \begin{tikzpicture} \begin{axis}[ xmin=0.09, xmax=0.32, ymin=0, ymax=230, ylabel=$num$, ...
6
votes
1answer
106 views

Shadings in TikZ due to vertices

I have this particular problem with shadings in TikZ. I want to convert quadrilateral patch plot to TikZ. What I know - vector of vertices coordinates and connectivity list of patches. What I do not ...
3
votes
2answers
142 views

Color gradient in circle from center and keep transparency

So I am trying something: I want to have a loop reading out the position of circles from a dat file. The plotting already works very well. However now I want to implement a gradual shading from semi ...
3
votes
0answers
53 views

tikz doesn't fill small figures [closed]

The usual command \draw[fill=<colour>] (<centre coordinate>) circle (<radius>); usually works just fine, however, when the radius is very small, for some reason it doesn't work ...
11
votes
2answers
800 views

Fill area of x^2+y^2>1 and x^2+y^2>4 using patterns and tikzpicture

I am trying to achieve the following picture using tikzpicture environment: The inner circle is x^2+y^2=1 and the other is x^2+y^2=4. What I have tried: \documentclass{article} \usepackage[english]{...
1
vote
1answer
53 views

Adjusting dotfill for custom table of notations

Consider the following code/picture: \documentclass{article} \usepackage{graphicx} \usepackage{amsmath} \begin{document} \noindent \begin{tabular}{@{}p{2.62cm}@{}p{9.5cm}@{}} $\varliminf,\varlimsup$ &...
2
votes
2answers
66 views

Pgfplot. Reduce intensity of an RGB color

I want to reduce the intensity of the fill in the graph. However, specifying !10 after the RGB color in the fill section, results in an error. I really need to use the RGB color, to be consistent with ...
3
votes
2answers
64 views

Filling (continuous) Path using \foreach with complex calculations for each point

I am trying to draw a curve by calculating every point's position in a \foreach loop (potentially hundreds of points). Since the calculation is quite complex, I use \pgfmathsetmacro multiple times to ...
3
votes
1answer
92 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
35 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
263 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 ...
8
votes
2answers
494 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} \...
1
vote
2answers
131 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,...
6
votes
2answers
539 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
53 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
82 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} ...
3
votes
1answer
39 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
70 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
254 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
324 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
222 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} \...
2
votes
1answer
115 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
151 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
838 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
40 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
74 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 ...
10
votes
1answer
377 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
55 views

How to i get this filling patern?

How do we get this 3d efect on the rectangle uzing tikz?
6
votes
1answer
248 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
779 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
718 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
86 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
243 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
299 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
55 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
173 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
104 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
624 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
155 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
166 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 \...
3
votes
1answer
199 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 ...
3
votes
2answers
589 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 ...