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

learn more… | top users | synonyms

1
vote
2answers
60 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
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 ...
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} ...
14
votes
5answers
492 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 \\ ...
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 ...
3
votes
4answers
131 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
33 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
76 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
32 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 ...
1
vote
1answer
86 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. ...
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 ...
0
votes
2answers
98 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 ...
1
vote
1answer
58 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 ...
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} ...
3
votes
1answer
50 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
132 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
99 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
131 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?
19
votes
3answers
493 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 ...
2
votes
0answers
192 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
261 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
359 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] ...
2
votes
1answer
91 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} ...
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 ...
3
votes
1answer
173 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} ...
4
votes
1answer
437 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
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
402 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 ...
3
votes
1answer
226 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 ...
2
votes
2answers
437 views

How to place a background image on page (using tikz?) that goes behind everything

I want to place an image behind everything on a specific page in my document to liven it up a bit. The first I tried to do was to do was put in a tikz-picture as background, and it worked pretty well, ...
1
vote
2answers
317 views

How to set opacity/transparency to vector image?

Hold your horses!. If you are hurrying to flag this as a duplicate of this question or this question none of those have an answer to what is asked here. Thanks for the attention though. I ...
0
votes
0answers
20 views

lstinputlistings mark parts of the code [duplicate]

I am including my source code with the listings package and \lstinputlisting[options]{path/to/code.c} Now I want to mark some parts of the code with a different background, or a different text ...
0
votes
0answers
111 views

I have a business card template that uses labels and I want to add a watermark/background

I am making business cards that use labels to slice them up and give me multiple per page, but I also would like to have a background or watermark on them. I have tried using this code, but it puts ...
8
votes
1answer
772 views

Background notebook template with spiral

I would like to print a document with math text to look like the picture below: However, I would like to be able to edit : color of background the position of spiral grid on/off i tired this ...
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. ...
2
votes
1answer
49 views

No Background Title in mdframed

I'm dealing with mdframed. I wrote some text in a grey background frame. Then I want to display the frame title, but I don't want that the box which contains the frame title is visible (actually it's ...
2
votes
0answers
960 views

Problem with background pictures (\AddToShipoutPicture)

EDIT: adding \usepackage{grffile} did the trick!!! I'm having some troubles with the frontpage of my document. I use \AddToShipoutPicture*{\BackgroundPic} to print 2 .eps files as background on which ...
1
vote
1answer
122 views

How to place edge-to-edge image across top of page?

I have a patterned background vector image that I'd like to place across the top of one page of my multipage document (a report if it matters). The image is not the full size of the page, so what ...
2
votes
1answer
378 views

tikz matrix background color for unevenly sized cells

I've adapted the example below from elsewhere on this forum. What I'd like is to have the background fill to come out as a rectangle covering the contents of all cells. What is the easiest way to ...
2
votes
0answers
162 views

Different display of listing's background (Texmaker internal PDF viewer & Adobe Reader)

I have following code: \documentclass[10pt,a4paper]{article} \usepackage{color, eso-pic, tikz} % Create commutative diagrams \usepackage{listings} \definecolor{light-gray}{rgb}{0.95,0.95,0.95} ...