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

learn more… | top users | synonyms

8
votes
3answers
248 views

Two backgrounds in a graph

How can I set two different backgrounds in a graph using pgfplots? In my case, I need a colored background for x<5 and a different background for x>5.
3
votes
1answer
92 views

Transparent and centered image into a frame formed for two bars (head and side)

I tried to center a transparent image into a beamer slide and it worked perfectly (code is shown below), but now I have a beamer presentation with two bars: one on the head (2.5cm) and one on the left ...
3
votes
1answer
80 views

grayed box for enumerate

I am using a lyx article template . I want to put my all enumerate items in grayed box . How can I define the enumerate environment in preamble so that all my enumerated lists appear in a grey boxes. ...
1
vote
0answers
157 views

Change background color for only a section of the page?

I understand one can easily change the background color for text portion easily, but I would like to do the same for an entire portion of the page. How does one change background color for only a ...
1
vote
0answers
72 views

(A Problem)Background without transparency in hardcopy printed out page, Why?

the pictures do not layout with transparency as watermark(appear behind text page) on printed page with using a printer unit.(My mean is the actual hardcopy printed out page) Why??? How can I do this ...
1
vote
2answers
158 views

Two pictures in one background

I have a document that has only one page(in pdf). How can I to have a background as watermark with two(or multiple) pictures on this page(as a watermark)?
8
votes
1answer
407 views

How to put on every page ornament symbol

I would like to use somehow command \eachpageornament to place ornament border on every page of my document. I can do that using that new command on each page, but suppose our document have 200 pages, ...
6
votes
2answers
145 views

How to seamlessy color the background of a series of \items

I need to change the background of a number of (full) \items in a numbered list. I saw the answers to How to highlight an entire paragraph? and (naively) tried to do the following: ...
3
votes
1answer
89 views

How to set a background color for a listing?

Someone who knows how to fill with color only the box? \begin{shaded} \begin{lstlisting} if (a < b) { printf("A is smaller than B!\n"); } a = b; \end{lstlisting} \end{shaded}
12
votes
1answer
399 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
376 views

White-colored text and black background using the article class

I'm using the article class to generate an exam paper. In this exam paper, I want the subject header to be bold and centered aligned as shown in the picture below: I tried a couple of options as ...
4
votes
2answers
503 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){% ...
9
votes
1answer
530 views

How to add a gradient fade-out effect to an image?

I am working on a presentation in beamer and would like to put a logo in the background of the title page with a gradient fade-out effect, similar to the image below. The logo is in PDF format and is ...
3
votes
1answer
1k views

Put a beamer background image in the right bottom corner

In beamer, I like to place a background image in all my slides. So I could use this: \usebackgroundtemplate{ \tikz[overlay,remember picture] \node[opacity=0.3, at=(current page.center)] { ...
3
votes
2answers
94 views

highlighting vowels using a background color [duplicate]

Is it possible to give the letters a,e,i,o,u,y a different background color in a piece of text by using a loop or package? For instance, give the a's a red background, the e's a blue background, etc. ...
4
votes
1answer
179 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
90 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
162 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
115 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
1k 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
139 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 ...
14
votes
2answers
385 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
184 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
141 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
282 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
134 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
163 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
1k 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
167 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
168 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, ...
7
votes
1answer
6k 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
114 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
432 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
572 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
246 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
158 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
223 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
433 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
275 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
351 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
353 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
202 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
404 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
372 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
107 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
263 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
137 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
1k 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
783 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 ...