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

learn more… | top users | synonyms

9
votes
2answers
9k 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 ...
7
votes
2answers
58 views

Looping through several background images in beamer

I have an image directory with several images: p1.jpg p2.jpg p3.jpg p4.jpg I also have the following environment that sets the background image to a frame: \newenvironment{imageframe}[1] {% Set ...
17
votes
2answers
566 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
1answer
39 views

Beamer background and text

I have provided a minimal example of the output I have shown below: \documentclass [compress]{beamer} \newcommand\Fontvi{\fontsize{6}{7.2}\selectfont} \usepackage{remreset} \usepackage{textpos} ...
3
votes
2answers
148 views

How to make a rectangle of 3 colors with Tikzstyle and Tcolorbox

I've to write a book in arabic, with a background given by an image with stripes in 2 colours in the margin of the page. I include it in the document without any problem with the package bachground. ...
2
votes
1answer
48 views

Change background color for text block

I want to change the style for \quote areas in my entire document. These three lines is what I came up with. Font and margins changes take effect but not the bg color. Only the first char's bg color ...
3
votes
1answer
91 views

Background color across the entire textwidth for chapter headings - koma script

I have a very similar question to this old (and already answered) one: Giving headlines a background color spanning across the entire typearea However, the solutions provided there only work for ...
3
votes
1answer
59 views

Background not aligning

I have following document \documentclass[a4paper,12pt]{report} \usepackage[left=1.5in,right=1in,top=1in,bottom=1in, includefoot,heightrounded]{geometry} \usepackage{graphicx} \usepackage{xcolor} ...
5
votes
4answers
162 views

How to change the background color within a page

I have a one page document like below. I would like the background color would be green, then I would like change it to yellow. Is it possible? \documentstyle{article} \begin{document} ...
1
vote
1answer
70 views

how to remove the background for png picture

I would like to make the background transparent. In Texmaker, if I right-click on the TikZ picture, I can save it as a png image as follows If I save this picture, I get the white background. Is ...
2
votes
2answers
136 views

How to place a background image on page (using tikz?) that goes behind everything

I want to place an image behind everything on a specific page in my document to liven it up a bit. The first I tried to do was to do was put in a tikz-picture as background, and it worked pretty well, ...
10
votes
3answers
4k views

Matrix change row or column background

I have a matrix shown below. I would like to have the whole row green rather than only the cells ... how can I do that? \begin{equation}\label{eq:appendrow} \newcommand\x{\times} ...
2
votes
1answer
162 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 ...
1
vote
2answers
105 views

How to set opacity/transparency to vector image?

Hold your horses!. If you are hurrying to flag this as a duplicate of this question or this question none of those have an answer to what is asked here. Thanks for the attention though. I ...
8
votes
1answer
256 views

Background notebook template with spiral

I would like to print a document with math text to look like the picture below: However, I would like to be able to edit : color of background the position of spiral grid on/off i tired this ...
0
votes
0answers
20 views

lstinputlistings mark parts of the code [duplicate]

I am including my source code with the listings package and \lstinputlisting[options]{path/to/code.c} Now I want to mark some parts of the code with a different background, or a different text ...
0
votes
0answers
52 views

I have a business card template that uses labels and I want to add a watermark/background

I am making business cards that use labels to slice them up and give me multiple per page, but I also would like to have a background or watermark on them. I have tried using this code, but it puts ...
2
votes
1answer
29 views

No Background Title in mdframed

I'm dealing with mdframed. I wrote some text in a grey background frame. Then I want to display the frame title, but I don't want that the box which contains the frame title is visible (actually it's ...
2
votes
0answers
168 views

Problem with background pictures (\AddToShipoutPicture)

EDIT: adding \usepackage{grffile} did the trick!!! I'm having some troubles with the frontpage of my document. I use \AddToShipoutPicture*{\BackgroundPic} to print 2 .eps files as background on which ...
1
vote
1answer
62 views

How to place edge-to-edge image across top of page?

I have a patterned background vector image that I'd like to place across the top of one page of my multipage document (a report if it matters). The image is not the full size of the page, so what ...
2
votes
1answer
155 views

tikz matrix background color for unevenly sized cells

I've adapted the example below from elsewhere on this forum. What I'd like is to have the background fill to come out as a rectangle covering the contents of all cells. What is the easiest way to ...
2
votes
0answers
72 views

Different display of listing's background (Texmaker internal PDF viewer & Adobe Reader)

I have following code: \documentclass[10pt,a4paper]{article} \usepackage{color, eso-pic, tikz} % Create commutative diagrams \usepackage{listings} \definecolor{light-gray}{rgb}{0.95,0.95,0.95} ...
1
vote
1answer
127 views

Fading effect in navigation bar

\hpagecolor[color1]{color2} changes the background color gradually from color1 on the left to color2 on the right. If only color2 is given, the background will be in that color, fading from left to ...
1
vote
1answer
57 views

creating a background for a group of nodes

How can I put a background for a group of nodes (but the group of nodes is created before drawing the background). The problem is that if I draw a rectangle before creating the group (i.e. before ...
2
votes
1answer
110 views

Adding background color to active sections of beamer sidebar

I have designed a theme for my beamer presentation which has sidebar in it. Now I want to add background color for active items in the sidebar. How can I do that? Following picture shows what I ...
2
votes
1answer
163 views

Spread Image Pages in Chapter Opener [duplicate]

Chapter Opener Image is full page image. I have need to mask half page image and frond-end would like to put some text. I'm expecting the output (see screenshot). How do achieve this in LaTeX/XeLaTeX. ...
5
votes
1answer
108 views

What is difference between template's `background` and `background canvas`?

What is difference between: \setbeamertemplate{background}{ \begin{tikzpicture}[remember picture,overlay] \shade[top color=yellow!75!green!33,bottom color=blue!66!green!33,middle ...
8
votes
1answer
229 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 ...
31
votes
3answers
11k views

PDF letterhead as document background

My institution's letterhead is available as a PDF file. The PDF is not just of the logo (to be placed in a corner), but of the entire page. Is it possible to make this PDF the background of the ...
2
votes
1answer
67 views

TikZ and tikzorbital: bacground and caption fill width correspondence

Current question related with my other question, TikZ and tikzorbital: problem with background. In prevous question, the problem with layers has been decided: All I need is just fill rectangle ...
1
vote
1answer
64 views

Customizing background color in List of Corrections with the FiXme package

Suppose I'm using the FiXme package: \usepackage{fixme} \fxsetup{ status=draft, author= , layout=inline, theme=color} \definecolor{fxnote}{rgb}{0,0,0} % black ...
2
votes
0answers
45 views

Verbatim and Bacground&TikZ compatibility problems

If to compile below MWE, you'll get next error: According the error message, the problem is tikz and calc library package, which looks like links with background package. Also, you will not find ...
1
vote
1answer
65 views

Background package - \NoBgThispage different output

This question related with my oter two questions: Replacing \fancyhdr with \titlesec in complicated design documents White fields in ltjsarticle class The design, which has been reached in these ...
4
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 ...
17
votes
3answers
10k views

Background image in beamer slides

In my presentation using Beamer, I want to use some image say village/river as a back ground in some slides. However I will write something in these slides also. How can I do this?
0
votes
0answers
120 views

Changing Background Color for Beamer Slides

I have the following beamer code I am using. I would like to change the background to a light cream color (we can use yellow for example purposes). I have looked on the net and here for a solution and ...
6
votes
3answers
2k 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: ...
1
vote
2answers
279 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 ...
5
votes
1answer
13k views

Transparent image background in beamer

I want to add a background image in my beamer presentation. The thing is that when I use \usebackgroundtemplate{ \includegraphics[width=\paperwidth, height=\paperheight]{cern-logo.jpg} } in my ...
3
votes
1answer
67 views

Why the background of a pgf fitting node with minimum width equal to another (backgrounded) fitting node's width is shifted?

I have two pgf fitting nodes: one below the other, left aligned, with different (unpredictable) widths, and I'd like them be backgrounded, with backgrounds of the same width. For this, I got help ...
3
votes
1answer
64 views

How to change the pagestyle and print a note with \cleardoublepage?

I'm using this solution provided here to clear the pagestyle when blank pages are introduced due to the usage of the openright option in the report class and the \cleardoublepage command: ...
0
votes
0answers
44 views

Adobe doesn't render a beamer frame correctly?

I have a beamer presentation with the following frame: { \usebackgroundtemplate{ \tikz\node[opacity=0.1] {\includegraphics[width=\paperwidth]{mypic.jpg}}; } \newgeometry{margin=0ex} ...
1
vote
2answers
114 views

How to clear the background of just the current page?

eso-pic provides \AddToShipoutPictureBG to add content to the background at every page and \AddToShipoutPictureBG* to add it only to the current page. \ClearShipoutPicture clears all the content. But ...
2
votes
1answer
47 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 ...
8
votes
2answers
636 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
41 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, ...
6
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 ...
3
votes
1answer
139 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} ...
14
votes
2answers
328 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 ...
4
votes
4answers
335 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 ...