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

learn more… | top users | synonyms

5
votes
1answer
518 views

Does latex have the z-index property

May be this is a very strange question. But I found this property is very useful to control the overlap element. So I wonder if latex own this property as HTML div. Do you have any better idea to ...
10
votes
2answers
2k views

Abstract with light background color

Is there a way to add a background color to the abstract? I tried various combinations of \colorbox and the \begin{abstract} ... \end{abstract} environment, but nothing worked. I use the current ...
4
votes
3answers
2k views

How to draw star in TikZ background

I draw shapes on background via pgfonlayer \documentclass{article} \usepackage{tikz} \usetikzlibrary{backgrounds} \begin{document} \begin{tikzpicture} \begin{pgfonlayer}{background} ...
1
vote
1answer
211 views

footnotes background color

In the usual Latex document classes, is there a simple way to have a background colour behind the footnotes only? It would probably help the reader in the organization of a page between main text and ...
1
vote
1answer
1k views

Using beamerdefs.sty insert background wallpaper on title

I have one .tex file which uses a beamerdefs.sty file. I now want to have a background picture (only) on the title page, but the problem is, the begin document section starts later and if I try to ...
6
votes
4answers
3k views

Verbatim environment with background color (PDFLaTeX and tex4ht)

I need to make a verbatim environment with gray background color, such as: That needs to work with PDFTeX and tex4ht on an older TeX installation (from 2009 I believe). My approach so far is ...
9
votes
4answers
4k views

Fitting background in Tikz

I need that the grey background also includes the labels T1 and T2 \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning,fit,petri} ...
4
votes
1answer
381 views

How to set two backgrounds?

background package defines a background with absolute position in preamble, but how to set two independent backgrounds at different positions? Consider we have two backgrounds as \SetBgColor{red} ...
8
votes
1answer
595 views

Inconsistent appearance of white \hline on black background

Are there known issues with the appearance of white text on black background? When I use several \hline in a table I get different appearances for the lines. It could appear as normal or weak or ...
8
votes
1answer
5k views

Can I Specify Title Page Customization in a Template Instead of My Document?

I'm trying to create a LaTeX beamer theme to match the official PowerPoint template of Rutgers University. I've been able to create the title page, and this MWE \documentclass{beamer} ...
13
votes
1answer
9k 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 ...
3
votes
1answer
1k views

Applying backgrounds to TikZ scope

I have problems creating a background for a scope envionment Here is part of the code I used for a beamer slide: \documentclass{beamer} \usepackage{tikz} ...
6
votes
1answer
678 views

position background image with \SetBgAnchor

I want to print an A4 page on B4 stock, with crop marks and bleeding square grid. I use memoir for crop marks, and background with TikZ for the grid. I would like the (0,0) in TikZ be placed at the ...
3
votes
2answers
2k views

Using the 'wallpaper' package to put a background on all but one page

I'm placing a background in my report document, using the LaTeX wallpaper package. However, I am not able to easily place a document on all pages except for one (the title page). I am using ...
13
votes
2answers
9k views

How to add background only to title frame and an other only to the last frame?

I just want to add a background only in the beamer title page. I can add it in the .tex as follows: \setbeamertemplate{background canvas}{ ...
5
votes
1answer
746 views

tiling a pattern for beamer background

Is there a solution to have a given pattern (lets say as a .pngfile) tiled on the background (background or background canvas) for beamer-presentations? I only find links to the wallpaper package, ...
6
votes
2answers
953 views

\AddEverypageHook just checks the first page

I am totally new to LaTeX and right now I'm trying to find out how everything works. For the following code I get a background picture only on the first page although I want to have it on all odd ...
3
votes
1answer
1k views

White horizontal lines in lstlisting

I'm having the following problem: I'm using the listings package to render what is supposed to look like a teminal screenshot. But the background colour is striped. In my other code snippets the ...
5
votes
1answer
2k views

Transparent background on page 1

I try to include a 'Watermark' in some documents. To achieve that I use eso-pic and tikz. The problem is, that I don't get transparancy in one-paged documents. As soon as the document has more than ...
8
votes
2answers
1k views

Exact centering of full-page background image

Here's the situation: I have to use memoir (v3.6j), with geometry (v5.6) and LuaTeX, version beta-0.70.1-2011061410 (rev 4277) in an A5 project which, in the final output have to be 3mm larger from ...
7
votes
4answers
4k 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 ...
8
votes
2answers
2k views

Background color for fancyvrb

For reasons unclear to me, fancyvrb doesn't have a background option. However, the minted package, which it is based on, has one, which suggests it should not be too difficult to add. The relevant ...
2
votes
2answers
157 views

Smaller font sizes in boitecoloriee environment gives bad result

The boites package defines environments that allow page breaks inside framed boxes whose edges may be variously fancy. The bundle includes a few examples (shaded box, box with a wavy line on its side, ...
7
votes
1answer
4k views

Adding background color to title slide in beamer

How can I add a solid background color only to the title slide in beamer? This is what I am doing after \begin{document} \setbeamercolor{background canvas}{bg=blue} \begin{frame} Hello \end{frame} ...
11
votes
2answers
1k views

Transparent background for mdframed environment?

Is it possible to specify a transparent background colour for the mdframed environment, so that anything which might be underneath will be visible?
6
votes
2answers
769 views

Making a checkered background for a page

I am writing a math work, and I'd like to create a background which looks like a math notebook. Any idea how to do it ? I found this solution, but I don't know how to put it in a mini-page ... %%% ...
3
votes
1answer
1k views

Multiple AddToShipoutPicture

\myTileWallPaper is defined in the classfile like this \makeatletter \newcommand{\myTileWallPaper}[4]{% \begingroup \setlength{\tileYoffset}{\wpYoffset} \setlength{\tilewidth}{#1}% ...
4
votes
1answer
689 views

Fixed marginpars with gray background in KOMA-Script

I am an newbie looking to achieve a sort of two column effect with my LaTeX report - I am using LaTeX KOMA-script as a base. I want my margin to appear in a different background color, (say) gray, ...
6
votes
4answers
1k views

Background color for the caption of a listing

I'm considering this piece of code \lstinputlisting[ language=C, breaklines=true, basicstyle=\scriptsize\ttfamily, numbers=none, ...
8
votes
2answers
1k views

Screen friendly/easy on the eyes background

Do you have suggestions on how to make a PDF file easier to read on a computer screen? By this I mean anything which isn't changing the format and layout, as this has been discussed in other questions ...
3
votes
1answer
842 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} ...
4
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
942 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 ...
6
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?
6
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 ...
7
votes
1answer
3k 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 ...
7
votes
1answer
239 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} ...
12
votes
1answer
7k 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 ...
24
votes
3answers
8k 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
824 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.
12
votes
1answer
8k 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 ...