Tagged Questions

{backgrounds} concerns different ways and circumstances where colour or images constitute a backdrop to typography

learn more… | top users | synonyms

3
votes
1answer
783 views

Column background image

I have a two column frame (via wiki2beamer): \documentclass{beamer} \begin{document} \begin{frame} \frametitle{Background Test} \begin{columns} \column{0.3\textwidth} \begin{itemize} ...
3
votes
1answer
1k views

Different backgrounds for title and “normal” frames in beamer

I want to draw different backgrounds for the title frame and normal frames in beamer, using tikz. Doing this for the normal frames was straight forward, but that background now also shows up on the ...
4
votes
1answer
810 views

How to avoid background / frame break in code listings with math / mathescape?

I have lots of C++ sources with LaTeX formulas in the comments. Ideal for using the listings packages to pretty print the source. However, most of the formulas break either, the background or the ...
9
votes
2answers
1k views

Spy with scale and pgfonlayer in tikz

When I use spy and scale in a tikzpicture, the magnifying glass seems to be magnifying a region not where I specified. The small pointer is in the correct location, though. If I set scale=1.0, the ...
5
votes
2answers
1k views

Making an image with a transparent background

I do not know what is the official term for such images, but if I make an image in TikZ or pstricks then I want it to have no background; for example I might post it on a webpage with a different ...
9
votes
2answers
4k views

Background image for frame title

Using beamer, how can I insert a background image under the title of each frame? I could insert an image but the result was that the title disappeared because the image is over it. Any ideas?
5
votes
2answers
2k views

Background overflows when using rounded corners for listings (package: `listings`)

I'm using listings to list code in my document, and I want the code to be displayed in a frame with rounded corners and a grey background color. But the background overflows the frame, as if the frame ...
6
votes
1answer
2k views

Overlay LaTeX/TeX coding easily on PDF with 300 pages

I've been looking for a way to overlay TeX/LaTeX i.e maths language etc (everything LaTeX is designed for) onto a background document containing 310 pages combined together in a PDF file. So far I ...
6
votes
1answer
226 views

How to put one cartoon in the background of one book

I would like to add one cartoon in the right margin of odd pages in one book. More precisely, ... ... the page #1 must contain the picture #1, ... the page #3 must contain the picture #2, ... the ...
3
votes
1answer
2k views

Using opacity in tikz and the background package

I'm trying to take a given figure, make it a little whiter and put the result in the middle of the page under the text, using the package background. \documentclass[12pt]{article} ...
11
votes
1answer
6k views

Beamer background image centered

I'm trying to use an image as a background for Beamer presentation according to this post. However, I do not want the image spanning the entire background. Thus, I'm doing something like: ...
8
votes
4answers
3k views

Background image for minipage

