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
8 votes
5 answers
353 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,047
0 votes
1 answer
45 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
39 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
24 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 ...
1 vote
2 answers
47 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
24 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,717
0 votes
1 answer
53 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 ...
  • 492
0 votes
0 answers
24 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
35 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
1 vote
1 answer
39 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
68 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
42 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
40 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
55 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]{...
  • 87
2 votes
1 answer
64 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,814
0 votes
0 answers
29 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
21 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,067
0 votes
0 answers
30 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
58 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
38 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]{...
  • 161
1 vote
2 answers
63 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 ...
  • 423
1 vote
2 answers
121 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 '...
  • 137
0 votes
2 answers
83 views

White background behind axis ticks [duplicate]

I couldn't find any solution to this specific problem, just with nodes. I want to make a white background behind all xlabel ticks, so the labels can be read again. My minimal code: \documentclass[...
1 vote
1 answer
48 views

Boxes side by side with gray background

I'd like to create boxes (it may also be two columns) side by side such as in the following image. Also, in order to "highlight" the content, I'd like to add some gray background into it.
1 vote
1 answer
39 views

How to achieve full-column-length coloured background for a single line?

I'm trying to recreate a template that is currently available in MS word format. It requires me to set the journal name on top of the title. Since I'm no expert, instead of trying to write a class ...
  • 113
0 votes
1 answer
90 views

Multiple different background images on the same (one) page, is it even possible?

My intent is to have several different background images on the same (one) page. I read background package documents and found no answer (though I didn't really got an idea of what the anchors are ...
0 votes
1 answer
38 views

What is the most efficient way to alternate between portrait and landscape documents with small background images

I am designing worksheets for my math class and I want to have a school logo and class logo at the top corners of each document. My worksheets have lots of elements and I found that if I made the ...
  • 43
-1 votes
1 answer
49 views

Multiple different images positioning and alignment in book either as background or/and graphic wrapped in text within or outside the margins

Hello and thanks for your help! I need a tool to have as many different images throughout my book as I want in every possible position. Here's what I need in details: To be able to add DIFFERENT ...
1 vote
1 answer
68 views

Setting page background will influence the synctex location

I am using TeXstudio editor. When I set a background picture using the \addtohook command. It influence the Synctex locations always pointing to the end of the page not the actual text which I typed ...
  • 4,778
1 vote
1 answer
80 views

Make repeating watermark with tiling

I am trying to make two different types of watermarks: One which takes multiple words and puts them at an angle to fill the page, and A tile-able one which can take word(s) and/or images. Both of ...
  • 77
0 votes
1 answer
33 views

Pullquote with background color and different font

I have been able thanks to this answer to create a pull quote on the left side of the page. However, it’s missing a couple of parameters to make it more readable, such as the font family and the ...
  • 119
0 votes
1 answer
23 views

Listing background color is overflowing margins on broken lines

I'm using the code on Listing, zebra effect and broken lines as a base. However, when lines are indented by either spaces or tabs the margins of the listing are not respected and the background color ...
  • 51
0 votes
2 answers
49 views

Background image command works in twocolumn article but not in memoir

The following example works fine and places my chosen background image correctly: \documentclass[twocolumn]{article} \usepackage{graphicx} \usepackage{lipsum} \AddToHook{shipout/background}{ \put(...
1 vote
0 answers
49 views

Beamer Warsaw customization [closed]

Hello I am trying to customize a beamer, with my colors for the title, font, colors for the header and background color. But I don't understand much about the subject, I have looked for similar ...
  • 361
0 votes
1 answer
56 views

Overlay all pages (alternative for watermark)

Hello I was wanting to put word in all pages exactly like the one shown Add watermark that overlays the images Though the watermark works for me this one does not work for me (I ran the exact same ...
  • 133
1 vote
1 answer
187 views

How can I add logo in the background? [duplicate]

I run a math club in my school. I want to put our club's logo at the top right corner of the document without hurting the texts in the document, i.e, I want the logo to be in the background. Can I do ...
0 votes
0 answers
24 views

Background color for all existing floats(documentclass revtex and aastex)

The question is a follow-up to this. I hope to add the background color to all floats in batches without changing the content of these existing floats. This code works well when the documentclass is ...
  • 149
0 votes
1 answer
30 views

Save position information of all existing floats

The question is a follow-up to this one. Background color for all existing floats I hope to save the generated yellow background box location information to a new TXT file, as the floating element ...
  • 149
1 vote
1 answer
82 views

Background color for all existing floats

I'm using this code to add background color to all floating elements: \makeatletter \def\foo#1\normalcolor\vbox\bgroup#2!!{% \def\@xfloat ##1[##2]{#1% \normalcolor \hbox\bgroup{\color{yellow}\...
  • 149
3 votes
2 answers
259 views

Background color for tikzpicture

I learned from this answer to put a background color behind existing floats without having to change the content of these existing floats. \documentclass{article} \makeatletter \def\foo#1\...
  • 149
1 vote
1 answer
71 views

How to use background package multiple times

how can I use background package to draw different backgrounds? For example, this code \usepackage[center,all]{background} \SetBgContents{Wrote by Human - Wrote by Human - Wrote by Human - } \...
0 votes
1 answer
67 views

Sandpaper-like page background

How can I add a background to the pages of my document as in this example? Original source: http://www.tsengbooks.com/images/6176s.pdf
  • 3,871
0 votes
2 answers
76 views

Different Backgrounds for title page and rest of the document (Koma Book)

I use something like \usepackage[pages=some]{background} \backgroundsetup{% firstpage=true, contents={First Page}, placement=center } which sets the contents on the title page. I now would ...
  • 25
1 vote
1 answer
53 views

Is it possible to add a background color just to an accent?

For something like \hat{w} or \vec{v} is it possible to set the background color for just the accent, i.e., the background of w and v would be normal, but the circumflex and vector symbol would be ...
  • 1,607
4 votes
3 answers
703 views

How to add a black rectangle in left side of every page in LaTeX

I really need to add a simple black box (rectangle) on left side of my pages in LaTeX with a fixed position. I have added a sample image. There isn't any concern with using an SVG file or just draw ...
  • 41
1 vote
1 answer
77 views

How to define a section(subsection) with custom background colorpage?

Is it possible to redefine certain \section or \subsection to have custom pagecolor? There are certain solutions like: How to change the background color only for the current page?, underline and ...
  • 147
1 vote
0 answers
74 views

Watermark text to fill the text area

Consider this MWE: \documentclass[table]{standalone} \usepackage{lipsum, graphicx, polyglossia, enumitem, amssymb, pifont, booktabs, cancel, animate, ulem, ragged2e} \usepackage[most]{tcolorbox} \...
  • 2,375
7 votes
1 answer
664 views

Beamer: How to set background color only on title page in theme

I'm developing a Beamer theme and I want to make the background color of the title page one color and all the other slides to have a different color. I've found that I can change the background color ...
  • 9,652
0 votes
2 answers
69 views

Coloured background on part of a page

I am trying to colour the background of the top fifth of a page. I thought that I should use eso-pic and tikz for this, and came up with the following: \documentclass{scrbook} \usepackage{eso-pic} \...
  • 2,626
0 votes
1 answer
104 views

Double background image on new chapter

I'm using the following template: https://www.overleaf.com/latex/templates/template-for-a-masters-slash-doctoral-thesis/mkzrzktcbzfl. I am trying to put background images on the page that state a new ...

1
2 3 4 5
14