{backgrounds} concerns different ways and circumstances where color or images constitute a backdrop to other elements on a page

learn more… | top users | synonyms

4
votes
1answer
292 views

Span background image across whole page

I want to put a background image on a file which uses the scrartcl class. The target pdf output size is A4 which is exactly the size of the background image (210mm x 297mm). The image should therefore ...
1
vote
2answers
63 views

colorbox around parbox too big

I want to typset some text with colored background and outline, that spans the whole \textwidth. I tried to get this with a colorbox surrounding a parbox. It works in some way, but the colorbox is ...
1
vote
1answer
34 views

Background color for a range of lines in Minted

I have a long piece of code that highlight with minted. I would like to have a background only around a block of code. How can I achieve that? I tried to use something like escapeinside=|| to create ...
11
votes
2answers
156 views

TikZ: having trouble drawing a randomly generated graph on the background of a page

I have some code to generate random graphs: \documentclass{article} % code hijacked from: https://gist.github.com/fgrosse/5807324 \usepackage[utf8x]{inputenc} \usepackage{amsmath} ...
1
vote
0answers
40 views

Background in a0poster documentclass

I am using the a0poster documentclass to prepare my scientific poster. I would like to add a transparent background in my poster. I found a solution for the beamer class with \usebackgroundtemplate ...
14
votes
5answers
502 views

How to put a background letter in a table?

I have a table with some numbers in it, such as \documentclass{article} \begin{document} \begin{tabular}{llll} 1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\ ...
7
votes
5answers
5k views

Giving headlines a background color spanning across the entire typearea

I posted this at stackoverflow and got redirected here. This does indeed look like a better place to ask. I would like to decorate my headlines (section, subsection, etc.) by adding a background ...
5
votes
2answers
647 views

Using two different wallpapers in the same document

I have a 2-page document (letter) where I want to have a background image on both pages, but not the same image on both. It seems as though the wallpaper package can only work with one image. Is ...
7
votes
2answers
325 views

Color background for chapter titles which stretches horizontally to the margins

I'm working on my chapter titles. I like them to have a background which stretches to the edge of the page. The drawbacks of the minimal document below are: The TOC also has the background, too. ...
5
votes
1answer
33 views

How can I avoid a persistent warning concerning possibly changed labels when using background and TikZ?

Last month, I posted the following code as an answer to a question. The code gives the right output. However, what I did not notice but Thérèse did is that it generates a warning concerning undefined ...
4
votes
1answer
68 views

Problem with Background Picture

Edited for an MWE (that hopefully works) I'm having trouble with the coding. I have this one picture, and I edited another picture to base it off that. As you could probably tell, that shaded ...
6
votes
2answers
2k views

Image at bottom right Corner of the type area

