Can anyone show me how to draw something like this. I am thinking of having a quote with similar font but have no idea where to start.
[Tex/LaTex] Beautiful text – typography
fontstikz-pgftypography
Related Solutions
The problem with the labels in the operationals is that the point at which the label is centered is not at the right place. This can be easily spotted if you use a \bullet
as label. It is not the "center" of the node either, as can be seen by drawing a red dot at (0,0):
\begin{circuitikz}
\fill[red] (0,0) circle(2pt);
\draw (0,0) node[op amp] (opamp) {$\bullet$}
(opamp.+) node[left] {$data\ ser\ p$}
(opamp.-) node[left] {$data\ ser\ n$}
(opamp.out) node[right] {$data\ ser$}
;\end{circuitikz}
So, the best option is to place a new node containing the label, positioned relative to the center of the operational (the red dot in the figure above). The left side of the operational is at 10mm from the red dot, so you can put your label at (-9mm,0)
. Using the same amount in all your operationals ensures that all the inner labels are left aligned. The following code implements this idea:
\documentclass{article}
\usepackage{circuitikz}
\begin{document}
\tikzset{opamp label/.style={xshift=-9mm, font=\footnotesize,right}}
\begin{circuitikz}
\draw
(0,0) node[op amp] (opamp) {}
(opamp.+) node[left] {$data\ ser\ p$}
(opamp.-) node[left] {$data\ ser\ n$}
(opamp.out) node[right] {$data\ ser$}
(opamp) node[opamp label] {IBUFDS}
(0,-3) node[op amp] (opamp) {}
(opamp.+) node[left] {$clk\ in\ p$}
(opamp.-) node[left] {$clk\ in\ n$}
(opamp.out) node[right] {$clk\ in$}
(opamp) node[opamp label] {IBUFGDS}
;
\end{circuitikz}
\end{document}
Resulting in:
You can create it quite easily with arcs:
Code
\documentclass[parskip]{scrartcl}
\usepackage[margin=15mm]{geometry}
\usepackage{tikz}
\usetikzlibrary{decorations.text}
\newcommand{\arcarrow}[8]% inner radius, middle radius, outer radius, start angle, end angle, tip protusion angle, options, text
{ \pgfmathsetmacro{\rin}{#1}
\pgfmathsetmacro{\rmid}{#2}
\pgfmathsetmacro{\rout}{#3}
\pgfmathsetmacro{\astart}{#4}
\pgfmathsetmacro{\aend}{#5}
\pgfmathsetmacro{\atip}{#6}
\fill[#7] (\astart:\rin) arc (\astart:\aend:\rin) -- (\aend+\atip:\rmid) -- (\aend:\rout) arc (\aend:\astart:\rout) -- (\astart+\atip:\rmid) -- cycle;
\path[decoration={text along path, text={#8}, text align={align=center}, raise=-0.5ex},decorate] (\astart+\atip:\rmid) arc (\astart+\atip:\aend+\atip:\rmid);
}
\begin{document}
\begin{tikzpicture}
\fill[even odd rule,red!30] circle (3.8) circle (3.2);
\foreach \x in {0,60,...,300}
{ \arcarrow{3}{3.5}{4}{\x+20}{\x+70}{5}{red,draw=red!50!black,very thick}{text \x}
}
\end{tikzpicture}
\end{document}
Best Answer
As a start you can look around in The LaTeX Font Catalogue for similar fonts, and maybe use the
pgfornament
package for drawing ornaments. (Note that you'll have to manually download thepgfornament
package from the indicated link and copy to your “project folder.”)Also I've made a small solution, so you may start along this way.