我有一个“trilogi”模拟软件文件。将其视为随机模拟软件文件。我想将其嵌入到我选择位置的 pdf 文档中,这样如果我在 pdf 文档中单击它,它就会打开。我该怎么做?我的简单工作程序如下所示
\documentclass[a4paper,14pt]{memoir}
\linespread{1.5}
\usepackage{graphicx}
\usepackage{color}
\usepackage{float}
\usepackage{caption}
\usepackage{graphicx}
\usepackage{subcaption}
\begin{document}
\pagestyle{plain}
\section*{\textcolor{red}{Introduction}}
Control engineering has evolved over time. In the past humans were the main method for controlling a system. More recently electricity has been used for control and control d
\end{document}
答案1
这是一个简短的示例,说明如何使用attachfile
。它将当前文件的源代码附加到 PDF 并创建可点击的链接。Adobe Reader/Acrobat 有一个选项卡,其中显示所有附件。
\documentclass{article}
\usepackage{attachfile}
\begin{document}
\textattachfile{\jobname.tex}{\textcolor{blue}{\LaTeX\ Sourcecode}}
\end{document}