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

learn more… | top users | synonyms

4
votes
2answers
394 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
210 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
439 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
396 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
110 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
284 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
142 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
834 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
191 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
545 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
160 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
225 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
542 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, ...
5
votes
1answer
570 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
221 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
590 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
343 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
213 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
241 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
146 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
64 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 ...
7
votes
1answer
1k 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 ...
6
votes
2answers
736 views

How to make an image for backgrounds with exact A4 dimensions?

In order to make a background image that fits the page perfectly, I have tried two things. The first is to use a document class where the dimensions of the page can be set to that of A4, which ...
4
votes
1answer
187 views

Understanding conditional page background in ConTeXt

How does the following code work? Source: discussion on the mailing list \setuplayout [header=0cm, topspace=1.625cm, footer=0cm, width=fit, height=fit] \startMPinclusions numeric ...
1
vote
0answers
34 views

How do I get rid of the white background underneath my shadow? [duplicate]

I have selected a specific background for my beamer slides and I am using the theorem environment for my theorems. When I turn the shadows on for the blocks however, instead of giving me nice shadows ...
3
votes
1answer
4k views

Beamer: Transparent AND centered background image on intro slide

I know this is similar to other questions. Other answers address either: Adding a transparent image Centering an image but I cannot find an answer with both. With previous answers I can ...
6
votes
3answers
1k views

How to set size of pdf page in pixels and put a background image

I need to create certificates in pdf. I have an image, where the text must be put to the appropriate place. I managed to set the correct pdf page size and all margins, except the top: ...
6
votes
2answers
168 views

Highlighting code like one would in a SE post

When posting on SE, users can "highlight" code by using the ` symbol. Is there any way to get that in LaTeX? My intention is to highlight segments of code or particular functions. To be clear, I'm ...
3
votes
2answers
142 views

Background color for existing floats (e.g. w/o defining a new environment)?

I'm trying to make all my figures (including caption) backgrounded with a decent color. I already found these questions with some nice answers: How to set a background color of figure environment? ...
2
votes
1answer
239 views

Trouble setting background color using Standalone's convert command

I'm creating PNGs directly from LaTeX using the xelatex, the standalone document class and the convert option of standalone. I have ImageMagick installed, and it all works fine. The only issue is ...
2
votes
2answers
727 views

How can I add a background to every page except the first?

I want to make a company letterhead in LaTeX (example output here), and I did it using fancyhdr and absolute positioning, which, while horrible, worked fine so far. I must have updated XeLaTeX, ...
7
votes
3answers
290 views

Fitting as a background to nodes in multiple pictures

I'm using TikZ pictures to represent terms in an equation, and I want to visually group some of these terms by drawing a rectangle behind them. But each term is its own separate picture, which means I ...
0
votes
1answer
317 views

Modify single page size and insert image

I'm trying to generate a PDF where every page has a background image and some text placed at specific positions. Some of the pages are normal A4 portrait and others are landscape. My problem is that ...
6
votes
1answer
632 views

“Grid” of background images in Beamer frame

I am trying to get a 2x2 grid of background images in a Beamer frame. I'd like the images to touch on all side (i.e., no whitespace around images). I am able to get a tabular environment inside ...
11
votes
2answers
807 views

Background color in pgfplots that extends beyond the axis of the plot

I am interested in adding a background-color to my pgfplots plot that extends beyond the axis of the plot. See the image bellow for clarification; I am interested in adding a background color such as ...
3
votes
1answer
2k views

Background image from tikzpicture does not fit the whole page

For a poster, I would like to have an image fill the whole page. This image is supposed to be drawn within a tikz environment as my other content. However, graphicx seems to fail at rescaling when the ...
0
votes
1answer
198 views

Custom command for switching background image

I use the wallpaper package to put a PDF document in the background of my document. I want the user to be able to select in the preamble which PDF should be use as background image like this: ...
6
votes
1answer
2k views

Background Package with Options [closed]

I get the error message Error: Unknown option pages=some for package background, when I tried to compile the following code from the manual of the Background package. \documentclass{article} ...
7
votes
2answers
125 views

Controlling the exact positioning and size of individual glyphs

I'm typesetting a book using the memoir document class. The overall layout comes with a background image. This image incorporates space for the page numbers in the footer which looks like a slot ...
5
votes
3answers
330 views

Put a frame around all pages, except one, in a book

I am writing a book and would like to put a red, 5pt thick frame around all pages, except around one page in the middle of the book, which contains a figure that is bigger than the frame. The frame ...
3
votes
1answer
1k views

How do I change the background color of a footer in beamer

I know just enough about beamer to be a danger to myself. I am trying to change the color of a footer in Boadilla and am struggling. First, I have declared \usecolortheme[named=black]{structure} ...
3
votes
1answer
137 views

How might I get rid of these vertical blue boxes on the side of pages that are either blank, or first in the chapter?

I've been looking for a method of having different designs on odd/even pages, and from what I found on Google, background seems to be the package to do it; but in using it, it indiscriminately puts my ...
6
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, ...
4
votes
1answer
593 views

page background color for Part

I want to set the background color specifically for the page created for each "Part" section in my document (e.g. Part I xxx, Part II xxxx). I am using the book document class. Solutions for setting ...
5
votes
1answer
927 views

Make picture background transparent in beamer

I make a PNG picture by using PowerPoint, and include that picture in my slide. However, the picture's background is neither white or transparent. What should I do? You can see the slide below: The ...
2
votes
1answer
529 views

TikZ - Changing the “z-index” of backgrounds

In the following code, I would like to place the backgrounds under the numbers and not the contrary as it is the case actually. Screenshot Code \documentclass{article} \usepackage{tikz} ...
17
votes
3answers
3k views

Color box with rounded corners around a fragment of a formula

Is there any way in TeX to highlight some part of a formula with a box having colored background and rounded corners? At present, I need to export such formulas into an image, add those highlight ...
1
vote
1answer
684 views

How to insert powerpoint slide into LaTeX file [duplicate]

Possible Duplicate: PDF letterhead as document background I have an image stored in powerpoint . I want to use it as my background in my pdf produced from LaTeX. What can I do so that I can ...