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
0 votes
1 answer
32 views

Set background color for scrbook \maketitle page

I am using the scrbook document class, and I just want to set the background color for the standard title page created through \maketitle. I already tried using the pagecolor package [1], but it shows ...
shredEngineer's user avatar
0 votes
1 answer
25 views

How to erase the backgroundcolor just for one image/word?

The background color behind the image should be white over the whole height of the box. Just the text has to be with the green background color. Is it possible to do it inside the box or only with ...
user2809537's user avatar
0 votes
1 answer
24 views

Background package - Troubles with `\NoBgThispage` command

I am not able to make this command be deterministic. The weird behaviour I get with PDFLaTeX is explained in the comments of the following MWE. I checked for conflicts with package afterpage, also ...
Andrestand's user avatar
  • 1,035
2 votes
2 answers
47 views

How can I put an overlay tikz picture below and ordinary text?

The following code \documentclass{article} \usepackage{tikz} \usetikzlibrary{tikzmark} \begin{document} This is some text: \tikzmarknode{Foo}{foo}. And this is some text in between that the filling ...
Enlico's user avatar
  • 2,497
0 votes
0 answers
12 views

overlay background pdf page to background color

What I want to do: Fill background color as yellow!30. Fill background.pdf over the page with a 2mm border as yellow!30 and others as background.pdf. Current code the fill color covered the whole ...
lucky1928's user avatar
  • 3,705
2 votes
1 answer
42 views

Line from lower left to upper right corner of page with metapost

I have this example where I want to draw a line in the background from corner to opposite corner of the page using metapost, The problem is that the line does not reach both ends, and I cannot figure ...
Salim Bou's user avatar
  • 16.7k
1 vote
1 answer
64 views

Beamer: Customise Title and Footer Background color

I would like to get I have forgotten to change the colour. Can anyone tell me how can I get desired result? Here I am using the code(partial): \documentclass[xcolor=dvipsnames]{beamer} \mode<...
MKS's user avatar
  • 412
1 vote
0 answers
22 views

Instances of Background Boxes keep increasing with each Chapter/function call

I'm using the following MWE to create a PDF and when I edit the created PDF it reveals that with each chapter or \chapframe call the number of instances of boxes keep increasing. This can also be made ...
Paco89's user avatar
  • 11
1 vote
0 answers
37 views

set transparent color for a pgfpicture

I have a simple document which inputs picture.tex file that includs data of a pgfpicture: \documentclass{article} \usepackage{pgfplots} \usepackage{xcolor} \pagecolor{black} % set the page colour to ...
hasanghaforian's user avatar
0 votes
0 answers
25 views

Beamer template Talking head

I have some beamer slides for a lecture in 16:9 format and I want to record videos for this lecture. In the video, I'd like to add myself as taking the head into the slides in the bottom right corner. ...
Giuseppe's user avatar
  • 164
0 votes
1 answer
90 views

Grid environment for exercise solution

Following the example in the tcolorbox manual, p. 148, I produced the following MWE: \documentclass[11pt]{book} \usepackage[most]{tcolorbox} \usepackage{lipsum} \usepackage[no-math]{fontspec} % ...
JPMD's user avatar
  • 311
1 vote
1 answer
47 views

Page Background for Certain Pages Only

