如何在矩形内制作印章?

如何在矩形内制作印章?

我想要一张像红盒子一样的邮票。

在此处输入图片描述

\documentclass[a4paper,12pt]{article}
\usepackage{multido,graphicx}
\usepackage{booktabs}
\usepackage{enumitem,anyfontsize}
\usepackage[a4paper,left=0cm,top=0cm,bottom=0cm,right=0cm]{geometry}
\usepackage{polyglossia}
\setmainlanguage[numerals=Devanagari]{bengali}
\setmainlanguage{bengali}
\setotherlanguage{english}
%\newfontfamily\englishfont[Scale=MatchLowercase]{Linux Biolinum O}
\newfontfamily\bengalifont[Script=Bengali]{NikoshLightBAN}
\begin{document}
\centering
\multido{}{12}
{
\begin{minipage}{0.43\textwidth}
\selectlanguage{english} Dabbas, Zahdi, Neghal \selectlanguage{bengali} ও\selectlanguage{english} Moriom \selectlanguage{bengali}খেজুর, শুকনা খেজুর, বরই, কালোজিরা, সরিষা ও  লিচু ফুলের মধু, কালোজিরা ও তিলের তেল, কাঠবাদাম, কিসমিস, কালোজিরা পাওয়া যায়\\\selectlanguage{english}01515-611989(Al-Helal, CSE)\\
\selectlanguage{bengali}রুম \selectlanguage{english}- 1406, \selectlanguage{english}Ex-1, \selectlanguage{bengali}শহীদুল্লাহ হল\\
\selectlanguage{english}\includegraphics[height=\fontcharht\font`\B]{Image/facebook-icon.png} Honey\&Date\\ website: https://al2helal.github.io/business.html\\\selectlanguage{bengali} [** ৫০০ টাকার জিনিস কিনলে ফ্রি হল ডেলিভারি **]
\end{minipage}\vspace{0.5cm}
}
\end{document}

我想要在文档的每个小页面上都印上这种类型的印章。 在此处输入图片描述

答案1

这不是一个非常普遍的答案,因为您可能必须使用文本更改框/邮票尺寸......但如果没有更好的办法,它应该可以起作用。

\documentclass[a4paper,10pt]{scrartcl}
\usepackage{multido, tikz}

\begin{document}
\centering
\multido{}{8}
{
  \begin{minipage}{0.43\textwidth}\sffamily
  %
  \begin{tikzpicture}[overlay]
    \draw[green!50!black, 
          ultra thick, 
          rotate = 30, 
          rounded corners] (0,-2) rectangle (3.8,-3.5);
    \node[green!50!black, 
          rotate = 30] at (3,-1.4) {\Huge\bfseries Received};
  \end{tikzpicture}
  %
  \quad Well, this paragraph gives the list of
  several items that can be considered to
  be ingredients of a special dish for the
  emperor, badshah or nawab of Bengal.
  Once he gets to collect these items his
  cook can cook them to a savoury dish
  which every member of the royal family
  can taste and relish over this Winter.
  %
  \end{minipage}\hspace{0.5cm}\vspace{0.5cm}
}

\end{document}

在此处输入图片描述

相关内容