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

learn more… | top users | synonyms

4
votes
1answer
85 views

How to include Big Draft text as background only for imported document part

I want to include a big "Draft" text on the background in some files imported by the import package in this way: \subimport{}{test.text} How can you include such a big "Draft" text to the ...
0
votes
2answers
122 views

background framed box with newenvironment “encadre”

I want to use a floating framed box that could be nicely placed in the text. \fbox needs to be placed by hand. I wrote this code which was exactly what I want to get...but with a floating object. ...
8
votes
3answers
390 views

Listing background broken by \colorbox and \framebox

I am using listing environment (listings package) with the background parameter. I want to highlight some lines of code and I am using the \colorbox, \makebox and \framebox to achieve this. However, a ...
4
votes
1answer
114 views

change background if frame has no title

I would like to change my background canvas according to whether my frame has a title. This is the form I'm using (etoolbox): \setbeamertemplate{background canvas}{ ...
4
votes
2answers
656 views

Restricting the background color to an ovalbox

The snippet \documentclass[png,convert={density=600}]{standalone} \usepackage{times,fancybox,varwidth,color} \pagecolor{cyan} \cornersize{1} \begin{document} \ovalbox{\large Hello} \end{document} ...
8
votes
3answers
252 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
100 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
81 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
164 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
76 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
168 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
451 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
156 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
90 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
418 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
426 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
573 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
610 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
95 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
186 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
95 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
174 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 ...
1
vote
1answer
116 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
152 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
416 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
200 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
151 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
325 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
140 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
167 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
171 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
178 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, ...
8
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
122 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
445 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
634 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
276 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
170 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
238 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
450 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
283 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
361 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
375 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
207 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
425 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
381 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
109 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). ...