pdflatex 文档中的安全打印

pdflatex 文档中的安全打印

这可能是我的情况。我制作了一份试卷,打印了 1300 份,分发给我的学生。但是我想在打印的页面上添加一些功能,这样如果有人复印了,人眼就能明显地注意到原件和复印件之间的区别。我想我的询问/要求是关于安全印刷。这是一个最小的工作示例,有什么建议吗?

\documentclass[10pt]{article}
\usepackage{amsmath}




% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
% WATERMARK
\usepackage{draftwatermark}
%\renewcommand{\familydefault}{\sfdefault}
\SetWatermarkText{A}
%\SetWatermarkColor[RGB]{210,217,242}
\SetWatermarkScale{35}
\SetWatermarkAngle{0}
\SetWatermarkLightness{0.9}
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %






\begin{document}

\centerline{ \textbf{ Linear Algebra Midterm} }
\centerline{\textbf{April, 18th, 2015} }


 %
%
%
%
\begin{table*}[h!]
%\caption{Notas. Solo Para Uso Oficial}
\centerline{\textbf{Score}}\vspace{5pt}
\begin{center}
\begin{tabular}{|c|c|c|c|c|c|c|}
    \hline
1 & 2 & 2 & 4 &  \textbf{TOTAL}& \textbf{GRADE} \\
    \hline
\hspace{0.3in} &  
\hspace{0.3in} & \hspace{0.3in} & 
\hspace{0.3in} & \hspace{1.0in} & \hspace{1.0in}  \\[0.4cm]
    \hline
\end{tabular}
\end{center}

%
\end{table*}
%
%
%
\vspace{-20pt}
%
\noindent \textbf{Instructions:} Mark the options of your choice or fill in the blanks. The test 4 questions to be answered in 60 minutes.  
\newline
\newline
\textbf{IDENTIFICATION}
\newline
\newline
Name: \hrulefill \hrulefill \hrulefill ID Number \hrulefill

\bigskip

Professor: \hrulefill \hrulefill \hrulefill Group \hrulefill

\bigskip




\begin{itemize}

\item $[8 pt]$ Find the real scalars $k$ such that $||kv||=3$ where $v=[-1,2,7,-3]$, 
$k=$\rule{3cm}{0.4pt}

\vspace{2cm}
\item $[8 pt]$ Determine whether the systems have trivial solutions or not.

\begin{equation*}
\begin{gathered}
x_1+3x_2+5x_3+x_4=0   \\
4x_1-7x_2-3x_3-x_4=0  \\
3x_1+2x_2+7x_3+8x_4=0\\
\hrulefill 
\end{gathered} \hspace{3cm}
\begin{gathered}
x+2y+3z=0\\
y+4z=0\\
5z=0\\
\hrulefill 
\end{gathered}
\end{equation*}


\item $[6 pt]$ Let $A,B$ be $4 \times 5$ matrices and $C,D$ and $E$ matrices of size $5 \times 2$, $4 \times 2$ and $5 \times 4$ respectively. Determine if the following matrix operations are well-defined.
\begin {itemize}
\item $BA$ \rule{3cm}{0.4pt}
\item $AC+D$ \rule{3cm}{0.4pt}
\item $AE+B$ \rule{3cm}{0.4pt}
\end{itemize}


\vspace{2cm}
\item $[6 pt]$ Suppose that a $3 \times 3$ matrix has all its entries equal to a non-null constant. What is the range of the matrix? \hrulefill.

%
\end{itemize}
%
\end{document}

答案1

我向你保证,这不会很好地复制。使用的元素包括:

  1. 两种颜色(加黑色)

  2. 印刷明暗对比

  3. 衍射光栅状图案

这是 MWE。您可以玩转颜色及其强度。我有五个这样的图来查看移位对副本结果的影响。整个设计包含在序言中。我习惯将everypage其放在每一页上。

