New answers tagged

1

A partial attempt MWE \documentclass[margin=2mm,tikz]{standalone} \usepackage[american]{circuitikzgit} \usetikzlibrary{arrows, backgrounds, calc, positioning, circuits.logic.US, circuits, arrows,shapes.gates.logic.US,shapes.gates.logic.IEC} \tikzset{flipflop AB/.style={flipflop,flipflop def={t1=S, t3=R, t6=Q, t4= {\ctikztextnot{Q}}, td=rst, nd=1, c2=1, ...


4

Ok. Sit down because this will be long --- let's see if I can do a tutorial. You have to have done the TikZ tutorial to fully understand this, especially the calc package and the |- coordinate operator. Looking at the circuit to draw, I see that there is a basic block: the flip-flop with the added three-port circuit to the left. The main distance to respect ...


2

One can look up the definition of the original south fading in pgflibraryfadings.code.tex to find \pgfdeclareverticalshading{pgf@lib@fade@south}{100bp} {color(0bp)=(pgftransparent!100); color(25bp)=(pgftransparent!100); color(75bp)=(pgftransparent!0); color(100bp)=(pgftransparent!0)}% \pgfdeclarefading{south}{\pgfuseshading{pgf@lib@fade@south}}% All I did ...


3

You can give the ticks names via alias, and use these nodes to have the precise positions to draw the braces from outside (without dropping clip etc). It also makes sense to use styles for the repeating set of keys used for the braces. \documentclass[12pt,border=10pt]{standalone} \usepackage{pgfplots} \usetikzlibrary{decorations.pathreplacing} \pgfplotsset{...


2

If you want to use the axis cs for the braces, draw them inside the axis environment: \documentclass[12pt,border=10pt]{standalone} \usepackage{pgfplots}% loads tikz, pgf, ... \usetikzlibrary{decorations.pathreplacing} \pgfplotsset{compat=1.12}% current version would be 1.17 \begin{document} \begin{tikzpicture} \begin{axis}[title={},ylabel={\textbf{Task 2}}...


2

Most likely this reinvents some wheel but you can compute the average and variance of the combined data and plot the normal distribution, similarly to what's done e.g. here. BTW, it is probably easier to let pgfplots combine the data. \documentclass[tikz,border=3mm]{standalone} \usepackage{pgfplots} \usepackage{pgfplotstable} \pgfplotsset{compat = 1.17} \...


4

The small variation of OP answer (+1): \documentclass[12pt,oneside,english,reqno,a4paper]{article} \usepackage[T1]{fontenc} \usepackage{tikz} \usetikzlibrary{chains, positioning, shadows, shapes.symbols} %---------------- show page layout. don't use in a real document! \usepackage{showframe} \renewcommand\...


6

Thanks to the comment of BambOo, I was able to do it myself. At first the code. It is just slighly a difference of the link above. \documentclass[12pt,oneside,english,reqno,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{tikz} \usetikzlibrary{shapes} \usetikzlibrary{chains,positioning,shapes.symbols,fadings,shadows, ...


2

All these mechanisms are already part of TikZ. For instance, the rectangle connections are as simple as \documentclass[tikz,border=3mm]{standalone} \begin{document} \begin{tikzpicture} \draw[local bounding box=A] (1,2) rectangle (3,4); \draw[local bounding box=B] (10,5) rectangle (2,3); \draw (A.south west) -- (B.south west); \end{tikzpicture} \end{...


2

Instead of \newcommand\join[2]{ \draw(\varx#1,\vary#1)--(\varx#2,\vary#2);} you need to use \csname ... \endcsname to construct a control sequence from its name. For example, \csname varx#1\endcsname. LaTeX2e' internal macro \@nameuse{<csname>} is helpful when you need to use the \csname ... \endcsname structure frequently. Say, you can write \...


1

The short answer is “no you can't”. At least not in the way you describe. To define a projective transformation as you describe you would need a data structure that could hold all nine components, but the built-in transform data type only has six components. By implication MP fixes the "last row" of the theoretical 3x3 matrix as 0, 0, 1 and provides no ...


Top 50 recent answers are included