Consider the code: \documentclass{article} \usepackage{background} \usetikzlibrary{calc} \usepackage{lipsum} \backgroundsetup{ color=black, scale=1, opacity=1, angle=0, contents={\tikz\draw[line ...
mlchristians's user avatar
  • 7,522
0 votes
0 answers
33 views

LaTeX Background package doesn't function as I command

When I'm using background package to do some decorating, however found out the outcome wasn't as I expected. Here's what I use: \documentclass{article} \usepackage[left=1in,right=1in,top=1in,bottom=...
Nightwalkie's user avatar
0 votes
1 answer
44 views

I have a 10 page pdf. How can can I use this as a background for a new document?

I have a 10 page pdf. I want to use latex to add some text and equations to each page of this pdf. How can this be achieved? Here's how I do it right now: Split the 10 page file into ten single page ...
Astor Florida's user avatar
0 votes
1 answer
11 views

"pages=some" option ignored by backgroud package when passed using the \backgroundsetup command

I am trying to use the background package to include watermark-style in the background of my document. However, I only want the background in certain, but not all pages. Supposedly, the package has an ...
mapf's user avatar
  • 203
4 votes
1 answer
136 views

What is the difference between "none" and "white" on package pagecolor?

The title pretty much says it all. pagecolor seems to treat the options white and none differently, in particular because none doesn't work with package crop. What would be the reasons to use none ...
Níckolas Alves's user avatar
2 votes
1 answer
105 views

How to position a figure with a colored page background on the opposite page of a section head?

After having tried pretty much every idea that I could think of in the last two days, I would like to ask for help here. In a nutshell, I would like to achieve the following in ConTeXt: Position an ...
Marcus C.'s user avatar
  • 745
0 votes
0 answers
21 views

Adding a figure in Tikz plot is recognized as a legend marker

To my previous question which can be found in the link here: Plots lines disappear in Tikz when inserting an image The plot that appear after compiling with the command \addplot graphics [xmin=-3,xmax=...
Ahmed Aafaq's user avatar
0 votes
1 answer
65 views

How to put a gray box around text that splits at page break

Is there a way to create a gray box around text that will split upon a page break? For example, using tcolorbox I can get the following: However, it will shift onto the next page if it does not fit ...
Mike Smith's user avatar
5 votes
2 answers
137 views

How to draw a shape under text?

I use the memoir class to produce a children's poetry book. To make it more engaging for the readers, I rely on the background package to include pictures that cover the entire page. Sometimes text ...
ralien's user avatar
  • 165
0 votes
1 answer
37 views

How do I access the name of the current chapter for a background image?

I add a background image to every page and want to add a different one based on the name of the current chapter. It would also be good to know how whether the preface and title pages before the ...
Christian's user avatar
  • 325
0 votes
1 answer
50 views

Background working differently in the first run

Coming back to a document after some months caused the background configured through the background package to disappear. I checked it was recovered after deleting the aux file, but only for the first ...
Andrestand's user avatar
  • 1,035
0 votes
0 answers
23 views

How do I place a background image on all odd pages of a given chapter?

I have a book using the "book" document type. In every chapter of my book, I want a different background image. Additionally, I want different background images on odd and even pages. What's ...
Christian's user avatar
  • 325
0 votes
0 answers
33 views

Can I randomise a page background across all my pages?

I have a folder with X images, I would like to randomise this as background for all pages. Is there a good package for this?
Forkrul Assail's user avatar
1 vote
1 answer
56 views

How can I not add a background for empty pages

I am using the background package to add a background to each page. I want a different background for odd and even pages, which is why I use \AddEverypageHook. However, AddEverypagehook works on all ...
Amarakon's user avatar
  • 165
1 vote
2 answers
94 views

How to add a background to the final page of the document?

I want to add a background to the final page of the document. I have two images, one that I have added on the first page of the document works perfectly, but I am not sure how to add the second one. \...
GedankenExperimentalist's user avatar
4 votes
3 answers
263 views

remember picture, overlay and backgrounds = overprint

I naively thought that this would be a simple fix for highlighting text -- yes, there are ulem.sty and soul.sty but they impose some restrictions with which I would prefer not to deal. I assumed it ...
sgmoye's user avatar
  • 8,150
0 votes
0 answers
50 views

possible bug? \makeatletter causing background to be missing from certain pages

\documentclass[12pt, a4paper, UTF8, scheme = plain, twoside]{ctexart} \usepackage{lipsum} \usepackage{amsmath,enumerate} \usepackage[margin = 2cm]{geometry} \usepackage{adjustbox} \usepackage{fancyhdr}...
CasperYC's user avatar
  • 627
0 votes
1 answer
33 views

Small number of programming instructions [duplicate]

I am writing an article and I need to insert a small number of code instructions for a topic related to computer science. I know the existence of many packages, such as Listing, Algorithmic and so on, ...
Ospite007's user avatar
0 votes
0 answers
18 views

New environnement for colored background align

I would like to have a specific environment for colored background equation. However, Latex returns an error at the end of my new environment and I don't understand why. \documentclass{article} % ...
Dimitri's user avatar
1 vote
2 answers
89 views

(Table of Contents) Multiple different background images on every page of the book's TOC

OBJECTIVE: to have an ability to place different background images on every page of the book TOC. WHAT HAS BEEN TRIED ALREADY: 1 \AddToShipoutPicture*{% \AtPageLowerLeft{% \put(.5\textwidth,.5\...
tryingout's user avatar
  • 115
0 votes
0 answers
46 views

Background Image in Latex not transparent

I am adding a background image to my document. I have used my code before, and everything worked fine. However, I recently reopened and recompiled the code, and now the image is not transparent on the ...
hpierce's user avatar
  • 11
1 vote
1 answer
55 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
0 votes
1 answer
37 views

How to actually refer to Roman numeral page in code to AddToHook background image to page ii NOT page 2

I need to add a background image to a specific page. Here's the MWE: % !TEX TS-program = LuaLaTeX \documentclass[11pt,twoside,openany]{book} \pagestyle{plain} \usepackage[english, russian]{babel} \...
tryingout's user avatar
  • 115
0 votes
0 answers
29 views

Adjust transparency of background picture in latex

I am using the following code to insert a picture as background for my file. Here is my code: \begin{tikzpicture}[remember picture, overlay] \node[opacity=0.2,inner sep=0pt] at (current page....
TAO CHUAI's user avatar
0 votes
0 answers
27 views

Change background color in part of a page

I have a problem that seems not to be the same as all the similar questions that I have seen. I would like to change the color in only a selected part of a page. Namely, I want a band of specified ...
Giulio Lo Monaco's user avatar
1 vote
0 answers
40 views

How to include (a) multipage pdf in the background

I want to include one/several multipage PDFs as a background to print additional information on it (header, page number, ...) Save the mwe Package documentation in the directory in order to work \...
user1's user avatar
  • 2,034
8 votes
5 answers
405 views

Crossing discontinuity with complex background

I'm using the technique from this TeX.SO answer to produce a circuit with a crossing (I'm using Beamer because in the next step I'll use that to set a background image) \documentclass{beamer} \...
Cactus's user avatar
  • 1,057
0 votes
1 answer
79 views

Problems with watermark using background package

I want to place my image as a watermark at every page. Here's what I do in preamble: \backgroundsetup{ scale=1.5, angle=0, firstpage = true, opacity=0.1, contents = { \...
Daniel Neskorodov's user avatar
1 vote
2 answers
209 views

How to get an image watermark in the bottom right corner document (background and tikz)?

I have been trying to put an image in the bottom right corner in background of my document (title page excluded) and I have succeeded at putting a nicely centred water mark using the following code: \...
BlueIris's user avatar
  • 161
0 votes
0 answers
43 views

How do I add a colored background behind page numbers?

I have a master document where I embed several pdf files that I need to present the case for my visa. Most of these pdfs are scanned pages and the page number is printed over some drawing or texts ...
Gustavo Sosa's user avatar
2 votes
2 answers
74 views

How color single page within margin?

How do I color a page within the margin and still being able to write text on the page? I would like to make something like this.
tobi1596's user avatar
0 votes
1 answer
100 views

redefine theorem environment for background shading

I have a pretty long document with lots of theorems. I want to change the styling so that each theorem has a lightgray background. I can define a new environment thm and then change all theorem to thm....
Thomas's user avatar
  • 2,787
0 votes
1 answer
205 views

Background Setup for My Title Page

I am having trouble setting up the background for my title page using tikz. I adopted this background style from Benmiloud Mohammed at https://latexdraw.com/. I also adopted the contents of the title ...
itc's user avatar
  • 602
0 votes
0 answers
48 views

Problem inserting background image in lualatex using overleaf

I am using the following code: \documentclass{article} \usepackage{amsmath,xcolor,moresize,background,lipsum} \usepackage[14pt]{extsizes} \usepackage{fontspec} \usepackage{polyglossia} \usepackage[...
Kani Pen's user avatar
  • 177
1 vote
2 answers
50 views

How to anchor a background image to a specific text instead of to a fixed location on the page?

I am making a thesis template for a university and am having trouble with designing the title page. They would like the seal of the university to be centered behind the student's name on the title ...
Stephen's user avatar
  • 17
2 votes
1 answer
51 views

Mdframed and monochrome

When I use the monochrome option with the article class, the background of the mdframed frames is completely black. Is it a bug or just my misuse of the monochrome option? \documentclass{article} %\...
Dan Boucher's user avatar
0 votes
1 answer
177 views

Image to background on cover page

I was trying to add a cover to the first page but it doesn't work. What is wrong? This is my problem and I don't know how to solve it. The title and the page are on different pages, but they should be ...
Inuraghe's user avatar
  • 103
0 votes
1 answer
100 views

Different background images per chapter page

Each of my chapter titles are on a single page, with the content following on the following page. I have added a standard background image to each of those pages. What I'd like to do though, is to be ...
Mr Goobri's user avatar
  • 195
0 votes
1 answer
56 views

Inserting a background color behind a text changed with psfrag

I have just started to play with psfrag to change some tags into eps images. I am looking for a simple way to add a background color to a text inserted using psfrag. For example in: \begin{figure} \...
umby's user avatar
  • 145

1
2 3 4 5
14