Skip to main content

Questions tagged [transformation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
0 answers
70 views

Prevent transform canvas for coordinates

Answering this question: Transformations on Tikz/PGF shadings , I could only figure it out using transform canvas={yscale=-1}. This flips the colors of the shade. The problem now is that OP has a ...
hpekristiansen's user avatar
0 votes
1 answer
66 views

How convert equation environment to dmath environment automatically?

Sometimes I use software to generate Latex which does not support breqn package. It can create equation environment. Is it possible to add some code, in the preamble only, which converts any \begin{...
Nasser's user avatar
  • 20.3k
0 votes
0 answers
46 views

Can I show the raw generated text from a command in my document?

I am trying to debug my code and I keep running into the same problem so I would like to see what the command that causes the problem is giving to the compiler. I have looked for this and I can't seem ...
Balansoire's user avatar
3 votes
3 answers
667 views

How to shift (or transform) a TikZ path defined by named coordinates?

I wonder if it is possible to shift (or apply any another transformation) a path that is defined by named coordinates. Here is a minimal example: \documentclass{article} \usepackage{tikz} \begin{...
Tobard's user avatar
  • 1,211
0 votes
0 answers
72 views

Overlay page layout dimensions at full scale

I think it's useful if I first clarify the context of this question to help understand it. I'm compiling a mathematical LaTeX book that will be printed by the in-house printing service at my ...
Mew's user avatar
  • 843
7 votes
1 answer
260 views

Is it a limited numerical precision of Tikz or I don't understand the transformation?

I'm using a (-n active) nonlinear transformation of the form x \mapsto (x + a * sin x), y \mapsto y The problem is that the points with x = nπ, for n an integer, should be fixed points of the ...
Physor's user avatar
  • 431
4 votes
2 answers
133 views

Rounded corners do not transform well in Tikz under a nonlinear transformation

I want to apply a nonlinear transformation to the following image Whose code is \begin{tikzpicture} \draw (-4,-2) grid [step=1] (4,2); \draw[ fill=green!30, draw=blue, very thick, rounded corners=5ex,...
Physor's user avatar
  • 431
2 votes
1 answer
96 views

Nonlinear transformation applied on decorations along path with a custom pic

I am having a problem to apply a single nonlinear transformation to a path decorated with custom pics. A minimal example follows: \documentclass[margin=5pt]{standalone} \usepackage{tikz} \...
iago.oliveira's user avatar
1 vote
0 answers
67 views

How to Automatically Transform Specified Statements/Sentences into Capital Letters without Retyping [closed]

I have a fairly long document in which I have discovered that it may be preferable to display some statements or sentence with capital letters. There are quite a few such statements and I would like ...
DDS's user avatar
  • 9,768
0 votes
1 answer
85 views

rotating dual-colored circle without changing width or center

I am trying to have 5 circles in a row filled with either darkgray or lightlightgray or half-filled (to indicate skill level on a CV). This all works fine as long as I use rotations of (multiples of) ...
db_'s user avatar
  • 103
6 votes
1 answer
340 views

How do rotation and shifting transformation work in TikZ?

I'm new to TikZ so I was reading the TikZ documentation. On page 43, there is an example like below \begin{tikzpicture}[even odd rule,x=10pt, y=10pt, scale=4] \filldraw[fill=yellow!80!black] (0,0) ...
Moses Kim's user avatar
  • 183
3 votes
2 answers
134 views

Is there a more elegant implementation of this fit-to-bounding-box coordinate transform in TikZ/PGF?

I have a plottable function whose normalized domain is [0,1] and whose normalized range is [-1,1]. I also have two TikZ coordinates, (BOTLEFT) and (TOPRIGHT) defining the bottom left and top right of ...
COTO's user avatar
  • 165
4 votes
2 answers
207 views

How to use "sloped" when the x and y scales are different?

In the example below, I want to align the text to the right of the tangent, as the scales are different, the tilt is wrong. I tried to use "transform shape" by the text becomes unreadable (...
rpapa's user avatar
  • 12.4k
5 votes
3 answers
9k views

Mathpix snip free alternative (on linux)

Are there any alternatives to mathpix? I want to be able to take a screenshot and transform any mathematics in there to Latex. I can't use mathpix because it isn't free, and also because I am ...
Chrysalix's user avatar
2 votes
1 answer
140 views

Rotate full circuit, without any of the text

I have a schematics (grossly simplified in the below MWE) that I would like to use both upright and rotated, from the same source (i.e. the only difference should be in the \begin{tikzpicture} ...
Cactus's user avatar
  • 1,117
8 votes
5 answers
645 views

Converting letters to numbers (e.g., A=0, B=1, et cetera)

I recently asked the opposite question, and got some really awesome answers, but just realized I'm uncertain of a counterpart for converting letters to numbers. Here's the code I'm using to convert ...
Justin Troutman's user avatar
-1 votes
1 answer
211 views

How do I write this style of functions? [duplicate]

How do you thing I could write this type of function in Latex? I don't know how to make functions like in the picture. Thank you!
BRL's user avatar
  • 1
1 vote
1 answer
64 views

How can one use named coordinates and still do the coordinate transformations (`shift`, `rotate` etc.)?

Consider this MWE: \documentclass[tikz]{standalone} \usepackage{mwe} \begin{document} \begin{tikzpicture} \draw [help lines, step=1cm] (0,0) grid (4,2); \coordinate[label={$X$}] (X) at (0,0); ...
Vladimir's user avatar
  • 539
1 vote
1 answer
189 views

Using tikz to transform a single letter

I want to transform one letter on a title page in a very specific way. To illustrate the effect I'm trying to accomplish, I've attached an image. Notice how the left half of the letter H is shorter ...
Crankycyclops's user avatar
2 votes
1 answer
262 views

How to plot the DFT transformation of a vector with tikz/pgfplots?

My question seems to be simple but still I could not find any answer for that. Assume that we have a vector and its DFT which I computed it in R. > x <- c(3,9,4,2,5,6,2,6) > x [1] 3 9 4 2 5 6 ...
ThisIsMe's user avatar
2 votes
1 answer
95 views

How to reverse time on paths

I am trying to draw a circle and its projection a plane. I can draw a circles on one plane an its projection on the other plane. Now i want to draw all possible perpendiculars from every circle's ...
Sergey Belyaev's user avatar
0 votes
0 answers
51 views

luatex node library: restore pdf transformation matrix to original state after adding pdf_setmatrix node

How can I restore back to the original pdf transformation matrix after changing it using pdf_setmatrix whatsit node? The restore node should work with vlist/hlist/word/glyph. Below is the complete ...
codepoet's user avatar
  • 1,316
2 votes
1 answer
260 views

Define a projective transformation in metapost

The Metapost contains the affine transformation of 2D-plane, in the homogeneous coordinates, i.e., under the identification of $(x,y)$ in 2D-plane with $(x,y,1)$, the representation matrix is given by ...
user19832's user avatar
  • 1,585
2 votes
1 answer
366 views

TiKZ: How to apply a pgftransformnonlinear to imported image using includegraphics

I've written a non linear transform and am able to transform figures drawn in TiKZ correctly (transformed the rectangle on the left to the arc on the right) but doing the same on \includegraphics ...
lorem97's user avatar
  • 23
0 votes
2 answers
1k views

Symbol for Laplace Transform : 2 connected dots, one filled [duplicate]

What I want is the following: x(t) ●-o \hat{x}(f) (The bar should be longer) What is the name of the symbol in between and does it exist in LaTeX?
Kevin's user avatar
  • 15
11 votes
5 answers
3k views

Draw a symmetric alien head

I am trying to draw the following "symmetrical alien head": Using the mirror code from Can we mirror a part in tikz? I was able to produce the following result While the result looks good I am not ...
N3buchadnezzar's user avatar
8 votes
1 answer
640 views

Deformation of rectangular plot

Can I deform a rectangular plot to a curved plot like \documentclass[tikz, border=0.5cm]{standalone} \begin{document} \begin{tikzpicture} \draw[red] (0,0) grid (5,5); \draw[->, black] (0,...
sergiokapone's user avatar
  • 5,598
3 votes
1 answer
2k views

Making Linear Transformations Using Tikz

I am trying to create a visual for a linear transformation done by matrices. Here is an example of what I am shooting for: I would like to have the original gridlines in place, but like faded out a ...
akenny430's user avatar
  • 1,389
1 vote
1 answer
95 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....
Say OL's user avatar
  • 1,793
3 votes
3 answers
521 views

I want to print the matrix on the arrow from A to B. How can I write?

I am working on quiver representation. I want to print the matrix on the arrow from A to B. How can I write? For example: For linear transformation $k^{3} \arrow{r} k^{2}$
Fatma Erol Kaynarca's user avatar
9 votes
2 answers
882 views

Scale, rotate and transform ellipse in TikZ picture

I want to draw some ellipses and then transform the ellipse without changing its area. I want to be able to transform the ellipse according to the following two equations; First transformation: ∆y ...
jfrans1's user avatar
  • 113
5 votes
1 answer
316 views

transform shape nonlinear=true vs. accessing coordinates

I am having problems with transform shape nonlinear=true option, which can be found on page 123 of the pgfmanual. (Notice that this question was originally part of this earlier question. However, @cfr ...
user avatar
4 votes
2 answers
452 views

TikZ: How to correctly scale a node drawn by "circle through"?

Here's an MWE showing the challenge when I tried to use circle through with a scaling transformation (and transform shape): \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{through} \...
wklchris's user avatar
  • 511
4 votes
1 answer
634 views

Nonlinear transformation of tikzpicture according to a function

How does one can transform tikzpicture according some shape, which is given by an equation? \documentclass[tikz]{standalone} \usepgfmodule{nonlineartransformations} \makeatletter \def\...
sergiokapone's user avatar
  • 5,598
-1 votes
1 answer
157 views

Reflection of functions on function [closed]

is there an efficient way of plotting somehting like this: thank you in advance, cheerz
Darwin's user avatar
  • 71
2 votes
0 answers
358 views

Apply polar transformation to a shaded rectangle

Update How can I get the shade to vary in the theta direction of the transformed figure rather than left to right? I was hoping the left to right shading in the original rectangle would become a ...
Dipole's user avatar
  • 613
2 votes
1 answer
2k views

A matrix with breaking line and matrix transformations

folks! Sorry if this question has already been asked and answered, but I googled so hard I just can't find the right answer. I learned how to write a matrix with a breaking line, using the array: \...
Curiosity's user avatar
3 votes
1 answer
92 views

Manipulating a polygon after few operations?

I've two polygons. The polygon have undergone some transformation like rotation and shifting. Suppose after the transformation, say as an example, how do I draw a perpendicular bisector from one of ...
Jerry's user avatar
  • 163
2 votes
3 answers
247 views

In what sense does PGF not keep track of canvas transformations?

In section 103.3 'Canvas Transformations' the TikZ & PGF manual for version 3.0.1a points out a distinction between coordinate transformations and canvas transformations (p. 1051): Unlike ...
Evan Aad's user avatar
  • 11.1k
1 vote
1 answer
593 views

Geometric inversion of an image (png, jpg, bmp)

Is it possible to invert an image (the format is png, jpg, bmp) with respect to the given reference circle in LaTeX? Can we transform the individual pixels (e.g. with complex transformations such as ...
csekri's user avatar
  • 23
4 votes
2 answers
436 views

replace betababel-code with greek letters

For years I used the betababel package to type greek text. Now I switched to Lualatex and the package does not seem to work with it, which makes sense because you can type in the greek text directly. ...
PeterStrawson's user avatar
2 votes
1 answer
514 views

Why does scaling a tikz picture cause everything within the scope of transform canvas to disappear?

I drew a tikz picture, but after scaling the picture using \begin{tikzpicture}[scale=200/(\hsize-24)], everything inside the scope of transform canvas disappear. could someone explain this? This the ...
K. Ali's user avatar
  • 31
2 votes
2 answers
281 views

Can tikz-3dplot's transformation be accumulated?

It is well-known that transformations in TikZ can be accumulated. For example \documentclass{article} \usepackage{tikz,tikz-3dplot} \usetikzlibrary{} \begin{document} \tikz{ \path ...
Symbol 1's user avatar
  • 37k
0 votes
1 answer
2k views

Adapt harvard-thesis template to B5 format

I have no really idea how to adapt the harvard-thesis template to B5 format. I found this post related with, but I don't know how to adapt it to my template: Thesis template to B5 paper size. What ...
Juan Linares's user avatar
1 vote
0 answers
48 views

Scale every page preserving links

I have a document that I want to use for print and ebook (pdf). I don't what to check line-breaks and pagination twice, so I was planning to use two slightly different configuration of the geometry ...
TeXtnik's user avatar
  • 5,873
5 votes
1 answer
189 views

Showing different coordinate systems by uncovering in tikz?

Using beamer I want to show how different linear transformations act on the plane. I tried to do this by uncovering different \pgftransformcm commands, but it doesn't work. What would be the best way ...
Jompa's user avatar
  • 75
2 votes
0 answers
48 views

tikz problem using \draw ... to[out in] and mirroring/rotating [duplicate]

I have a graph in tikz, using \draw ... to[out=...,in=...] for arcs. It seems that mirroring and rotating does not work properly regarding the anchors of the to-node. Is this to be expected, or is it ...
gernot's user avatar
  • 50k
42 votes
1 answer
4k views

"Star wars" text effect

I would like to apply a transformation to some text so that it is slanted following a trapezoidal shape, such as the famous opening text of the Star Wars franchise: This seems tricky to do since it ...
user102082's user avatar
6 votes
2 answers
2k views

Linear transformation Coordinates

I want to transform the canonical coordinates system , i.e. whose basis vectors are (1,0) and (0,1): \documentclass[a4paper, 12pt]{report} \usepackage{fullpage}[1cm] \usepackage{tikz} \usepackage{...
FUUNK1000's user avatar
  • 693
3 votes
1 answer
489 views

Script to remove curly brackets around a single token. How legitimate would that be?

I work on a script that tries to bring LaTeX input into a more canonical form. One of the things I would like to do is remove curly brackets around single tokens, which could be either a single ...
Yossi Gil's user avatar
  • 16k