With the following code I put an image in the bottom left corner of a page (see How to place an image in bottom left hand corner on every page? too). \newcommand{\BackgroundPic} {% \put(0,0){% ...
3
votes
4answers
133 views

How to shade text in latex without a box?

I would like to add a background shade to my text in a report. I do not want to use a box to wrap the text though. Is this possible? MWE of my code is given below. In the code, I would like to shade ...
2
votes
0answers
35 views

fontspec and background

XeLaTeX seems to calculate background positions different from pdflatex. I want to create a borderframe around a page using the background package. But unfortunately the result compiled with pdflatex ...
1
vote
1answer
78 views

Draft watermark in both margins using the background package

I tried to adapt How to add “DRAFT” along the left/right margin? to have symmetrical "DRAFT"s along both margins, one running down the right margin, and one running down the left margin. Trying the ...
1
vote
1answer
89 views

How to insert a pdf as background?

I want to use a pdf page as background for a title page. The pdfpages package does a good job inserting the page, but I can't write my content on it.
2
votes
1answer
53 views

No background canvas for plain frame

I created background canvas for my presentation. I don't want the image if the frame style is plain. How can I extend my style file that no background image appears if \begin{frame}[plain] is used. ...
0
votes
2answers
99 views

Text on background-image footer and header

I'm trying to create a template for my article, which has an image on the header, and on on the footer. I also want to put text on these images. The result would look like this : (Blue and green ...
3
votes
1answer
47 views

cancel line through a tikz picture in the background

I have defined a command \kr to draw a small circle to use it as a letter. Later I want to cancel out a circle. But the cancel line is in the background, see picture. How can I make the cancel line be ...
73
votes
3answers
54k views

How to create a background image on title page with LaTeX?

I want to put a background image on a title page of a document. Is it possible and does it work? EDIT: The answer by Presidenten using the eso-pic package and my answer found after some research ...
1
vote
1answer
59 views

How to make rounded box and shaded background behind text in Latex?

I am trying to create a following image in LaTeX for my resume. I can find a lot of questions and answers being discussed on the perfect rectangular background but not the rounded shape.
0
votes
1answer
96 views

Create simple logo in tikz

How can I make a 400 x 400 pixel logo with tikz, having a background color and a text with a specific font on top? I guess I should use \usetikzlibrary{backgrounds} ...
2
votes
0answers
52 views

Ink usage of white text background

I am working on a project that contains a lot of colorboxes and floats with background color. This consumes a lot of ink, which makes me consider making a separate copy available that uses transparent ...
1
vote
0answers
56 views

Two images with background package

Good morning. I'm using background package. I think that I follow the package istructions, but I have two questions: The second image don't appear. Where I'm wrong? It's possible to move number-page ...
16
votes
2answers
11k views

How to change white background of an included PDF to transparent

I have an external 100 pages PDF document (not created by pdflatex) that I \includegraphics page-wise into a beamer presentation. The external PDF document employs white as page color, but I need the ...
2
votes
1answer
68 views

How to draw in the background colour in TikZ?

Imagine I want to do the following: \documentclass{beamer} \usetheme{default} \usecolortheme{rose} \usecolortheme{seahorse} \usepackage{tikz} \begin{document} \begin{frame} ...
19
votes
3answers
496 views

Background clip to text Tikz

I'm using Tikz to design the cover of a book and I need to do something like this : I've tried to use some tricks given here but it did nothing. I'm actually using the following code: \makeatletter ...
3
votes
1answer
51 views

How can I give a background color for '\bibentry'

How can I give a background color for \bibentry? Something like that (by using \bibentry{ahlswede2000network}): Bibentry: Ahlswede, R., Cai, N., Li, S.-Y. R., and Yeung, R. W. (2000). Network ...
5
votes
2answers
133 views

How can you put multicolor backgrounds in a table entry?

I'm wondering if these is a simple way shade an entry in a table with multiple background colors. Image attached shows between 0-3 colors per table item entry.
2
votes
1answer
100 views

poster-layout: background and boxes

I have to make a poster in latex for an elaboration. I have an idea for the layout of this poster: a corkwall for the background and notepads for the style of the boxes, with little pins. Is it ...
1
vote
1answer
67 views

Send an image to the background

I have a image on a page, and the whitespace creeps onto the header and covers it. I realise I could make the image smaller, or crop some of the whitespace on the original image, but I have lots of ...
0
votes
0answers
134 views

Putting an image as a watermark in beamer

I'm doing a presentation in Beamer, and I'm trying to put some images in the frames, but I don't know how to do it. I hope you can help me. Thanks so much!
5
votes
2answers
298 views

Add an “Article in Press” watermark like in a research paper

Like research papers I want to put something like "Article in Press" between the texts. How can this be achieved?
2
votes
0answers
193 views

How do I create a Beamer presentation based on a Google Doc template?

I have a Google doc presentation template (two slides - title page and sample page) and I need to create a matching presentation using Beamer. How do I do that? I have a vague notion that this would ...
4
votes
3answers
263 views

beamer background content top-right

How can I place a background image in beamer at a certain distance from the top and right page margin? So far I only managed to control the horizontal position: \documentclass{beamer} ...
4
votes
2answers
361 views

Watermark using background package in beamer

Is it possible? Doesn't work for me with the following code: \documentclass{beamer} \usepackage{lipsum} \usepackage{background} \backgroundsetup{ placement=center, scale=1, ...
3
votes
1answer
92 views

Why the uncover operation doesn't work for the background in beamer?

I use the code below. \documentclass{beamer} \usepackage{tikz} \usetikzlibrary{backgrounds,positioning,fit} \begin{document} \begin{frame} \begin{figure} \begin{tikzpicture}[scale=0.5] ...
2
votes
1answer
81 views

How to control the height and width of background when using TikZ?

\documentclass{beamer} \usepackage{tikz} \usetikzlibrary{backgrounds,positioning,fit} \begin{document} \begin{frame} \begin{figure} \begin{tikzpicture}[scale=0.5] ...
38
votes
2answers
2k views

Partially coloring cell background with histograms

Excel has a cool feature called "data bar" conditional formatting that allows the user to partially fill a cell background to create histograms based on cell contents. Here is a screen clip example ...
2
votes
1answer
92 views

Background color of the block of text

I want to have something like given in the picture. Borders above and below of the box are optional. I tried \colorbox, but it doesn't work. \documentclass{report} \usepackage{color} ...
16
votes
2answers
18k views

Changing background color of text in Latex

How can I make change a text background in LaTeX? For example using Latex code \textsc{Extra Curricular Achievements}\\ I get However, I want the background of this heading to be changed so that ...
7
votes
2answers
113 views

Looping through several background images in beamer

I have an image directory with several images: p1.jpg p2.jpg p3.jpg p4.jpg I also have the following environment that sets the background image to a frame: \newenvironment{imageframe}[1] {% Set ...
17
votes
2answers
943 views

Getting verbatim with soft grey background, as in tex.stackexchange

Given a verbatim as on below, \begin{verbatim} This is an awesome verbatim \end{verbatim} which is displayed with no background on the compiled pdf page : This is an awesome verbatim I would ...
3
votes
1answer
174 views

Beamer background and text

I have provided a minimal example of the output I have shown below: \documentclass [compress]{beamer} \newcommand\Fontvi{\fontsize{6}{7.2}\selectfont} \usepackage{remreset} \usepackage{textpos} ...
3
votes
2answers
213 views

How to make a rectangle of 3 colors with Tikzstyle and Tcolorbox

I've to write a book in arabic, with a background given by an image with stripes in 2 colours in the margin of the page. I include it in the document without any problem with the package bachground. ...
4
votes
1answer
445 views

Change background color for text block

I want to change the style for \quote areas in my entire document. These three lines is what I came up with. Font and margins changes take effect but not the bg color. Only the first char's bg color ...
3
votes
1answer
227 views

Background color across the entire textwidth for chapter headings - koma script

I have a very similar question to this old (and already answered) one: Giving headlines a background color spanning across the entire typearea However, the solutions provided there only work for ...
3
votes
1answer
76 views

Background not aligning

I have following document \documentclass[a4paper,12pt]{report} \usepackage[left=1.5in,right=1in,top=1in,bottom=1in, includefoot,heightrounded]{geometry} \usepackage{graphicx} \usepackage{xcolor} ...
6
votes
4answers
406 views

How to change the background color within a page

I have a one page document like below. I would like the background color would be green, then I would like change it to yellow. Is it possible? \documentstyle{article} \begin{document} ...
1
vote
1answer
281 views

how to remove the background for png picture [duplicate]

I would like to make the background transparent. In Texmaker, if I right-click on the TikZ picture, I can save it as a png image as follows If I save this picture, I get the white background. Is ...