# A professional stamp in relief

Related to these previous my questions A special annulment (i.e., cancellation) of a stamp and Date time in two rows in Italian format and time zone I have created another MWE to have some different choices and a more professional timbre.

\documentclass[12pt,margin=3mm,italian]{standalone}
\usepackage{newtxtext}
\usepackage[dvipsnames]{xcolor}
\usepackage{tikz}
\usepackage[useregional=numeric,showseconds=true,showzone=false]{datetime2}
\usepackage{fontawesome5}

\begin{document}
\begin{tikzpicture}
\draw (0,0) node[minimum size=4cm,
draw=black,
circle,
line width=.5mm,
text width=3cm,
align=center]
{\large \bfseries \mbox{\DTMtoday} \DTMcurrenttime};
{\large \bfseries \mbox{\DTMtoday} \DTMcurrenttime};
\node at (0,1) (A) {\textcolor{Green}{\large Visto}};
\node at (0,-1) (B) {\small \textsc{Non approvato}};
\end{tikzpicture}
\end{document}


I would to have

the circumferences in relief, deleting "non approvato" and "visto" in the middle part, putting them between the two circumferences.

• Possibly related: tex.stackexchange.com/questions/53369/… – Steven B. Segletes Oct 22 at 20:20
• @StevenB.Segletes Hi, :-) thank you for the link..I am not able to make a relief and put the text into two circumferences :-( – Sebastiano Oct 22 at 20:23
• The pointer may provide an approach for the appearance of relief text, perhaps. But the circumference writing is clearly a tikz thing, not addressed in the referenced question. – Steven B. Segletes Oct 22 at 20:25
• Like that? i.stack.imgur.com/uvJew.png – leandriis Oct 22 at 20:40
• @Sebastiano: I completely missed the part of the relief like text. I just focused on getting the text to follow the curve. – leandriis Oct 22 at 20:51

With quite a lot of help from https://tex.stackexchange.com/a/545988/87678, it's possible to come up with something that looks a bit like your picture. You could further tweak the various settings to your liking.

It's pretty slow to compile though! It would probably be quicker, easier, and nicer looking to to script something with ImageMagick.

\documentclass[italian]{standalone}
\usepackage[useregional=numeric,showseconds=true,showzone=false]{datetime2}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[
datetime/.style={
align=center,
font=\scriptsize\sffamily\bfseries
},
pathtext/.style={
},
pathblur/.style={
fill=white,
}
}
]
\path [use as bounding box] (-45pt,-45pt) rectangle (45pt,45pt);
\begin{scope}[even odd rule]
\path [pathblur] (0,0) circle (26pt) circle (24pt);
\path [pathblur] (0,0) circle (41pt) circle (39pt);
\end{scope}
\path[pathtext,
rotate=-90,
postaction={
decorate,
decoration={
text effects along path,
text effects/every character/.style={text along path},
text effects/font = {\sffamily\bfseries},
text align/align=center,
raise=-7pt,
reverse path=true,
text={VISTO}
}
}
] (0,0) circle (36pt);}
\path[
rotate=-90,
postaction={
decorate,
decoration={
text effects along path,
text effects/every character/.style={text along path},
text effects/font = {\sffamily\bfseries},
text align/align=center,
raise=-7pt,
reverse path=true,
text effects/color=white,
text={VISTO}
}
}
] (0,0) circle (36pt);
\path[pathtext,
rotate=90,
postaction={
decorate,
decoration={
text effects along path,
text effects/every character/.style={text along path},
text effects/font = {\sffamily\bfseries},
text align/align=center,
text={NON APPROVATO}
}
}
] (0,0) circle (36pt);}
\path[
rotate=90,
postaction={
decorate,
decoration={
text effects along path,
text effects/every character/.style={text along path},
text effects/font = {\sffamily\bfseries},
text align/align=center,
text effects/color=white,
text={NON APPROVATO}
}
}
] (0,0) circle (36pt);
\path[pathtext]
\node [datetime, text=white] {\DTMtoday\\\DTMcurrenttime};
\path [pathblur] (25:32.5pt) circle (2pt);
\path [pathblur] (155:32.5pt) circle (2pt);
\end{tikzpicture}
\end{document}


• +1 Very nice job ! – AndréC Oct 23 at 15:27
• Sorry for the delay but having 6 classes and with so many commitments I was not able to connect. Thank you very much. I would not have been able to do it even after 1 a.l. Thank you very much David. – Sebastiano Oct 29 at 21:52

For comparative purpose.

While waiting for a TikZ answer, compile with Asymptote.

import labelpath;
unitsize(1cm);
label(graphic("Flag","height=0.1cm")); // Convert svg to eps
layer();
asy(nativeformat(),"logo");
label(scale(0.4)*minipage(
"\centering\scriptsize \textbf{\LARGE {\tt Asymptote}\\
\smallskip
\small The Vector Graphics Language}\\
\smallskip
\textsc{Andy Hammerlindl, John Bowman, and Tom Prince}
http://asymptote.sourceforge.net\\
",8cm),(0,0.6));
label(graphic("logo","height=1.5cm"),(0,-0.75));
fill(circle((0,0),2.2),green+opacity(.5));
fill(circle((0,0),1.65),gray+opacity(.5));
dot(1.95*dir(0),linewidth(1bp),Fill(white));
dot(1.95*dir(180),linewidth(1bp),Fill(white));
// The main commands:
pair z=dir(90); // the direction of text
for(int x=0; x < 50; ++x)
{
draw(circle((0,0),2.2+0.001*x),rgb(0.05,0.05,0.01*x));
draw(circle((0,0),1.65+0.001*x),rgb(0,0,0.01*x));
labelpath(Label("The Vector Graphics Language"),
arc(0.001*x*z,2.1,180,360),gray(0.01*x));
labelpath(Label("\LaTeX \enspace $\&$ Asymptote $\&$ You"),
reverse(arc(0.001*x*z,1.8,0,180)),gray(0.01*x));
}
shipout(bbox(1mm,invisible));


• I'm sorry for the delay but my school activities during this period have been many. I just logged on a little bit to distract myself. Thank you very much. – Sebastiano Oct 29 at 21:50