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
0 answers
19 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. ...
  • 164
0 votes
1 answer
69 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} % ...
  • 279
1 vote
1 answer
38 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 ...
  • 7,346
0 votes
0 answers
31 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=...
0 votes
1 answer
40 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 ...
0 votes
1 answer
9 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 ...
  • 181
4 votes
1 answer
135 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 ...
2 votes
1 answer
93 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 ...
  • 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=...
0 votes
1 answer
46 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 ...
5 votes
2 answers
129 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 ...
  • 165
0 votes
1 answer
36 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 ...
  • 315
0 votes
1 answer
47 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 ...
  • 1,025
0 votes
0 answers
20 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 ...
  • 315
0 votes
0 answers
32 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?
1 vote
1 answer
48 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 ...
  • 255
1 vote
2 answers
79 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. \...
4 votes
3 answers
229 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 ...
  • 8,140
0 votes
0 answers
48 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}...
  • 547
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, ...
0 votes
0 answers
15 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} % ...
1 vote
2 answers
81 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\...
  • 115
0 votes
0 answers
40 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 ...
  • 11
1 vote
1 answer
54 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 ...
0 votes
1 answer
34 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} \...
  • 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....
0 votes
0 answers
25 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 ...
1 vote
0 answers
35 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 \...
  • 2,024
8 votes
5 answers
401 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} \...
  • 1,057
0 votes
1 answer
65 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 = { \...
1 vote
2 answers
149 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: \...
0 votes
0 answers
35 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 ...
2 votes
2 answers
67 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.
0 votes
1 answer
62 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....
  • 2,767
0 votes
1 answer
160 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 ...
  • 590
0 votes
0 answers
37 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[...
1 vote
2 answers
48 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 ...
  • 17
2 votes
1 answer
47 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} %\...
0 votes
1 answer
133 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 ...
  • 103
0 votes
1 answer
79 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 ...
  • 195
0 votes
1 answer
54 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} \...
  • 123
0 votes
2 answers
96 views

Change the background color of Tikz nodes?

I'm using the fit option to draw a rectangle that fits a few nodes but when I add the fill option to change the color of this rectangle the nodes inside disappear. \documentclass[border=10pt]{...
user avatar
2 votes
1 answer
71 views

adding a shade background in running text of the middle of a paragraph

I need a background shade in the running text of middle of a paragraph, I tried through \usepackage{tikz}, I am getting background but text is not breaking and running beyond the text width. How to ...
  • 1,874
0 votes
0 answers
33 views

TeXStudio background color depends on file?

Using TeXStudio on desktop Mac. Most files I open have a white background and workable color scheme for selected text, active line, etc. Other files have a black background with white text, and the ...
1 vote
1 answer
34 views

Beamer title page with certain background and different background for the rest of the frames

I have a the below code, that sets the logo on left top corner of the title page, however, I want to change the entire background of the title page to a the new UDBackground2.jpg figure. How is it ...
  • 1,111
0 votes
0 answers
50 views

Rendering a PDF file, and/or converting PDF to PNG, with anti-aliasing and transparent background

I am trying to convert a LuaLaTeX-generated PDF file to a PNG file with anti-aliasing and a transparent background (white text on a black background). I have also posted a question here to see if ...
  • 204
1 vote
1 answer
122 views

How to set text background transparency with leaflet?

I am trying to set a semi-transparent background for some text, so we can see the image behind it. To do so, I am using tcolorbox. However, it seems that I can not get it working with the leaflet ...
1 vote
1 answer
47 views

beamer background repeated figure

According to the beamer documentation, it is possible to use an image as a background for all slides. \setbeamertemplate{background} { \includegraphics[width=\paperwidth,height=\paperheight]{...
  • 163
1 vote
2 answers
74 views

Colored and inclined boxes

I would like to get the following colored boxes so that they are also slightly inclined. Here is a picture of what it should look like Can someone tell me how to do this with latex? Which packages do ...
  • 537
1 vote
2 answers
273 views

Using AddToHook instead of background package

Recently I found out that the background package is deprecated and one should use \AddToHook{shipout/background} (comments in Positioning relative to page in XeLaTeX with package background and '...
  • 139

1
2 3 4 5
14