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

learn more… | top users | synonyms

2
votes
1answer
36 views

LaTeX won't let me put two background figures

I'm writing a book in LaTeX. I want to put a page-filling .png figure behind every 'Part_X' frontpage and every 'Chapter_X' frontpage. The page-filling .png picture is different for every Part and ...
2
votes
2answers
31 views

latex background image issue

Using the Latex eso-pic package I am inserting a background image using the following lines: \AddToShipoutPictureBG{ \AtStockLowerLeft{ ...
9
votes
4answers
487 views

Let's get fancy: Text like tag?

How to make some text appear with a background like it appears in tags, for example the tags in Stackoverflow?
3
votes
1answer
43 views

Setting a custom RGB background color in beamer

I believe I've correctly followed the manual in defining a custom background color in the example below. But as the example shows, the background color is black rather than an extremely pale ...
3
votes
2answers
72 views

tcolorbox with fancy text

Driven from Let's get fancy: Text like tag? , I wrote this code: \documentclass{article} \usepackage{tcolorbox} \definecolor{mycolor}{rgb}{0.122, 0.435, 0.698} ...
2
votes
1answer
38 views

How to insert a background image in moderncv?

I would like to insert an image (in ligth grays) created with PsTricks (similar to the popular TikZ) as a background image in moderncv. In the PsTricks images I would insert some LaTeX formulas in ...
1
vote
1answer
53 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 ...
0
votes
1answer
39 views

Include picture in top right, in the background of the rest of the document

I'm trying to recreate my CV with Latex, but currently struggle to include a picture of me in to top right, as it is usual. I'm using this template and added \noindent \hfill ...
8
votes
3answers
440 views

Wrap a text in a triangle

is it possible to wrap a text inside a triangle like the following image?
1
vote
2answers
42 views

Additional 'Draft' watermark using printwatermark and xwatermark packages

I am using the packages printwatermark and xwatermark to add a watermark in background this way: \usepackage[printwatermark]{xwatermark} ... ...
2
votes
1answer
15 views

Setting background color to text in ConTeXt (Mark IV)

I need to highlight some text in ConTeXt to get something like this: Concerning background colors, all I've found in the manual is some example with \framed command, which is inappropriate to me ...
0
votes
1answer
45 views

Section title with background color and line breaks in KOMA

I want my subsection title to have a colored background with support for line breaks. There are a few questions about spanning that background to the margins - that's not what I want to achieve, ...
1
vote
1answer
58 views

Adding Semi-transparent Background Image to Tikz Axis

I have a bunch of figures that contain line plots to which I would like to add a background image showing the geometry compared to the data. What I would like to know is: How can I add a ...
2
votes
1answer
486 views

Image centered on full slide with background color in beamer

Specifying both a background color and a background image for beamer slides is a bit tricky when notes are shown. I tried three approaches but none works perfectly (the idea is to avoid white borders ...
14
votes
4answers
7k views

Matrix change row or column background

I have a matrix shown below. I would like to have the whole row green rather than only the cells ... how can I do that? \begin{equation}\label{eq:appendrow} \newcommand\x{\times} ...
17
votes
2answers
1k 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 ...
1
vote
1answer
145 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 ...
4
votes
1answer
121 views

Highlight Text with Background Color

I try to highlight text with \texttt font and background color (somehow like the highlighting on StackExchange: this). I tried with a colorbox, but the problem is that it doesn't support line breaks, ...
5
votes
3answers
158 views

Change the page color starting at page x

I need to be able to change the background color of a document and the pagecolor package seems like a good fit. However, what I also need is a command that allows me to color all pages that start at a ...
4
votes
2answers
420 views

How to add backgorund zeros on a cover page of a documents like in the screen of Matrix movie?

I want to first make a black (or other colour) cover photo and then want to use zeros, Feynman Diagram etc. distributed randomly on the page with green colour fonts. The font must be light so that I ...
12
votes
1answer
906 views

LaTeX class for creating markdown style output

I am a long time user of LaTeX. I have found, however, that using Markdown gives me a document which is "easier on the eyes". LaTeX often looks like textbooks. Does anyone know LaTeX classes (or ...
4
votes
1answer
312 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
105 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 ...
11
votes
2answers
178 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
81 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
531 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 \\ ...
8
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
733 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
357 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
36 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
96 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
207 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
43 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
129 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
266 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
70 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
200 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
65 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 ...
74
votes
3answers
59k 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
101 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
138 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
73 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
77 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
12k 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
80 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} ...
20
votes
3answers
576 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
64 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
144 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
141 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 ...