Linked Questions

112
votes
8answers
10k views

Sieve of Eratosthenes in tikz

I am writing notes for my students under the topic of prime factorization and I needed to illustrate the Sieve of Eratosthenes and this is what I came up with in tikz: \documentclass{article} \...
10
votes
3answers
436 views

Draw border of a line

I have a line like this: line.tex: \documentclass[12pt]{article} \usepackage{asymptote} \begin{document} \begin{asy} unitsize(1cm); defaultpen(0.5cm); draw((0,0)--(1,1)); \end{asy} \end{document} ...
24
votes
2answers
2k views

How can I put a coloured outline around fraction lines?

I use the contour package to put thick white outlines around labels in graphs, so they remain readable above the grid lines without taking up too much space. Unfortunately, the package is not able to ...
16
votes
2answers
718 views

Draw Text in different shapes

I'm trying to draw text in shapes (using scaling and path). I want text to show up like this: I've tried a lot of different methods, but I'm having trouble doing so. I can get close to it using ...
12
votes
2answers
2k views

Outline text using TrueType fonts

I'd like to write outlined text. Here is a minimal example, what I'd like to achieve. \documentclass[a4paper]{minimal} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{xcolor} \...
6
votes
2answers
177 views

Stacking 3 font weights

I would like to write a presentation title in the following manner: The 3 font weights appear to be stacked one on top of the other. Is this possible to manage with Tikz?
29
votes
1answer
556 views

Have LaTeX document slowly transform/fade from one font into another

A couple months back, I recall reading an article where LaTeX's metatype system is used to have a document fade from one font into another. The example had several pages of serif text that slowly ...
17
votes
1answer
937 views

Use node text as argument for a macro

I would like to create a TikZ style that adds a thick outline to the node text using the \contour{<colour>}{<text>} macro from the contour package (as in the answer to the question TikZ: ...
15
votes
1answer
778 views

Telling Tikz/Tex to produce raster instead of vector in resulting PDF

I am using MikTeX and Tikz package to generate images (playing cards on A4 paper). The result is nice, but slow (too many vector objects, printing is hell slow). Is there a way to directly tell TeX "...
8
votes
1answer
1k views

Contour around multi-line tikz text

I am trying to produce a text inside a node which has a contour. Problem is: when using contour, text width seems to be ignored, so I can not use auto multi-line text. I discovered contours in tikz ...
6
votes
1answer
159 views

TikZ node shape depends on inside text

In one of my previous answers, my first proposal \documentclass[tikz]{standalone} \usetikzlibrary{quotes,angles} \begin{document} \begin{tikzpicture} \draw (0,-4)--(0,4) node[above] {$Im$} (-4,0)--(...
2
votes
1answer
83 views

TikZ: Define a style of node that puts halo/contour around text [duplicate]

How put halo around text using the contour package as suggested in this answer in many nodes by defining a style? MWE: \documentclass[tikz]{standalone} \usepackage[outline]{contour} %halo around ...
1
vote
1answer
27 views

List of all available parameters of \boxgs{arg1}{arg2} of “pdf-trans” package

An interesting box transformation I have found on the following page: https://tex.stackexchange.com/a/169549/26458 is pdf-trans package. It seems there is no manual available. Only example is provided....
1
vote
1answer
999 views

How to produce hollow Greek letters (in math mode)

I have a strange question regarding the notation of my thesis. My paper is on the topic of quantum algebra, so I have a plethora of symbols to sign to my definitions and defined functions. In a recent ...