# Tag Info

13

Here's a start, based on my answer at Handwritten comments and annotations in margin. There, I make use of the Teen SPirit font, which is a handwritten font (by way of \fontfamily{fts}\selectfont). Looking at the glyph set of that font (page 2 of http://www.tug.dk/FontCatalogue/teenspirit/teenspirit.pdf), there are several choices for hand drawn line (e.g.,...

8

It sounds like all you need to do is change the labels on the axes. To specify that you only want a single tick on the y axis at the position y=1, set ytick = {1}. To specify that you want to label that position with λ, set yticklabels = {$\lambda$}. To remove all tick marks from the x axis, set xtick = \empty. \documentclass[11pt]{report} \usepackage{...

6

Here's a list of mistakes: You mistyped the \foreach values, where 0,...4, is of course wrong and should be replaced with 0,...,4. The commands \tkzDrawPolygon and \tkzDrawPoint require regular brackets, and not curly brackets. When a command like \tkzDrawPoint lists more than one coordinate, the command becomes "pluralized", so you have \tkzDrawPoints. ...

5

(angle:a and b) is equal to ({cos(angle)*a},{sin(angle)*b}). \documentclass[tikz]{standalone} \begin{document} \begin{tikzpicture} \def\X{3cm} \def\Y{1cm} \draw (0,0) circle ({\X} and \Y); \fill[red,opacity=0.5] (-20:{\X} and \Y) circle (3pt); \fill[blue] ({cos(-20)*\X},{sin(-20)*\Y}) circle(2pt); \end{tikzpicture} \end{document}

5

All questions (very nearly almost) should include a Minimum Working Example i.e. code for a small document setting up the problem. If you need to get started with TikZ, try the tutorials in the first part of the TikZ manual. \documentclass[border=10pt,multi,tikz]{standalone} \begin{document} \begin{tikzpicture} \fill [red] (0,0) coordinate (a) arc (90:...

4

The reason is that the center node contains a "g" and a "b" thus the text occupies a greater total height than the neighbours which do not have letters with big descends. There are two simple fixes: 1. Fix the height of your nodes \newcommand{\segmentation}[3]{ \begin{tikzpicture}[segment/.style={align=center, minimum height=2ex}] \node[text width=20mm, ...

3

I introduce \cbox[<width>]{<box-color>}[<text-color>]{<content>} (note there are two optional arguments) along with \bigeq, \bigplus, and \bigminus. I do some \cbox nesting (plus shenanigans with \bxht and \fboxsep in order to handle the large blue box). \documentclass{article} \usepackage[margin=1cm]{geometry} \usepackage{xcolor} \...

3

You can use \subcaptionbox, if you want to have subcaptions, or nothing at all. I declared \small in order to fit the big matrices in the page, it may be unnecessary for your document. \documentclass{article} \usepackage{amsmath} \usepackage{caption} \usepackage{subcaption} \usepackage{tikz} \usetikzlibrary{matrix} \usepackage{lipsum} \newcommand{\mybox}...

3

Take a look at the manual in the section Placement on a Grid. There the chain shift and group shift keys are described, and can be used to good effect here: \documentclass{article} \usepackage{tikz} \usetikzlibrary{graphs} \usetikzlibrary{graphs.standard} \begin{document} \tikz \graph [group shift=(0:1), chain shift=(270:1)] { 1 -- 14 -- 13 -- 12 -- 14{} -- ...

3

There is a typo in the documentation. This here works: \documentclass{article} \usepackage{tikz} \usetikzlibrary{graphs} \usetikzlibrary{graphs.standard} \begin{document} \tikz \graph [clockwise, clique] { subgraph I_n [n=4] }; \end{document}

3

With TikZ: \documentclass[tikz,border=3mm]{standalone} \usetikzlibrary{fit} \usepackage{amssymb,graphicx} \begin{document} \begin{tikzpicture}[ node distance = 0 and 9mm, C/.style = {circle, draw, thick}, every label/.style = {align=center} ] \node (c1) [C,label=below: orbitale pieno] {\...

3

I'd personally do the square nodes using chains and with a condition for the filling. Output Code \documentclass[xcolor=x11names,compress]{beamer} \usepackage{xcolor} \usepackage{tikz} \usepackage{amsmath,amssymb} \usetikzlibrary{calc, positioning, chains} \tikzset{ box/.style={draw, text centered, minimum size=2em}, sqarr/.style={to path={-- ...

3

It is not true that the text has to go where the nodes are if you use one of the easier tree specification syntaxes. forest allows you to put the text from the nodes somewhere else entirely. For example, \documentclass[border=10pt,multi,tikz]{standalone} \usepackage{forest} \begin{document} \begin{forest} for tree={ parent anchor=children, anchor=...

3

pdftex has no information about the character other than four lengths height, depth, width, italic correction, it may be a black square or a white rectangle or look like an F so there is no way to avoid giving tex the corrections by hand, either on each instance or setting up a font-specific table of spacing corrections for each character

3

You can use in the third one \draw[line width=1mm,blue] (A) to[out=90,in=300,out looseness=1.3] (C); and in the last one \coordinate (aux) at (.5,2.4); \draw[line width=1mm,smooth,blue] (A) to[out=90,in=270] (aux) to[out=90,in=270] (C); To get the end of the last line to be straight, you can do \coordinate (aux) at (.5,2); \draw[line width=1mm,...

2

If the externalization library of tikz is used AND externalization is enabled globally AND tcolorbox is used with options like enhanced from its skins library which uses tikz, then the externalization process may/will arise a compilation error. To shield a tcolorbox from externalization, use \tcbset{shield externalize} inside your document preamble. With ...

2

To give you something to start with: \documentclass{book} \usepackage{xcolor} \usepackage{titlesec} \usepackage{hyperref} \usepackage{graphicx} \usepackage[percent]{overpic} \usepackage{fix-cm} \usepackage{lipsum} % formats: \chapter \newcommand\ctformatchapter[1]{% \parbox[b][6cm][b]{\dimexpr.5\textwidth\relax}{% \raggedright% \...

2

text width would seem to be the problem. Try this: \documentclass{article} \usepackage{tikz} \usetikzlibrary{positioning,shapes} \tikzset{% box/.style={draw,minimum width=3cm, rectangle split, rectangle split parts=2, rectangle split part align={center,left} }% } \begin{document} \begin{...

2

You can use the optional argument of nodepart. \documentclass{article} \usepackage{tikz} \usetikzlibrary{shapes} \begin{document} \tikzstyle{box}=[rectangle, draw=black, text width=3cm, rectangle split, rectangle split parts=2] \begin{tikzpicture} \node[align=center] (A) [box] { First \nodepart[align=left]{second}...

2

You could use a colorseries directly. For example: \documentclass{article} \usepackage[rgb]{xcolor} \usepackage{tikz} \usepackage{smartdiagram} \usesmartdiagramlibrary{additions} % xcolor manual: 34 \definecolorseries{colours}{hsb}{grad}[hsb]{.575,1,1}{.987,-.234,0} \resetcolorseries[12]{colours} \begin{document} \centering \smartdiagramset{ set color ...

2

You can try to learn a little bit of TikZ \documentclass[tikz,border=2mm]{standalone} \usetikzlibrary{positioning, matrix, backgrounds} \usepackage{amsmath} \begin{document} \begin{tikzpicture} \matrix (L) [matrix of nodes, nodes={minimum size=8mm, fill=gray!80}, every odd row/.style={nodes={fill=gray!50}}, row sep=.5mm] {|[minimum height=5mm, font=\...

2

Nodes may be easier. Here's a beginning which switches out your paths for (mostly) nodes using the shapes.geometric library for the lenses. \documentclass[border=10pt,multi,tikz]{standalone} \usetikzlibrary{shapes.geometric} \begin{document} \begin{tikzpicture}[inner sep=0pt, every node/.append style={draw}] \node (m) [minimum width=3mm, minimum height=...

2

A PSTricks solution: \documentclass{article} \usepackage{pst-plot} \usepackage{expl3} \ExplSyntaxOn \cs_new_eq:NN \calc \fp_eval:n \ExplSyntaxOff % constants \def\Lambda{5} \def\xPoint{1.3} \begin{document} \begin{pspicture} \psaxes{->}(0,0)(-0.5,-0.5)(\calc{\Lambda+0.3},\calc{\Lambda+0.3})[$x$,0][$y$,90] \psplot[algebraic, linecolor = red]{0}{...

2

Your problem is that the matrices are wider than the specified with of the subfigure environment (.4\textwidth), so they stick out of the right edge. This causes the overlap with the arrow. Reduce the size of the matrices, by modifying (a combination of), font size and inner sep for the nodes, and column sep, row sep for the matrix. I also increased the ...

2

You need to put node at right path ... \documentclass[tikz,border=3mm]{standalone} \usetikzlibrary{shapes.arrows} \begin{document} \begin{tikzpicture} \draw (4,0.25) -- ++(0,2.5) -- ++(-.25,0) -- ++(.5,.5) -- ++(.5,-.5) --++(-.25,0) -- ++(0,-2.5) -- cycle; \node at (4.25,1.5) [rotate=90, anchor=center] {\textbf{here!}}; \draw ...

2

It may not be that easy to read, but it looks like it's possible to continue the way you started: \documentclass{article} \usepackage{tikz} \begin{document} \begin{figure} \begin{tikzpicture}[ font = \footnotesize, edge from parent/.style = {draw ,thin}, SN/.style = {%solid node circle, inner sep=1.2 ,fill=blue},...

2

You can obtain curved arrow with to[out=alpha,in=beta]. where alpha is the angle at which the curve leaves the start coordinate, and beta is the angle at which the curve reaches the target coordinate. Code \documentclass{article} \usepackage{color, colortbl} \usepackage{tikz} \usetikzlibrary{arrows,positioning,shapes,backgrounds,fit} \begin{document}...

2

Edit: Alternatively, with your last wish: \documentclass[tikz, border=3mm]{standalone} \usetikzlibrary{arrows.meta, positioning} \begin{document} \begin{tikzpicture} \tikzset{ node distance = 9em and 4em, sloped, box/.style = {% shape=rectangle, rounded corners, draw=blue!40, fill=blue!15, align=center, font=\fontsize{12}{...

2

If you were using pgfplots it'd be easy with the fillbetween library, which can also work on tikzpicture with some changes, but you can also just use a clip in this case for the dashed lines and then use the colored lines as contour. I also added the backgrounds library to place the filling behind the colored lines. Output Code \documentclass[12pts]{...

2

As Zarko suggested you should read rectangle split information (pages 726--728) and positioning library information. From first you will learn that minimum width is valid for vertically splitted rectangles but minimum height is ignored. Then all these options in each nodepart can be suppressed. Rectangle split width will be fixed by maximum of inner part ...

Only top voted, non community-wiki answers of a minimum length are eligible