\documentclass[10pt]{article}
\usepackage{amsmath,tikz,everypage}
% THESE ARE LaTeX DEFAULTS; CAN CHANGE IF NEEDED.
\def\PageTopMargin{1in}
\def\PageLeftMargin{1in}
\newcommand\atxy[3]{%
 \AddEverypageHook{\smash{\hspace*{\dimexpr-\PageLeftMargin-\hoffset+#1\relax}%
  \raisebox{\dimexpr\PageTopMargin+\voffset-#2\relax}{\textcolor{red}{#3}}}}}
% VERIFIED THAT SETTING \hoffset AND \voffset DO NOT BREAK SOLUTION.
%\hoffset=0.4in
%\voffset=0.2in
\newsavebox\bgrate
\savebox\bgrate{\color{red!20}%
\tikz{%
\node[circle,draw,minimum height=3.25em]{\Huge\textcolor{black}{X}};
\node[circle,draw,minimum height=3.00em]{};
\node[circle,draw,minimum height=2.75em]{};
\node[circle,draw,minimum height=2.50em]{};
\node[circle,draw,minimum height=2.25em]{};
\node[circle,draw,minimum height=2.00em]{};
\node[circle,draw,minimum height=1.75em]{};
\node[circle,draw,minimum height=1.50em]{};
\node[circle,draw,minimum height=1.25em]{};
\node[circle,draw]{};
}}
\newsavebox\rgrate
\savebox\rgrate{\color{red!20!green!15}%
\tikz{%
\node[circle,draw,minimum height=3.25em]{\Huge\textcolor{black}{X}};
\node[circle,draw,minimum height=3.00em]{};
\node[circle,draw,minimum height=2.75em]{};
\node[circle,draw,minimum height=2.50em]{};
\node[circle,draw,minimum height=2.25em]{};
\node[circle,draw,minimum height=2.00em]{};
\node[circle,draw,minimum height=1.75em]{};
\node[circle,draw,minimum height=1.50em]{};
\node[circle,draw,minimum height=1.25em]{};
\node[circle,draw]{};
}}
\def\thegrate{%
\ooalign{\usebox{\bgrate}\cr\kern.7pt\usebox{\rgrate}}%
\ooalign{\usebox{\bgrate}\cr\kern1pt\usebox{\rgrate}}%
\ooalign{\usebox{\bgrate}\cr\kern1.2pt\usebox{\rgrate}}%
\ooalign{\usebox{\bgrate}\cr\kern1.7pt\usebox{\rgrate}}%
\ooalign{\usebox{\bgrate}\cr\kern2.3pt\usebox{\rgrate}}%
}

\atxy{0.1in}{.57in}{\thegrate}

\begin{document}

\centerline{ \textbf{ Linear Algebra Midterm} }
\centerline{\textbf{April, 18th, 2015} }


 %
%
%
%
\begin{table*}[h!]
%\caption{Notas. Solo Para Uso Oficial}
\centerline{\textbf{Score}}\vspace{5pt}
\begin{center}
\begin{tabular}{|c|c|c|c|c|c|c|}
    \hline
1 & 2 & 2 & 4 &  \textbf{TOTAL}& \textbf{GRADE} \\
    \hline
\hspace{0.3in} &  
\hspace{0.3in} & \hspace{0.3in} & 
\hspace{0.3in} & \hspace{1.0in} & \hspace{1.0in}  \\[0.4cm]
    \hline
\end{tabular}
\end{center}

%
\end{table*}
%
%
%
\vspace{-20pt}
%
\noindent \textbf{Instructions:} Mark the options of your choice or fill in the blanks. The test 4 questions to be answered in 60 minutes.  
\newline
\newline
\textbf{IDENTIFICATION}
\newline
\newline
Name: \hrulefill \hrulefill \hrulefill ID Number \hrulefill

\bigskip

Professor: \hrulefill \hrulefill \hrulefill Group \hrulefill

\bigskip




\begin{itemize}

\item $[8 pt]$ Find the real scalars $k$ such that $||kv||=3$ where $v=[-1,2,7,-3]$, 
$k=$\rule{3cm}{0.4pt}

\vspace{2cm}
\item $[8 pt]$ Determine whether the systems have trivial solutions or not.

\begin{equation*}
\begin{gathered}
x_1+3x_2+5x_3+x_4=0   \\
4x_1-7x_2-3x_3-x_4=0  \\
3x_1+2x_2+7x_3+8x_4=0\\
\hrulefill 
\end{gathered} \hspace{3cm}
\begin{gathered}
x+2y+3z=0\\
y+4z=0\\
5z=0\\
\hrulefill 
\end{gathered}
\end{equation*}


\item $[6 pt]$ Let $A,B$ be $4 \times 5$ matrices and $C,D$ and $E$ matrices of size $5 \times 2$, $4 \times 2$ and $5 \times 4$ respectively. Determine if the following matrix operations are well-defined.
\begin {itemize}
\item $BA$ \rule{3cm}{0.4pt}
\item $AC+D$ \rule{3cm}{0.4pt}
\item $AE+B$ \rule{3cm}{0.4pt}
\end{itemize}


\vspace{2cm}
\item $[6 pt]$ Suppose that a $3 \times 3$ matrix has all its entries equal to a non-null constant. What is the range of the matrix? \hrulefill.

%
\end{itemize}
%


\end{document}

在此处输入图片描述

这是...那...那块布利维特的放大图:

在此处输入图片描述

这是原稿的扫描件(上图)和彩色复印件(下图),对比(哈哈)很明显。

在此处输入图片描述

相关内容