# Tag Info

12

A possible solution with tcolorbox. \documentclass{article} \usepackage{lmodern} \usepackage[most]{tcolorbox} \usepackage{fontawesome5} \newtcolorbox{mybox}[4][]{% enhanced, width=9cm, height=2cm, fontupper=\small\sffamily, fonttitle=\large\sffamily\bfseries\slshape, leftupper=1.5cm, colback=white, colframe=...

8

\worldflag makes a tikzpicture, so I think you're effectively nesting tikzpictures here, which is generally a bad idea. It often leads to problems with options from the outer tikzpicture being inherited by the inner one. In this particular case it looks like a rounded corners options is the culprit, if you do for example \tikzset{/tikz/rounded corners=0}\...

6

Possible Asymptote version: // // diag.asy // // run // asy diag.asy // // to get a standalone diag.pdf settings.tex="pdflatex"; unitsize(1pt); import fontsize;defaultpen(fontsize(7)); texpreamble("\usepackage{lmodern}"); string stop="set theory"; string[] sleft={ "general topology", "partial orderings&...

6

The smartdiagram package creates nodes named modulex, with x a number from 1 to n. You can remember these nodes by adding remember picture to the style of the diagram and referring to the nodes in a new tikzpicture with the overlay property. The exact positioning can be done using xshift and yshift in the new nodes. MWE: \documentclass{article} \usepackage{...

5

I think that the safer option, when trying to nest TikZ things, is to use boxes. In the example below, I wrote a macro that puts the flag in a box called \flagXX. That one is safe to use in nodes. \documentclass[border=10pt]{standalone} \usepackage{tikz,smartdiagram,worldflags} \NewDocumentCommand{\boxflag}{m}{% \expandafter\newsavebox\csname flag#1\...

4

\documentclass{article} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{smartdiagram} %\usepackage[dvipsnames]{xcolor} \definecolor{mypink1}{rgb}{0.858, 0.188, 0.478} \definecolor{mypink2}{RGB}{219, 48, 122} \definecolor{mypink3}{cmyk}{0, 0.7808, 0.4429, 0.1412} \definecolor{mygray}{gray}{0.6} \begin{document} \begin{center} ...

4

If you just want to use smartdiagram, you can't do it natively, but you can add a simple TikZ picture with overlay. Be aware that this is not working on standalone documentclass, hence the article one here. \documentclass{article} \usepackage{smartdiagram} \usepackage{tikz} \usesmartdiagramlibrary{additions} \begin{document} \smartdiagramset{module x ...

4

This is not supported natively, but it is also not difficult to get a workaround. \documentclass[border=2mm]{standalone} \usepackage{smartdiagram} \makeatletter \NewDocumentCommand{\smartdiagramx}{r[] m}{% \StrCut{#1}{:}\diagramtype\option \IfStrEq{\diagramtype}{bubble diagram}{% true-bubble diagram \begin{tikzpicture}[every node/.style={align=center,let ...

3

\documentclass[tikz,border=2mm]{standalone} \usetikzlibrary{mindmap} \begin{document} \begin{tikzpicture}[mindmap, concept color=red!40] \node [concept] {Bubble} child[grow=45] {node[concept] {Bubble 1}} child[grow=135] {node[concept] {Bubble 2}} child[grow=225] {node[concept] {Bubble 3}} child[grow=-45] {node[concept] {Bubble 4}}; \end{...

2

Here is my solution. Do you need shadowing of the nodes? \documentclass[tikz,border=5mm]{standalone} \begin{document} \begin{tikzpicture}[n/.style={draw,rounded corners,top color=white,bottom color=#1,minimum height=12mm,minimum width=2cm}] \def\a{2.8} \path (0,0) node[n=cyan!30] (L) {Lather} (\a,0) node[n=blue!30] (R) {Rinse} (-\a,0) node[n=red!30,...

2

This is a tikz version. I am positioning the nodes around the circle with the help of \foreach commands (one in each side) using the circumference equation. \documentclass[border=2mm]{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw[thick] (0,0) circle (4 cm); \foreach[count=\j]\i in {% {Misty morning, clouds in the sky}, ...

1

So, as I explained in my comment above, your problem here is the definition of the angle that in turn defines the node position. To make sure, your first element is in the 12 o'clock position, you'll have to redefine the package code a bit. Since it is not advisable to do this in the actual package that is managed by your package manager here is what you can ...

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