{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
1answer
60 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
46 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 \includegraphics[...
6
votes
2answers
384 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?
0
votes
2answers
39 views

Chapter Styling with background color out of textwidth

I tried to use hbox/wbox, tabular and colorboxes. Just look at image and this source. Could anybody help with correct styling? \documentclass{book} \usepackage{lipsum} \usepackage{tcolorbox} \...
4
votes
2answers
67 views

unusual geometry and background image

I'm trying to build my business-card. Nothing over-special for a first one. On the back, there will be so a qrcode linking to my http://card.vcf. On the front, my principals information on the center ...
1
vote
1answer
67 views

How to improve text readability on noisy, colorful background?

I have a noisy, colorful background, and I am writing text into it. The problem is that depending on the background color, part of the text is difficult to read. This is a TeXified question of this ...
9
votes
5answers
692 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?
2
votes
1answer
53 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
36 views

latex background image issue

Using the Latex eso-pic package I am inserting a background image using the following lines: \AddToShipoutPictureBG{ \AtStockLowerLeft{ \includegraphics[width=\paperwidth,height=\paperheight]{...
3
votes
1answer
52 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 beige....
3
votes
2answers
102 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} \newtcbox{\mybox}{nobeforeafter,...
2
votes
1answer
44 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 ...
8
votes
3answers
459 views

Wrap a text in a triangle

is it possible to wrap a text inside a triangle like the following image?
1
vote
2answers
59 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} ... \newwatermark[allpages,color=red!50,angle=45,scale=3,xpos=...
2
votes
1answer
18 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
50 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
61 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 semi-...
2
votes
1answer
512 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
8k 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} \newcommand\y{\...
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
153 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
135 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
164 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
426 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
921 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
320 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
120 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
183 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} \usepackage{...
1
vote
0answers
85 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
537 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
759 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
365 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. I'...
5
votes
1answer
37 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
105 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
211 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
140 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
327 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
72 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
240 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
69 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 ...
76
votes
3answers
60k 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
104 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
141 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} \begin{tikzpicture}[background/....
2
votes
0answers
84 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
85 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
84 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} \begin{...