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 ...
0
votes
0answers
50 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
22 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 ...
0
votes
1answer
74 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 ...
4
votes
1answer
93 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} ...
7
votes
1answer
149 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 ...
4
votes
2answers
150 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: ...
8
votes
3answers
227 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.
8
votes
1answer
350 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, ...
9
votes
1answer
411 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
969 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)] { ...
1
vote
1answer
149 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 ...
3
votes
0answers
124 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
153 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
977 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 ...
6
votes
1answer
133 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
865 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} ...
7
votes
1answer
476 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
463 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 ...
4
votes
2answers
310 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 ...
6
votes
2answers
651 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 ...
7
votes
3answers
271 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 ...
2
votes
1answer
445 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} ...
15
votes
1answer
1k views

Is it possible to use tikz to draw a background on the printed page?

Imagine I want to draw a filled shape behind something already typeset in the page. The usual approach is to define a \tikzmark command which simply remembers a coordinate using remember picture and ...
2
votes
1answer
564 views

TikZ background not working

I am drawing a block diagram with TikZ. While everything is working like a charm, I cannot draw in the background. My code is \documentclass{article} \usepackage{tikz} ...
1
vote
0answers
156 views

xelatex multilingual book with framed pages [closed]

I am compiling a multilingual book (Arabic+English), ~1400 pages, using the memoir class, and have been trying to frame each page with a simple black border using the following: ...
14
votes
2answers
2k views

Set table background hatched and shaded using tikz

I am looking for a convenient way to set the background of tabular cells. I'd like to do two things: (1) Set the background shaded in a color (2) Set the background hatched I learned that the TikZ ...
4
votes
3answers
1k views

How to draw star in TikZ background

I draw shapes on background via pgfonlayer \documentclass{article} \usepackage{tikz} \usetikzlibrary{backgrounds} \begin{document} \begin{tikzpicture} \begin{pgfonlayer}{background} ...
9
votes
4answers
3k views

Fitting background in Tikz

I need that the grey background also includes the labels T1 and T2 \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning,fit,petri} ...
2
votes
1answer
838 views

Applying backgrounds to TikZ scope

I have problems creating a background for a scope envionment Here is part of the code I used for a beamer slide: \documentclass{beamer} \usepackage{tikz} ...
6
votes
1answer
588 views

position background image with \SetBgAnchor

I want to print an A4 page on B4 stock, with crop marks and bleeding square grid. I use memoir for crop marks, and background with TikZ for the grid. I would like the (0,0) in TikZ be placed at the ...
5
votes
1answer
1k views

Transparent background on page 1

I try to include a 'Watermark' in some documents. To achieve that I use eso-pic and tikz. The problem is, that I don't get transparancy in one-paged documents. As soon as the document has more than ...
3
votes
1answer
1k views

Different backgrounds for title and “normal” frames in beamer

I want to draw different backgrounds for the title frame and normal frames in beamer, using tikz. Doing this for the normal frames was straight forward, but that background now also shows up on the ...
9
votes
2answers
1k views

Spy with scale and pgfonlayer in tikz

When I use spy and scale in a tikzpicture, the magnifying glass seems to be magnifying a region not where I specified. The small pointer is in the correct location, though. If I set scale=1.0, the ...
5
votes
2answers
1k views

Making an image with a transparent background

I do not know what is the official term for such images, but if I make an image in TikZ or pstricks then I want it to have no background; for example I might post it on a webpage with a different ...
6
votes
1answer
2k views

Overlay LaTeX/TeX coding easily on PDF with 300 pages

I've been looking for a way to overlay TeX/LaTeX i.e maths language etc (everything LaTeX is designed for) onto a background document containing 310 pages combined together in a PDF file. So far I ...
3
votes
1answer
2k views

Using opacity in tikz and the background package

I'm trying to take a given figure, make it a little whiter and put the result in the middle of the page under the text, using the package background. \documentclass[12pt]{article} ...
14
votes
2answers
4k views

Installing background and foreground page layers with TikZ

Several times I discovered the need to draw TikZ material behind and on top of the page text (How to draw text-anchored tikz line below text instead of above?, Test if a paragraph has a page break in ...
4
votes
1answer
2k views

TikZ: Background rectangles with equal width but 'fitting' height

I'm trying to make sort of a flow chart for a series of steps, but these steps are also grouped, and I'd like my diagram to reflect that. So I'm using the pgfonlayer/background environment to draw ...
4
votes
3answers
2k views

Fill a grid with TikZ

How do I fill a grid in TikZ? I want to do something like: \draw[draw,fill=red!20] (0,0) grid (2,2); instead of manually drawing 4 rectangles.