Questions tagged [transformation]
The transformation tag has no usage guidance.
56
questions
0
votes
1
answer
55
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{...
0
votes
0
answers
27
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 ...
0
votes
0
answers
34
views
Maphpix gives the comands in Latex of a picture?
I downloaded Mathpix snip but when I was convet to .tex file it just put an includgraphics. I'd like the commands in Latex in order I can edit the formulas. Is this because I'm trying a free version?
...
3
votes
3
answers
313
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{...
0
votes
0
answers
44
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 ...
7
votes
1
answer
250
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 ...
4
votes
2
answers
123
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,...
2
votes
1
answer
80
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}
\...
1
vote
0
answers
48
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 ...
0
votes
1
answer
79
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) ...
6
votes
1
answer
277
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) ...
3
votes
2
answers
130
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 ...
4
votes
2
answers
193
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 (...
4
votes
1
answer
7k
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 ...
2
votes
1
answer
113
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} ...
7
votes
5
answers
349
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 ...
-1
votes
1
answer
137
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!
1
vote
1
answer
61
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);
...
1
vote
1
answer
175
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 ...
2
votes
1
answer
228
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 ...
2
votes
1
answer
93
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 ...
0
votes
0
answers
44
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 ...
2
votes
1
answer
224
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
...
2
votes
1
answer
332
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 ...
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?
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 ...
8
votes
1
answer
557
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,...
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 ...
1
vote
1
answer
87
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....
3
votes
3
answers
478
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}$
9
votes
2
answers
819
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 ...
5
votes
1
answer
301
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 ...
4
votes
2
answers
427
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}
\...
4
votes
1
answer
560
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\...
-1
votes
1
answer
142
views
Reflection of functions on function [closed]
is there an efficient way of plotting somehting like this:
thank you in advance, cheerz
2
votes
0
answers
334
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 ...
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:
\...
3
votes
1
answer
90
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 ...
2
votes
3
answers
235
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 ...
1
vote
1
answer
527
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 ...
4
votes
2
answers
382
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. ...
2
votes
1
answer
477
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 ...
2
votes
2
answers
273
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 ...
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 ...
1
vote
0
answers
45
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 ...
5
votes
1
answer
188
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 ...
2
votes
0
answers
47
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 ...
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 ...
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{...
3
votes
1
answer
449
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 ...