I have the following drawing made with tikz:
% File myDrawing.tex
\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\usetikzlibrary{math} %needed tikz library
\tikzmath{\x1 = 1; \y1 =1; \x2 = \x1 + 1; \y2 =\y1 +3; }
% Using the variables for drawing
\begin{tikzpicture}
\draw[very ...
Search found 11 matches
- Mon May 03, 2021 1:19 pm
- Forum: Graphics, Figures & Tables
- Topic: input tikz file when using a tikz library
- Replies: 0
- Views: 5212
- Thu Apr 29, 2021 1:18 pm
- Forum: Graphics, Figures & Tables
- Topic: Make a list of lines with a list of labels
- Replies: 1
- Views: 1648
Make a list of lines with a list of labels
I am looking for a way to compactly create the following list of lines and text nodes:
\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw (-0.2,0) node[left]{Text 1} -- (+0.2,0);
\draw (-0.2,2) node[left]{Second Text} -- (+0.2,2);
\draw (-0.2,3) node[left]{3rd ...
\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw (-0.2,0) node[left]{Text 1} -- (+0.2,0);
\draw (-0.2,2) node[left]{Second Text} -- (+0.2,2);
\draw (-0.2,3) node[left]{3rd ...
- Thu Apr 29, 2021 11:57 am
- Forum: Graphics, Figures & Tables
- Topic: About the use of [shift=({xvalue,yvalue})]
- Replies: 2
- Views: 22259
About the use of [shift=({xvalue,yvalue})]
Thanks a lot!
(I prefer your first suggestion).
(I prefer your first suggestion).
- Wed Apr 28, 2021 6:07 pm
- Forum: Graphics, Figures & Tables
- Topic: About the use of [shift=({xvalue,yvalue})]
- Replies: 2
- Views: 22259
About the use of [shift=({xvalue,yvalue})]
I am following the advice in this answer , about shifting the values of an already declared node in a tikz picture.
\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\node (A) at (0,0) {};
\node (B) at (-4,2) {};
\draw[black,fill=black] (B) circle (1pt);
\draw ...
\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\node (A) at (0,0) {};
\node (B) at (-4,2) {};
\draw[black,fill=black] (B) circle (1pt);
\draw ...
- Sun Apr 11, 2021 5:41 pm
- Forum: Graphics, Figures & Tables
- Topic: An arrow with a text on it
- Replies: 2
- Views: 14205
An arrow with a text on it
Thanks a lot Stefan!
I wasn't familiar with the quotes library. Thanks for illustrating its usage.
And yes, I am aware of the siunitx package, it is just that I wanted to keep my example minimal.
I wasn't familiar with the quotes library. Thanks for illustrating its usage.
And yes, I am aware of the siunitx package, it is just that I wanted to keep my example minimal.
- Sun Apr 11, 2021 3:45 pm
- Forum: Graphics, Figures & Tables
- Topic: An arrow with a text on it
- Replies: 2
- Views: 14205
An arrow with a text on it
I want to draw the following:
Capture.PNG
Something that resembles a bit engineering drawings that specify object's dimensions.
The code I have at the moment is this:
\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw (0,0) -- (6,0) -- (6,3) -- (0,3 ...
Capture.PNG
Something that resembles a bit engineering drawings that specify object's dimensions.
The code I have at the moment is this:
\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw (0,0) -- (6,0) -- (6,3) -- (0,3 ...
- Sun Apr 11, 2021 10:04 am
- Forum: Graphics, Figures & Tables
- Topic: Combine pgfplots' axis environment and tikz graphics
- Replies: 2
- Views: 4985
Combine pgfplots' axis environment and tikz graphics
@Bartman Thanks a lot!
- Sat Apr 10, 2021 3:42 pm
- Forum: Graphics, Figures & Tables
- Topic: Combine pgfplots' axis environment and tikz graphics
- Replies: 2
- Views: 4985
Combine pgfplots' axis environment and tikz graphics
I want to reproduce the following plot:
graph.png
It is made of the following points (red in image):
\fill[red] (0,{sin(2*pi*1.2*0 r)}) circle (2pt);
\fill[red] (1,{sin(2*pi*1.2*1 r)}) circle (2pt);
\fill[red] (2,{sin(2*pi*1.2*2 r)}) circle (2pt);
% and so on up until the 21st point:
\fill[red ...
graph.png
It is made of the following points (red in image):
\fill[red] (0,{sin(2*pi*1.2*0 r)}) circle (2pt);
\fill[red] (1,{sin(2*pi*1.2*1 r)}) circle (2pt);
\fill[red] (2,{sin(2*pi*1.2*2 r)}) circle (2pt);
% and so on up until the 21st point:
\fill[red ...
- Sun Nov 22, 2020 9:11 pm
- Forum: Document Classes
- Topic: Change the documentclass settings
- Replies: 1
- Views: 5207
Change the documentclass settings
Answering my own question:
Yes, this is the correct path.
Yes, this is the correct path.
- Sun Nov 22, 2020 9:10 pm
- Forum: Fonts & Character Sets
- Topic: Change the font to a titleformat defintion
- Replies: 0
- Views: 3717
Change the font to a titleformat defintion
I want to customize the typeface for chapters and sections in the settings of a .def file.
My question is, how do I that?
For example, this is the subsection style as it is now:
\titleformat{\subsection}%
[hang]% shape
{\fontfamily{palatino}\normalfont\large}% format applied to label+text ...
My question is, how do I that?
For example, this is the subsection style as it is now:
\titleformat{\subsection}%
[hang]% shape
{\fontfamily{palatino}\normalfont\large}% format applied to label+text ...