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

learn more… | top users | synonyms

2
votes
1answer
72 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
338 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
344 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
120 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
114 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
178 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
371 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
223 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
221 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
243 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
158 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
266 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
292 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
98 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
204 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*} ...
5
votes
1answer
122 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 ...
15
votes
4answers
680 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
509 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
145 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
377 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
137 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
163 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
350 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, ...
4
votes
1answer
337 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
193 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
790 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
392 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} ...
3
votes
2answers
250 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
177 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
178 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
136 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
56 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 ...
5
votes
1answer
542 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
565 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
144 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 ...
0
votes
0answers
30 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
2k 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
686 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
164 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
128 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
174 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
456 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
234 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
219 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
457 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 ...
8
votes
2answers
535 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 ...
0
votes
1answer
135 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
1k 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
116 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
295 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 ...