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

learn more… | top users | synonyms

0
votes
0answers
14 views

Using \ChapFrame: Removal of dot after tag

When using \ChapFrame and, e.g., a tag such as \TheChapter is being used, I end up with a dot after my tag (referring to the \ChapFrame command as given in the answer to Chapter Title in rotated ...
3
votes
2answers
41 views

Prelim2e marking but centred without tikz

I use preliminary markup on draft versions of documents which specifies the svn repository number, timestamp, url etc. I prefer this to be typeset centred at the bottom of the page below the footer. ...
11
votes
2answers
89 views

Randomly assign background colour for each frame

How can a randomly picketed background colour be chosen for each beamer frame? Note: This question is asked to round out the question Randomly assign color to background in the PDF whenever page is ...
7
votes
2answers
197 views

Randomly assign color to background in the PDF whenever page is turned

Is it possible to change the background color of a Beamer presentation in the PDF in such way, that whenever I switch a page, the color is switched as well? Note that I do not seek a solution to ...
4
votes
2answers
94 views

Triangular background shading in tikz

With my code, I am now trying to add a background shading in the triangle created by C_4, D and C_5. I tried with pgfonlayer, but it only creates rectangular shading. Here is my current code: ...
1
vote
1answer
64 views

How to set a background image on a custom background color in beamer?

I haven't found this question anywhere and therefore no answer to it. I have a beamer presentation where I use \usebackgroundtemplate in order to put a background image. Now on some slides I would ...
1
vote
1answer
51 views

code-like strings with background color, and using tabular environment

I am going to create the following code-like strings with latex, with same background (gray), font, etc. How can I do this? I used listings package but inside \begin{lstlisting}...\end{lstlisting} ...
3
votes
1answer
75 views

How to make background in tabular cell (vertical lines)?

is there any way to make the following two horizontal lines on the background of a cell? Cell should contain either a blue or green horizontal line in the middle. Or the third option is both. Here ...
1
vote
0answers
53 views

background [v2.1] package extraneous output using backgroundsetup

While using the new background package (v2.1, 4 Mar 2014) with minimal LaTeX commands in \backgroundsetup, I receive a centered text as -1000pt in a classic "Draft" watermark style. I have tried ...
17
votes
3answers
1k views

Scary Font Echo Effect

I'm trying to reproduce a strange font effect that is normally seen in horror movie trailers. In the trailers, a word will usually be flashed on screen, with 'echos' or 'shadows' of the word around ...
0
votes
0answers
38 views

Problem with wallpaper package

I want to show one every page a file as background except the page one, there should be another background. I'm trying to do this with the code below. The problem is, that on the first page the ...
6
votes
1answer
87 views

Is there any way to add a background color to the header part of a file that use moderncv?

I was wondering if there are any way to set the background color of the header part (the one that contains personal info) of a file that uses moderncv in order to visually differentiate the header and ...
1
vote
1answer
69 views

Beamer: background color for section page?

I have defined a beamer template for a section page: \setbeamertemplate{section page} { \begin{centering} \usebeamercolor[fg]{section title} \usebeamerfont{section title} \insertsection ...
4
votes
1answer
61 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
66 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
202 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
53 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
193 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
190 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
55 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
60 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
89 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
52 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
126 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
283 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
102 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
74 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}
11
votes
1answer
282 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
121 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
213 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){% ...
8
votes
1answer
266 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
507 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
81 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. ...
3
votes
1answer
137 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
79 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
112 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
94 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 ...
14
votes
1answer
476 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
90 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
228 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
137 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
99 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
218 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
104 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
130 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
655 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
134 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
135 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, ...
4
votes
1answer
3k 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 ...