Questions tagged [transformation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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{...
Nasser's user avatar
  • 20.2k
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 ...
Balansoire's user avatar
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? ...
user29999's user avatar
  • 129
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{...
Tobard's user avatar
  • 1,180
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 ...
Mew's user avatar
  • 771
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 ...
Physor's user avatar
  • 421
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,...
Physor's user avatar
  • 421
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} \...
iago.oliveira's user avatar
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 ...
mlchristians's user avatar
  • 7,756
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) ...
db_'s user avatar
  • 3
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) ...
Moses Kim's user avatar
  • 183
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 ...
COTO's user avatar
  • 165
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 (...
rpapa's user avatar
  • 12.1k
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 ...
Chrysalix's user avatar
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} ...
Cactus's user avatar
  • 1,067
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 ...
Justin Troutman's user avatar
-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!
BRL's user avatar
  • 1
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); ...
Vladimir's user avatar
  • 529
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 ...
Crankycyclops's user avatar
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 ...
ThisIsMe's user avatar
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 ...
Sergey Belyaev's user avatar
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 ...
codepoet's user avatar
  • 1,286
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 ...
user19832's user avatar
  • 1,585
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 ...
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
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,...
sergiokapone's user avatar
  • 5,368
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 ...
akenny430's user avatar
  • 1,369
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....
Say OL's user avatar
  • 1,783
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}$
Fatma Erol Kaynarca's user avatar
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 ...
jfrans1's user avatar
  • 113
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 ...
user avatar
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} \...
wklchris's user avatar
  • 511
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\...
sergiokapone's user avatar
  • 5,368
-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
Darwin's user avatar
  • 71
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 ...
Dipole's user avatar
  • 593
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
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 ...
Jerry's user avatar
  • 163
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 ...
Evan Aad's user avatar
  • 10.8k
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 ...
csekri's user avatar
  • 23
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. ...
PeterStrawson's user avatar
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 ...
K. Ali's user avatar
  • 31
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 ...
Symbol 1's user avatar
  • 36.6k
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
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 ...
TeXtnik's user avatar
  • 5,783
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 ...
Jompa's user avatar
  • 53
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 ...
gernot's user avatar
  • 48.3k
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
  • 633
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 ...
Yossi Gil's user avatar
  • 15.8k