我想创建一个由多个文档类 2 实例组成的文档类 1 的连续日记,其中首选的文档类 2 是“分钟”。我知道子文件,但不知道如何在此结构中使用分钟类。
MWE: main.tex
\title{Diary}
\documentclass{labbook}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{graphicx}
\usepackage{subfiles}
\begin{document}
\section*{Meetings}
\subfile{Meetings/20Aug}
%\subfile{Meetings/21Aug} %This will be similar to the one above
%etc...
\end{document}
这些是会议记录子文件:20Aug.tex:
\documentclass[../main.tex]{subfiles} %This is the normal structure for subfiles
%\documentclass[10pt,a4paper,twoside]{mins} % This is the document class I would like and below are its attributes
% \setcommittee{Some Committee Title}
%\setshortcommittee{Committee Short}
%\setmembers{
% \role{Person}{Job},
% \role{Another Person}{Another Job},
% Someone NoJob
%}
%\setdate{[Date], [Scheduled Time]}
%\apologies{Someone Good} %If no-one gives apologies, leave blank and will be dropped
%\absent{Someone Bad} %If no-one is absent, leave blank, and it will be dropped
%\alsopresent{Someone Visitor} %If no-one is a visitor, leave blank and it will be dropped
%\setisAgenda{}%leave as blank for regular minutes. Set to True if agenda.
\begin{document}
\textbf{Meeting of 20 Aug}
\iffalse
\begin{minutes}
\begin{center}\emph{Meeting Opened at [Time]}\end{center}
\begin{business}
\item Business Item 1
Some details about BI1
\item Business Item 2
Some details about BI1
\item Et Cetera
\end{business}
\begin{center}\emph{Meeting Closed at [Time]}\end{center}
\end{minutes}
\nextmeeting{[Some Date], [Some Time], [Some Place]}
\fi
\end{document}
答案1
使用mins.tex
来自http://archiv.dante.de/~herbert/tmp/mins.tex` 您可以按原样使用会议文件:
\documentclass{labbook}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{graphicx}
\usepackage{subfiles}
\input{mins}%%%%%%%%% mins.tex is in the directory of main.tex
\title{Diary}
\begin{document}
\section*{Meetings}
\subfile{Meetings/20Aug}
%\subfile{Meetings/21Aug} %This will be similar to the one above
%etc...
\end{document}