Ein professioneller Reliefstempel
Im Zusammenhang mit diesen vorherigen Fragen Eine spezielle Aufhebung (dh Stornierung) eines Stempels und einer Datumszeit in zwei Zeilen im italienischen Format und in der Zeitzone Ich habe ein weiteres MWE erstellt, um verschiedene Auswahlmöglichkeiten und ein professionelleres Timbre zu haben.
\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};
\draw [black,line width=.35mm] (0,0) circle[radius=1.75cm];
{\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}
Ich hätte
die Umfänge im Relief, wobei "non Approvato" und "visto" im mittleren Teil gestrichen und zwischen die beiden Umfänge gelegt werden.
Antworten
Mit ziemlich viel Hilfe von https://tex.stackexchange.com/a/545988/87678Es ist möglich, sich etwas auszudenken, das Ihrem Bild ein bisschen ähnelt. Sie können die verschiedenen Einstellungen weiter nach Ihren Wünschen anpassen.
Das Kompilieren ist allerdings ziemlich langsam! Es wäre wahrscheinlich schneller, einfacher und schöner, etwas mit ImageMagick zu schreiben.
\documentclass[italian]{standalone}
\usepackage[useregional=numeric,showseconds=true,showzone=false]{datetime2}
\usepackage{tikz}
\usetikzlibrary{decorations.text, shadows.blur}
\pgfmathsetmacro{\shadowangle}{132}
\newlength{\shadowdistance}
\pgfmathsetlength{\shadowdistance}{0.3pt}
\pgfmathsetmacro{\shadowopacity}{0.7}
\pgfmathsetmacro{\shadowspread}{0.02}
\pgfmathsetmacro{\shadowsize}{0}
\pgfmathtruncatemacro{\totshadow}{100}
\begin{document}
\begin{tikzpicture}[
datetime/.style={
align=center,
font=\scriptsize\sffamily\bfseries
},
pathtext/.style={
opacity={\shadowopacity/\totshadow},
shift={({\shadowangle-180}:\shadowdistance)},
scale={1+\shadowsize}
},
pathblur/.style={
fill=white,
blur shadow={%
shadow xshift=0.3pt,
shadow yshift=-0.3pt,
shadow scale=1,
shadow blur radius=1.5pt
}
}
]
\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}
\foreach \nshadow [evaluate=\nshadow as \angshadow using \nshadow/\totshadow*360] in {1,...,\totshadow}{
\path[pathtext,
rotate=-90,
postaction={
decorate,
decoration={
transform={shift=(\angshadow:\shadowspread)},
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);
\foreach \nshadow [evaluate=\nshadow as \angshadow using \nshadow/\totshadow*360] in {1,...,\totshadow}{
\path[pathtext,
rotate=90,
postaction={
decorate,
decoration={
transform={shift=(\angshadow:\shadowspread)},
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]
foreach \nshadow [evaluate=\nshadow as \angshadow using \nshadow/\totshadow*360] in {1,...,\totshadow}
{node [datetime] at (\angshadow:\shadowspread) {\DTMtoday\\\DTMcurrenttime}};
\node [datetime, text=white] {\DTMtoday\\\DTMcurrenttime};
\path [pathblur] (25:32.5pt) circle (2pt);
\path [pathblur] (155:32.5pt) circle (2pt);
\end{tikzpicture}
\end{document}