As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [backgrounds]

{backgrounds} is used for questions concerning different ways and circumstances where color or images constitute a backdrop to other elements on a page.

Filter by
Sorted by
Tagged with
1 vote
1 answer
166 views

Set text background color *without* mdframed or tcolorbox

It's a known issue of tufte-* that \sidenote and \marginnote won't build if used inside mdframed environments or tcolorboxes. I'm not finding a workaround for that, and most posts on the topic suggest ...
BrianTheLion's user avatar
0 votes
0 answers
363 views

LaTeX Error: Option clash for package xcolor. Package xcolor Error: Undefined color `Lavender'. Why it is happening

I want to add a colour gradiant inner to outer from Lavender to white \usepackage{amsmath} \usepackage{times} \usepackage{anyfontsize} \usepackage{amsfonts} \usepackage[paperheight=11in,paperwidth=...
Soham Chatterjee's user avatar
0 votes
1 answer
486 views

Listings : avoid white line glitches in background color?

With the following code I get some glitches in the background color of my listing environment: How can I avoid these glitches? Aside from this issue, the margin top and bottom is different. The code ...
nowox's user avatar
  • 1,315
1 vote
0 answers
180 views

Background material: how to skip a page?

In the code below \NoBgThispage disables the background only in the page where it is set, in the first occurrence (p. 1) in the page where it is set and the remainder, in the second occurrence. Why? ...
Erwann's user avatar
  • 2,040
2 votes
1 answer
227 views

Change the layer of `show background rectangle`

The backgrounds tikz library defines framed (a.k.a. show background rectangle) which draws a background rectangle. Now, when we have a picture that involves different layers (say, a background and a ...
Bromind's user avatar
  • 298
1 vote
1 answer
95 views

A Question Regarding TikZ Background Layer

In the Tik Z & PGF Manual for Version 2.10-CVS, page 120/880 there is an example to create a yellow rounded rectangular background as below: And here is the code I used: \documentclass{standalone}...
Aria's user avatar
  • 1,513
1 vote
1 answer
225 views

How to set left margin background to be gray?

In LaTeX, how can I set a background color of the paper such that it has left margin as gray and the center and right part of the paper has background white?
guest's user avatar
  • 11
2 votes
1 answer
572 views

Beamer - Can't change slide background color

It seems like I can't change the background color, here is my header and my tests (none changes the background color of the slide, I manage only to change the color of the text): \documentclass[...
TheoPhy's user avatar
  • 157
1 vote
1 answer
53 views

positioning transparent images as background in the title slide

How can I put five transparent images in different positions of the background in the title slide of a beamer presentation?
Dalek's user avatar
  • 509
3 votes
2 answers
515 views

tabularx vertical line

I'm having some problems with the table on latex - texmaker, I would love to have a vertical line for divided c and p thanks. \documentclass[a4paper, 12 pt]{report} \usepackage{booktabs, multirow, ...
Delia's user avatar
  • 41
2 votes
1 answer
414 views

How can I set a default background for all TikZ pictures?

Individually setting the background for each TikZ picture works: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{positioning,arrows.meta,fit,calc,backgrounds,shapes.geometric} \tikzset{% ...
danijar's user avatar
  • 965
0 votes
1 answer
91 views

How to positioning background's text?

I have two questions. How can I enlarge the background and change the position of the text? and, Why is the last trapezoid larger than the other figures? This is my WE: \documentclass[12pt,a4paper]{...
Oscar Espinosa's user avatar
1 vote
1 answer
293 views

How to set column width and column height while creating flowchart in tikz

This is a followup to my previous post here. I've a flowchart created in the following manner. \documentclass[12pt]{article} % changed \usepackage{tikz} % added \usetikzlibrary{...
Natasha's user avatar
  • 481
0 votes
1 answer
196 views

TikZ: Page with several grids

I want to create a worksheet like that on a DIN A4 paper (21cm x 29.7cm): The margins round about should be something like 15mm (plusminus); the main thing is that I get as many grid-boxes as ...
cis's user avatar
  • 7,195
0 votes
2 answers
577 views

Setting background color in flowchart

I've a flowchart created in the following manner \tikzstyle{steps} = [rectangle, rounded corners, minimum width=3cm, minimum height=1cm, text centered, text width=3cm, draw=black, fill=gray!50] \...
Natasha's user avatar
  • 481
3 votes
1 answer
118 views

How to animate a changing monochrome computer screen from "The Matrix" movie using Tikz?

\documentclass[11pt]{article} \usepackage{CJKutf8} \usepackage{tikz} \usepackage{ifthen} \usetikzlibrary{backgrounds,calc} \definecolor{mybackground}{rgb}{0,0,0} \definecolor{mygreen}{RGB}{21,138,12} \...
user avatar
0 votes
1 answer
509 views

layer for background package when includepdf is used

For my purpose, I first wish to stay with background package if possible. It works fine when I have texts only. Background is really background (in terms of the layers). But when includepdf or \...
CasperYC's user avatar
  • 627
0 votes
2 answers
841 views

How to add color gradient in background

I want to add color gradient in whole page as from top to bottom red color slowly becomes blue in a article in xelatex. class I tried thus \documentclass{article} \usepackage[dvipsnames]{xcolor} \...
Soham Chatterjee's user avatar
0 votes
0 answers
71 views

Give each letter a white background

I'm looking for something like this except with a white background and no border. Note that I have no Lua experience so if you can please don't use it :)
merrybot's user avatar
  • 265
2 votes
1 answer
114 views

Hidden or background segment using chemfig package

In relation to this question How to create cram bonds with anchors, I wanted to put the segment in the background and the black triangle hiding it in the foreground. How is this possible with chemfig?...
Sebastiano's user avatar
  • 51.4k
0 votes
0 answers
172 views

Page design and Tikz

I'm looking for a Tikz code, which can draw "canons of page construction" in a background of document. Please take a loot at: Modern book design, margins and typed area I know geometry and layout ...
ReRunner's user avatar
  • 285
1 vote
1 answer
229 views

How to extend the spiral to the edge of the page

How to increase the length of spirals as in the image using XeLaTeX engine: \documentclass[12pt,a4paper, openany, notoc]{report} \usepackage{tikz} \usepackage[contents={}]{background} \usepackage{...
Abdelhak Elfengour's user avatar
1 vote
1 answer
178 views

Background notebook template with spiral with XeLaTeX

How to inset wire-O bookbinding. I tried the answer here Background notebook template with spiral by @Gonzalo Medina but it doesn't work properly when I compile with XeLaTeX while usin an RTL ...
Abdelhak Elfengour's user avatar
0 votes
0 answers
143 views

How to place header a layer above text?

I've a question regarding the placement of the header. As far as I know TeX first places the header, then the body and finally the footer. The header is therefore below the body and the footer above ...
GrueneSosse's user avatar
1 vote
1 answer
194 views

Change vim-t background color

do you have any idea how to change code snippet's background color? I'm using vim-t (\definevimtyping..) and context. In vim documentation I found only how to change background color of highlighted ...
tulelolo's user avatar
0 votes
1 answer
467 views

How to resize the text zone in a tcolorbox?

I would like to resize the text zone in a tcolorbox, so that the width of the text zone is the line width but the box is larger. I tried \begin{tcolorbox}[spread upwards,sharp corners=north,height=...
JRLCAR's user avatar
  • 43
0 votes
1 answer
241 views

LaTeX: Background image for one page only with no hoffset

I am using \documentclass{article}, how would I create one page with backround image without margins, so the background image would span the whole page? I am using this: \usepackage{eso-pic} \...
Raymond_90's user avatar
0 votes
2 answers
1k views

Simplest way to add table headers background color in Latex

I am using this below code to generate a table, \begin{center} \begin{tabular}{|p{3cm} | p{3cm} |} \hline Title1 & Title2 \\ \hline Item1 & Item2 \\ \hline \end{tabular} ...
Sazzad Hissain Khan's user avatar
1 vote
1 answer
218 views

Coloured sidenote area for Tufte book

I'm trying to have the sidenote (or margin) area of the tufte-book document class have some background colour. Ideally it would cover the whole page, but only those where it is relevant. I have tried ...
Théo Winterhalter's user avatar
4 votes
1 answer
647 views

Divide a page by a spiral binder

I need help for this (lesson plan) format by tikz. Now, this is based on the answer from Schrödinger's cat.
kalakay's user avatar
  • 2,459
1 vote
1 answer
68 views

Background image on frame not in slide navigation

I try to achieve the following: have a background image on a frame and disable the frame to appear in the navigation bullets at the same time. I can do both but not at the same time. If commenting out ...
bmv's user avatar
  • 3,558
1 vote
1 answer
332 views

Overlapping image and text in a variable-width minipage or configuring a background image of a single minipage

I am trying to overlap an image with an arbitrary text in a variable-width minipage. I want a minipage because the minipage will be next to another minipage of a variable-width as well. And I have ...
user207854's user avatar
1 vote
1 answer
237 views

scrlttr2 - Using different background images for 1st page

I want to use different background images within a letter I created with scrlttr2, on the first page image A and on all other pages image B. Here is a working minimal example to use the same ...
Robert's user avatar
  • 11
4 votes
2 answers
226 views

ConTeXt: Pixel-perfect figure span across a two-page spread

Background Looking to split external figures across two pages, evenly, for a seamless layflat photobook. Problem The seam between two pages is misaligned for illustrations that span two pages. This ...
Dave Jarvis's user avatar
  • 11.3k
2 votes
1 answer
364 views

Memoir chapter style with with background color spreading across text / number

Greetings to the community! My goal is to create the pdflatex document using the memoir class, which would have \chapters, \sections, and \subsections have the following formatting (font is not ...
selyunin's user avatar
  • 123
4 votes
4 answers
266 views

How do I use two colours in a bounding box?

I had what I thought was a simple task, which is to create two different coloured background rectangles. The purpose is to distinguish one set of concepts from another. I haven't found an answer that ...
Michelle's user avatar
  • 503
2 votes
2 answers
97 views

\columncolor in foreground if use \multirow

It seems that if I use >{\columncolor{green!30}}c and have \multirow content in that column, the color ends up in the foreground. The only difference in these two tables is that the second one has &...
Peter Grill's user avatar
1 vote
0 answers
151 views

Adding a background picture to the first page and last page

Hi I was just wondering on how I could add a background picture to the last page and first page? I want one page without anything but the picture and a last page. \documentclass[12pt]{extarticle} \...
user8700908's user avatar
1 vote
1 answer
1k views

background color in titlesec

I am using the titlesec package to format the titles of sections. I would like to change the background color of the frame shape. Concretely, I would like to obtain a solid (that is, the same color ...
suitangi's user avatar
  • 749
1 vote
1 answer
196 views

Image as background pattern -- connecting bars in tikz mindmaps

This is a follow-up to a previous question. Assuming the following setup: \documentclass[margin=10pt]{standalone} \usepackage[dvipsnames,svgnames]{xcolor} \usepackage{tikz} \usetikzlibrary{mindmap,...
user avatar
5 votes
1 answer
198 views

Is it possible to insert an image as a background pattern to mindmap nodes?

Suppose I've got the following mindmap: \documentclass[margin=10pt]{standalone} \usepackage[dvipsnames,svgnames]{xcolor} \usepackage{tikz} \usetikzlibrary{mindmap,trees,shadows} \usepackage{fontspec} ...
user avatar
1 vote
1 answer
263 views

Is there a hidden background in Beamer?

I have a beamer presentation for which I want to put a picture as a background for all slides. In order to do so, I use the eso-pic package with the command \AddToShipoutPicture. My problem is that ...
Alain's user avatar
  • 944
1 vote
1 answer
87 views

Control ribbon colour while using background package

I refer to this answer for drawing a ribbon with variable bending points. Based on the code of Schrödinger's cat, I cannot produce a white ribbon when using the background package at the same time. ...
Taufi's user avatar
  • 379
2 votes
1 answer
100 views

Beamer background-picture doesn't cover logo-region

My goal is to switch the backgroundtemplate for every \AtBeginSection{}-frame. This is working so far, but the logo-region is overlaying the background with a plain white region. I'm using \...
Tim Hilt's user avatar
  • 818
0 votes
0 answers
50 views

Producing a book class document with a specific background image on a specific part interstitial and chapter interstitial page

I am preparing a document using a custom book class with LuaLaTeX. The book has parts as well as chapters, with blank pages created at the end of chapters and parts as necessary so that the first page ...
BAK's user avatar
  • 1
1 vote
1 answer
169 views

Highlight inline formulas

I need either to add a color background or border around each inline formula. How? I want to ensure every formula is no more wide that about the 1/2 of the width of text, in order to publish them in ...
porton's user avatar
  • 1,136
4 votes
1 answer
93 views

\footnote and \starttextbackground interaction?

When a \footnote is placed such that there is a \starttextbackground frame split across the page break, the text backgound w/frame is being applied to the footnote as well. Am I doing something wrong, ...
Scott Lovell's user avatar
1 vote
2 answers
340 views

Add background color between header and footer

I am trying to add a background color to the area between the bottom of the header to the top of the footer. But, somehow the whole page gets filled with the background color. Can someone explain it ...
7heViking's user avatar
  • 1,163
4 votes
2 answers
1k views

Changing the half background color of a beamer frame?

Is it possible to change the half of the beamer frame background color perfectly (no margins), as shown in the picture: without using the above image as background. Maybe by using tikz or something.
lRadha's user avatar
  • 220
5 votes
2 answers
1k views

Is it possible to use a tikzpicture as background in a beamer presentation?

I'm trying to add a .tikz format file as background in a beamer presentation slide, but it seems to work with only .png, .jpg, .pdf files: \setbeamertemplate{background}{\includegraphics[width=\...
lRadha's user avatar
  • 220

1 2 3
4
5
14