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

learn more… | top users | synonyms

2
votes
1answer
32 views

Put Text on Odd Pages Only

For a project, I am trying to create a document that looks like Martin Luther's 95 Theses. For this document, I need my paper to look like parchment. I found a suitable image for a background, but ...
7
votes
2answers
178 views

Change the background color of line numbers in a lstlisting?

Consider the following code which deals with a lstlisting. \documentclass{article} \usepackage[T1]{fontenc} \usepackage{listings} \usepackage{xcolor} ...
2
votes
1answer
21 views

Background package produces background on every page, despite firstpage=false

In the following example, pagenumber is printed on every page. What am I doing wrong? \documentclass[10pt]{article} \usepackage{background} \backgroundsetup{angle=0, scale=1, color=blue, ...
5
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 ...
2
votes
1answer
46 views

Vertical color background of section title

Good night. It's my problem about gradient colored section title, with vertical length. It's codes are, \documentclass{scrbook} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} ...
13
votes
2answers
207 views

Randomly assign background colour for each frame

How can a randomly picked 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 ...
3
votes
4answers
140 views

Tikz-Control relative coordinates in background layer

I am creating a block diagram which has two layers : the main one and the background one. What I am trying to do, is draw a rectangle as a background using relative coordinates. My code is ...
3
votes
1answer
90 views

Variable \hspace value in relation to outside margin (Two-sided Memoir)

So I have received a great deal of help on this. I myself did not create the code, but I have an additional need. As you can see from my MWE, I have a long two-sided memoir document that has a ...
0
votes
0answers
34 views

Draw a rectangle on page borders (not margins) with tikz? [duplicate]

Let's assume that the blue rectangle in the next image 1 represents the page borders, the gray rectangle represents page margins and, the black one represents what I need to draw using Tikz. I need ...
20
votes
3answers
6k 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. ...
0
votes
0answers
64 views

How to insert hebrew In backround (with Tikz) in Lyx

I try to do a background with a text on the top right corner of the page (with borders and page number) I succeeded in creating it but I want to insert a hebrew text (it renders english the way I ...
2
votes
0answers
29 views

lyx with background won't load unless I type \newpage after the text

I try to write a document with a background in lyx, I made sure it works on Texmaker, on Texmaker it needed to be built a couple of times and then it got it right but when I try to preview or export ...
4
votes
1answer
65 views

Lstlisting: width of background box

I'm trying to modify my listing environment in a way that the background color for the listing is expanded over the whole width of the page. So no white border left. Is this possible? I tried doing ...
7
votes
1answer
139 views

How Can I create a PDF background which is not printed (by default)?

I'm looking for a solution to include a PDF background layer, which is not printed by default. I've seen that adobe seems to support a watermark layer, as discussed on graphicdesign.SE. I cannot test ...
7
votes
1answer
867 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 ...
2
votes
1answer
46 views

Use two different background images, one in odd pages and the other on even pages?

I would like to know if there is a code on preambule wich allows me to alternate 2 images, placing one of them as background on even numbered pages, and the other one the odd numbered pages. Actually ...
4
votes
1answer
34 views

Color behind numbers in lstlisting

Currently, my listings use this style : \definecolor{lstgrey}{RGB}{217, 217, 217} \definecolor{lstback}{RGB}{246, 246, 246} \newlength{\numberlengthnormal} ...
4
votes
3answers
130 views

Adding background color to table cells in LyX

I'm doing some tables using LyX and I tried to set a color background in the cells , but I got this error: Undefined control sequence \rowcolor {cyan} & The control sequence at the end ...
6
votes
2answers
51 views

Background image used for a whole section/chapter at once

I've seen a few examples with \BgThisPage being used to specify a background image for 1 single page (or another command to set one for ALL pages at once). Those two extremes are the only options I ...
6
votes
1answer
72 views

How can I prevent the background from overlapping the rounded corners in an \lstinputlisting?

I want to include listings of external files in my document. These listings should have a solid background and rounded corners. The problem is, that if I define a style with frameround and ...
1
vote
1answer
47 views

Change footer and header background color for style simple in powerdot

I am using the style simple for creating slides with powerdot: \documentclass[style=simple]{powerdot} \begin{document} \begin{slide}{First slide} Hello world! \end{slide} \end{document} While ...
4
votes
2answers
71 views

Wrong section numbers when using background package

I am using background package to add current section number to the background of each page. But it seems the section number is wrong. The MWE is as follows: \documentclass[12pt]{article} ...
3
votes
1answer
83 views

Verbatim environment with gray background color and italics

I want a verbatim environment with gray background color and italics(bold fonts may be used also). The \lstlisting can set background but can't set italics. The \mdframed combined with \alltt can ...
4
votes
1answer
260 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*} ...
0
votes
1answer
83 views

