Questions tagged [transformation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
56 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} \...
user avatar
1 vote
0 answers
41 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 ...
user avatar
  • 5,285
0 votes
1 answer
63 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) ...
user avatar
  • 3
6 votes
1 answer
109 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) ...
user avatar
  • 183
2 votes
2 answers
86 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 ...
user avatar
  • 155
4 votes
2 answers
174 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 (...
user avatar
  • 11.4k
1 vote
1 answer
2k 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 ...
user avatar
2 votes
1 answer
73 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} ...
user avatar
  • 945
7 votes
5 answers
185 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 ...
user avatar
-1 votes
1 answer
61 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!
user avatar
  • 1
1 vote
1 answer
39 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); ...
user avatar
  • 529
1 vote
1 answer
130 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 ...
user avatar
1 vote
1 answer
157 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 ...
user avatar
2 votes
1 answer
81 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 ...
user avatar
0 votes
0 answers
36 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 ...
user avatar
  • 1,248
2 votes
1 answer
165 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 ...
user avatar
  • 1,543
2 votes
1 answer
258 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 ...
user avatar
  • 23
0 votes
2 answers
694 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?
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 ...
user avatar
8 votes
1 answer
451 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,...
user avatar
  • 5,006
3 votes
1 answer
1k 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 ...
user avatar
  • 1,339
1 vote
1 answer
65 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....
user avatar
  • 1,683
3 votes
3 answers
380 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}$
user avatar
9 votes
2 answers
650 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 ...
user avatar
  • 113
5 votes
1 answer
254 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
275 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} \...
user avatar
  • 481
4 votes
1 answer
441 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\...
user avatar
  • 5,006
-1 votes
1 answer
132 views

Reflection of functions on function [closed]

is there an efficient way of plotting somehting like this: thank you in advance, cheerz
user avatar
  • 71
2 votes
0 answers
283 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 ...
user avatar
  • 583
2 votes
1 answer
1k 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: \...
user avatar
3 votes
1 answer
81 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 ...
user avatar
  • 163
2 votes
3 answers
201 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 ...
user avatar
  • 8,734
1 vote
1 answer
482 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 ...
user avatar
  • 23
4 votes
2 answers
285 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. ...
user avatar
2 votes
1 answer
380 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 ...
user avatar
  • 31
2 votes
2 answers
245 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 ...
user avatar
  • 35.5k
0 votes
1 answer
1k 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 ...
user avatar
1 vote
0 answers
43 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 ...
user avatar
  • 5,683
5 votes
1 answer
183 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 ...
user avatar
  • 53
2 votes
0 answers
46 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 ...
user avatar
  • 44.9k
42 votes
1 answer
3k 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 ...
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{...
user avatar
  • 583
3 votes
1 answer
412 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 ...
user avatar
  • 15.2k
4 votes
1 answer
192 views

Relative coordinates after cycle with transform

When I was trying to understand this question I discovered a strange behavior when we use relative coordinates just after cycle in a transformed path. Here is an example (the black path) : \...
user avatar
  • 22.3k
2 votes
2 answers
4k views

Representing general transformations on a 3D grid using TikZ

I have a cuboid made from unit squares which in 2D looks like the following: Considering a 3D version of this (i.e. a cuboid). I wanted to use Tikz to demonstrate some of the possible deformations ...
user avatar
  • 1,706
8 votes
2 answers
3k views

Draw the Ubuntu Logo with Tikz

Starting with Tikz, I'm trying to draw the Ubuntu Logo. However, I'm stuck at the begining, since I don't know how to draw the three gaps on the logo. My idea is to draw 3 rectangles and fill them in ...
user avatar
2 votes
2 answers
1k views

Fast way to underline words and characters

I’m making a summary of definitions for Linear Algebra. I need to underline all vectors. This takes me a lot of time because \underline{u} is a long command to type. Is there a way to set an alias for ...
user avatar
  • 155
3 votes
1 answer
291 views

Shear transform a symbol without bad baseline

I ask a questions a little similar to the following ones: Shear transform a "box" Importing single symbols in the sense of "How does the assignment work?" So the question I ...
user avatar
  • 445
8 votes
1 answer
2k views

TiKZ pattern on an angle?

I would like a result similar to that provided by pattern = sixpointed stars (or fivepointed; doesn't matter), but where the underlying grid is at an angle. I understand this can't be done with the ...
user avatar
  • 4,989