I'd like to put a background image into a minipage, stretching exactly to the surrounding fbox. What's the best option to do that? (Searching the web, I only found solutions for backgrounding the ...
20
votes
3answers
6k views

How to change the background color only for the current page?

How can I change the background color only for the current page? I found that I can change the color with \pagecolor{color} but that unfortunately changes the color for all pages after this command. ...
8
votes
3answers
4k views

Highlight environment by setting a gray background color

The title explains everything. I have a theorem with ntheorem and want to highlight it with a gray background color. What would be the easiest way to achieve this?
14
votes
2answers
5k views

Installing background and foreground page layers with TikZ

Several times I discovered the need to draw TikZ material behind and on top of the page text (How to draw text-anchored tikz line below text instead of above?, Test if a paragraph has a page break in ...
2
votes
1answer
710 views

Text not visible if positioned over included colored pdf?

I'm having a strange issue with LaTeX: My document uses a PDF background that is included with \includepdf{pdf/title}. This PDF consist of some logos and a solid red colored stripe across the page. I ...
2
votes
1answer
1k views

pgfplots and backgrounds library

When I use framed option from backgrounds tikz library for axis environment, this example works ok: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{tikz} \usepackage{pgfplots} ...
4
votes
1answer
2k views

TikZ: Background rectangles with equal width but 'fitting' height

I'm trying to make sort of a flow chart for a series of steps, but these steps are also grouped, and I'd like my diagram to reflect that. So I'm using the pgfonlayer/background environment to draw ...
4
votes
3answers
2k views

Fill a grid with TikZ

How do I fill a grid in TikZ? I want to do something like: \draw[draw,fill=red!20] (0,0) grid (2,2); instead of manually drawing 4 rectangles.
9
votes
1answer
7k views

Change text background within paragraph (with automatic linebreaks)

How do I change the text color as well as the text background color for e.g. a sentence within a paragraph? I know \textcolor for coloring the font and \colorbox for background coloring ...
1
vote
1answer
198 views

What are the possible positions can be used with the background package?

I can't find the possible positions documented anywhere. I am looking for positions like current page.south west, etc. Anyone knows where I can find complete list of the possible positions? The ...
20
votes
3answers
13k views

Techniques for embedding images with transparent backgrounds in LaTeX

I am trying to embed an image with a transparent background in my LaTeX poster. However a quick google search has taught me that it is not possible to do so. However I intend to know any clever ...
12
votes
2answers
10k views

How to make a block transparent for a background image

I use the code \usebackgroundtemplate{ \centering \includegraphics[width=0.5\paperwidth,height=0.5\paperheight]{image.png} } to get a background image in a Beamer/Latex presentation. ...
12
votes
1answer
665 views

Page Bordering with an image?

I want a custom border for my document. I was thinking of doing something like this, creating a border with a graphics tool(only the outer frame) and then placing it in the beginning of the document, ...
2
votes
1answer
2k views

Background color in Verbatim

I've to use the yellow background for data values in the following code. \usepackage \begin{Verbatim}[commandchars=\\\{\}] \color{blue}DATA \color{black}Heart; \color{blue}INPUT \color{black}X Y @@; ...
4
votes
2answers
4k views

Background for table cells in LyX

The title speaks for itself - how do I choose a background color for table cells in LyX?
9
votes
1answer
1k views

Background transparency for PDF/SVG

I am using lua/xe/latex to generate a logo as a PDF and convert it to an SVG using pdf2svg for use on a web page. I would like to have a transparent background for the PDF and SVG. The transparent ...
6
votes
3answers
6k views

Setting background colour for part of a page

I am designing a business card using the memoir class and hints given here and am trying out various background effects. Specifically, I would like to change the background for the last third of the ...
7
votes
3answers
8k views

Colored fancy boxes

I am trying to produce some fancy boxes. I have found the fancybox package that does the boxes I want. What I can't find now is: How do I change their background color? I would also like to make the ...
14
votes
2answers
9k views

Changing style of alert environment in beamer

I would like to specify a background color in the alert environment. I can, for example, use \setbeamercolor{alerted text}{fg=blue} to change the colour of the alterted text to blue, but this ...
21
votes
2answers
18k views

Change the background color of a frame in Beamer

How can I change the background color of one frame in my Beamer document? I tried doing \begin{frame} \setbeamercolor{background canvas}{bg=violet} % frame contents here \end{frame} but it ...
38
votes
2answers
37k views

How to insert a background image in a beamer frame?

Apologies in advance if my question is very basic. I am still learning my beamer skills, so please bear with me. I want to insert a background image in a beamer frame and use this "frame" as a beamer ...
4
votes
1answer
1k views

Change float background colour

Background Including images within Algorithm floats. The images are trimmed to size automatically by a batch file. Problem In the following portion of the PDF, Listing 1.1 has a lot of space to the ...
3
votes
2answers
1k views

rectangles in beamer background canvas

I am trying to create a custom title page in Beamer, and I've tried many things, but I'm just helpless with all the solutions I found. I would like to create only in the title page, the following ...
45
votes
3answers
13k views

How to create alternating rows in a table?

Sometimes you can see in books tables, that have alternating background color for rows in a table to support readability. How I can achieve this with LaTeX? And yes, I could put macros \odd and \even ...
28
votes
3answers
10k views

PDF letterhead as document background

My institution's letterhead is available as a PDF file. The PDF is not just of the logo (to be placed in a corner), but of the entire page. Is it possible to make this PDF the background of the ...
63
votes
2answers
37k 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 ...