Tikzpicture as background to pdfpages

I want to implement the answer here: Can I add tikzpictures to pages included with pdfpages. But I want the tikzpicture under the included pdf pages, not over it. Is there a straightforward way to set ...
7
votes
3answers
8k views

Colored fancy boxes

I am trying to produce some fancy boxes. I have found the fancybox package that does the boxes I want. What I can't find now is: How do I change their background color? I would also like to make the ...
4
votes
1answer
97 views

Is it possible to externalize and/or reuse tikz pictures when used as backgrounds for the page?

My experiments with externalisation have run into trouble. One issue is that it seems that I cannot externalise a tikz picture used as a page background: \documentclass{article} \usepackage{tikz} ...
4
votes
3answers
107 views

Put a grey background behind code extracts in a Latex document (like this site does)

I'm using the listings user package to insert extracts of code into my document, however it isn't distinct enough from the normal text as I'd like. Is there a way to put a grey background behind the ...
4
votes
2answers
313 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 ...
3
votes
1answer
51 views

“! Misplaced \omit” error in multicolumn and BlackCell

I ran into a problem with “! Misplaced \omit” error. I have searched quite hard to find the relevant problem but only find mine is similar with bigbadpiano's question in which A.Ellett generated a ...
1
vote
2answers
195 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 ...
5
votes
1answer
1k views

How can I set background colour for a whole column in beamer?

I'm making a poster (a2 size) where I use an image for background. However, I need to add a logo, which has a white background, to the top left corner.. \documentclass{beamer} \usepackage[size=a2, ...
3
votes
1answer
58 views

Avoid background to be shown in ToC and chapter page

I'm using the background package. Is there any option to remove the background from the ToC and from the first page of each chapter? Besides, is it possible to override the background on some pages ...
7
votes
1answer
156 views

Multi-Line/Wave Generator Package for LaTeX?

I'm looking at my professors slides now: http://www.math.ucla.edu/~virtanen/40a.1.14s/schedule/lec1.pdf The first slides always have these intricate wave lines. If you Google search for "wave ...
3
votes
1answer
119 views

How can I fade out the margins of a Beamer frame?

I'm making a poster with beamer. The department's printer has a specific printable area that I must stay within, but I'd like to have a gradual fade-out of my background pattern. How can I fade out ...
2
votes
1answer
84 views

How to fill whole page with psframe in a0poster?

Why doesn't this psframe include the right border of the poster? It colours just a square (see the output pdf picture). I'm compilating it with XeLaTeX. ...
0
votes
0answers
54 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
77 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. ...
7
votes
2answers
227 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 ...
1
vote
1answer
127 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 ...
4
votes
2answers
165 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
70 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
99 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 ...
19
votes
3answers
2k 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 ...
1
vote
0answers
112 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 ...
0
votes
0answers
86 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 ...
7
votes
1answer
126 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 ...
13
votes
1answer
2k views

Background color gradient for entire document

Is anyone aware if it's possible to change an entire document's background to a fading color? In other words, can you take silver and slowly fade it to white from left to right and have this same ...
1
vote
1answer
188 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 ...
8
votes
3answers
238 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.