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

learn more… | top users | synonyms

4
votes
1answer
161 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. ...
0
votes
0answers
85 views

How to put image as background in slide

\documentclass[a4paper]{article} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[frenchb]{babel} \usepackage{arabtex} %\usepackage{lucidabr} ...
1
vote
1answer
144 views

Custom background on beamer slide - outline of pgf path rectangle

I'm trying to make custom background for my slides in beamer presentation, gradient one to be exact. It is going pretty good, mainly because of other people questions here, but I have one problem that ...
0
votes
0answers
14 views

Text in tabular dissappears if I set gray tabular background [duplicate]

Here is the MWE of a problem. Text dissapears in the cells which are in any way connected to \multirow command. Some cells must stay orange while table background must stay grey. Is there any way to ...
1
vote
1answer
106 views

Problem with the background image?

I am trying to insert a background image in my LaTeX file, but as I write the commands and compile, the background images are in the correct positions but the rest of the images get shifted to the end ...
15
votes
1answer
803 views

Beamer: How to remove global background image from a certain frame?

I have set a global background image \usebackgroundtemplate { \centering\includegraphics[width=\paperwidth,height=\paperheight{bgs/global.png} } The problem is, I need to replace this with a ...
2
votes
0answers
114 views

Remove white margin from a page tiles with an image?

I am trying to tile a page with an image. I have successfully added the image using the command \TileWallPaper from the background package, but I am having a problem with a white margin on the left of ...
13
votes
2answers
310 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 ...
2
votes
0answers
166 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 ...
2
votes
0answers
120 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 ...
4
votes
0answers
251 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 ...
3
votes
0answers
117 views

Node colors change after building (texmaker pdf and real pdf looks different)? [closed]

I have tried (my own way) to make the example in the TikZ & PGF Manual for Version 2.10 (p. 68). When I build this code, the pdf-file does not look identical to the PDF viewer in texmaker. What ...
3
votes
1answer
144 views

Error after exiting pdf in Texmaker and SumatraPdf

After compiling the document below: \documentclass[letterpaper]{article} \usepackage{background} \usepackage{lipsum} \newcommand{\edpeercopyright}[2]{% {\small\color{black}Copyright \copyright\ ...
3
votes
1answer
921 views

Gradient background for Beamer slides?

I'm trying to create a background gradient for a set of Beamer slides. This question seems to be doing more or less what I want but the answer does not work for me. If I paste the answer into a file ...
7
votes
1answer
154 views

ConTeXt+MetaPost: Non-conflicting random background and foreground colours

Overview Looking to create a page that has a random (and non-consecutively repeating) background colour with titles that are also random. Problem The code has two problems. First, generating a ...
7
votes
1answer
158 views

MetaPost: Randomly generated number, distinct from previously generated number

Overview Looking to create random page background colours where the same background colour never appears more than once in succession (i.e., red, green, blue, green, blue, red, etc. -- never red, ...
6
votes
1answer
4k views

Changing background color of text in Latex

How can I make change a text background in LaTeX? For example using Latex code \textsc{Extra Curricular Achievements}\\ I get However, I want the background of this heading to be changed so that ...
2
votes
1answer
93 views

\SetBgContents text size

I was trying to add custom page number style using the background package. here is my code \makeatletter \AddEverypageHook{% \SetBgPosition{0.5\textwidth,.05\textheight} ...
4
votes
1answer
384 views

Removing heading in Dresden beamer theme and adding a background

Following several example, I success in removing headline and footline for my first frame. However, I tried to use a background image and unfortunately with the Dresden theme (and others maybe) a ...
5
votes
2answers
450 views

How to let background image cover entire Beamer slide?

I successfully use the usebackgroundtemplate command to set a background image for a specific slide in Beamer as follows \documentclass{beamer} \mode<presentation> { \usetheme{CambridgeUS} } ...
3
votes
1answer
184 views

How to give color and style to one table in lyx

I have been trying to do something like this in Lyx. As you can see is a very simple style that I been trying to reproduce but without any success. I know there are to many questions related to ...
3
votes
1answer
136 views

How to wrap text around framed floats in ConTeXt?

The goal is to embed an image into a coloured box with text. I tried with \placefigure and \starthangaround. They work fine outside a frame, but once put inside a frame the text collides with the ...
3
votes
2answers
199 views

How to highlight all inline math in document?

As the title says, I would like to highlight all the content of $...$, \(...\), \begin{math}...\end{math} in my document. My last trial, however not really well asked was: Background color for ...
3
votes
1answer
409 views

Expand background image to fill page in ConTeXt

Background Looking to make a background image scale to fill an entire page. Code I tried changing the dimensions of the page to fill the entire area and then drop in an external image: ...
3
votes
1answer
249 views

Different TileWallPaper on right and left side

I've A3 page layout, which is divided into two A4 paper layout. Currently there is same "TileWallPaper" used as background images on both A4 size layout of A3 paper. I'm looking for option to have ...
2
votes
1answer
293 views

Always scale and clip background image so it fills the page

I have learned from other answers how to use an image file as background and make it transparent. Since my background files do not necessarily have the exact page dimensions (they are provided by ...
4
votes
2answers
310 views

Alternating Background Image for different chapters in Memoir

I have used a background image throughout my book. The code I used evolved from this question and answer (thanks to @GonzaloMedina): "Margin vertical rule on outside margin of twosided memoir" My ...
1
vote
2answers
191 views

Add content behind beamer background (or theme)

I have a custom beamer template that frames the content of each slide, like the standard themes but with wiggly header/footer lines. I add the background image of the template with ...
3
votes
1answer
326 views

ConTeXt: How to change the background color and border of a Pandoc-generated blockquote?

Consider the following minimum working example containing a blockquote as defined in a Pandoc-generated document: \setuppapersize [A4][A4] \setuplayout [width=middle, backspace=1.5in, ...
6
votes
1answer
338 views

Set margin background colour for all chapter pages

Problem The \setupbackgrounds macro has the ability to change the background colour of the margins, from the top of the page to the bottom: \setupbackgrounds[footer,header,text][rightmargin][ ...
2
votes
2answers
104 views

How to make an 'if' on roman numbered pages and another 'if' on arabic numbered pages

I want to make some conditions on roman pages and another condition on arabic numbered page. (I want to know how to remove the background from specific pages in both numbering categories). ...
4
votes
1answer
247 views

Animated graphic in front of frame title?

I am using the beamertemplate and I have one frame: \frame{ \frametitle{Title text} \begin{textblock*}{50mm}[1,1](15.9cm,9cm) \includegraphics[width=1.9cm]{thumbnail.png} \end{textblock*} ...
6
votes
1answer
132 views

how to flip margin watermark in a two sided document

I have a problem that i didn't figure out how to solve it. I want that the background flips each time we turn the page. This way pair pages will have the background margin on the left , and the impair ...
16
votes
4answers
837 views

How can I draw a TikZ element multiple times against a shaded background?

If I have two tikzpictures drawn: \documentclass{article} \usepackage[margin = 1in]{geometry} \usepackage{tikz} \usetikzlibrary{decorations.pathmorphing,calc,shapes,shapes.geometric,patterns} ...
3
votes
2answers
677 views

How can I make text automatically visible or high contrast in a Beamer presentation with photo backgrounds?

Is there an environment or package I can use to make text always visible on a beamer presentation (with photo backgrounds)? How can one ensure a 'high contrast text colour depending on the ...
1
vote
0answers
166 views

Shade background in pgfplots [closed]

I am using pgfplots package. I tried to use shade axis background. It is working in the .dvi output... But I don't see the shade when I convert it into pdf. Can anybody tell me the reason? I use ...
7
votes
1answer
458 views

background for pgfplots and other tikz constructs

The answer to ybar stacked interferes with tikz background raises further questions I solved some of them. With the background commented out the MWE below produces this image: With the background ...
4
votes
1answer
145 views

ybar stacked interferes with tikz background

When I compile the following code with ybar stacked option and the request for newsprint background the compiler tells me ! Extra }, or forgotten \endgroup. \endpgfonlayer ->\endgroup \hss \egroup ...
2
votes
1answer
192 views

Colored background for \sidebar in Memoir

I am looking to set a background color for my sidebars in the memoir class. Is there a way to do this? I am looking to add a light grey background to my side notes so that they stand out. Other ...
6
votes
2answers
403 views

Highlight \verb in inline text

I'm new in LaTeX and I'm searching for solution to highlight verbatim text inside paragraph (for example, it is like on this page, where code is highlighted). Can anyone help me with this? Let say, ...
4
votes
1answer
435 views

Combine pgfplots on common background

This image is two tikzpictures side by side, each with a newsprint background (thanks to Background image for pgfplots chart). I want them combined, so they appear on the same torn sheet of ...
6
votes
1answer
211 views

How to span the background graphic across verso and recto pages in ConTeXt?

I want to place background images behind all of my part titles, with the image spanning across two pages, e.g.: ___________ ___________ | | | | Part 1 | | | Birds of ...
8
votes
1answer
1k views

Background image for pgfplots chart

Following up on the answer to proper tool for charts in tex I've built this picture to simulate/replace a scanned image from a newspaper: I've tried several ways to put the background newsprint ...
4
votes
2answers
473 views

PSTricks -> How can I compile a graph/figure to obtain an PNG/JPG with background transparent?

How to obtain this graph in a PNG/GIF/JPG graph with transparent background? \documentclass[12pt,a4paper,x11names]{report} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} ...
4
votes
2answers
306 views

How can I force a TikZ background pattern to be underneath nodes? (using layers)

I am drawing Simon Dik's Functional Grammar Model Overview using TikZ, but I have run into a stumbling block. It is a design flaw on my part, and I would rather not redesign everything. The box called ...
7
votes
1answer
193 views

Single/Double side environment with different backgrounds

I'm having trouble aligning some of the elements. I would like align Check Box and Cross Box to be same size so that they look nicer below is what i got so far. Also it would be great if they can ...
1
vote
1answer
191 views

Spacing issues with letterhead background

I have a letterhead background that I use on cover letters. I am having spacing issues with some text being obscured by the letterhead image. I have tried using \\, \\*, vspace{5in} etc to no avail. ...
5
votes
1answer
144 views

Background color for inline math with linebreaks?

What's the simplest way to achieve coloured background for the inline equation in the following example: \documentclass{article} \begin{document} Completely unimportant text $ABC_{1234} = ABC_{1234} ...
3
votes
2answers
60 views

Breqn color and background options ignored?

I have this simple latex code: \documentclass{article} \usepackage{color} \usepackage{breqn} \begin{document} \begin{dmath}[background={red}] 1+1=2 \end{dmath} \end{document} However using ...
5
votes
1answer
688 views

Tables as Header and footer

I've been struggling with my .tex for quite some time now, and decided its time to look for help. This is the situation: all docs here (my office) need to bring, as header, a table (3 columns) which ...