Standard sections as macros

This commit is contained in:
architeuthidae 2024-10-30 21:29:39 +01:00
parent a6985892cf
commit 173055138a
3 changed files with 25 additions and 21 deletions

View File

@ -167,9 +167,7 @@ Real-time control of EEM daughtercards is implemented using the ARTIQ RTIO syste
% page-by-page. % page-by-page.
\onecolumn \onecolumn
\section{Source} \sourcesection{Kasli 2.0}{https://github.com/sinara-hw/Kasli}
Kasli 2.0, like all the Sinara hardware family, is open-source hardware, and design files (schematics, PCB layouts, BOMs) can be found in detail at the repository \url{https://github.com/sinara-hw/Kasli}.
\section{Electrical Specifications} \section{Electrical Specifications}
External clock parameters are derived based on the internal termination specified in External clock parameters are derived based on the internal termination specified in
@ -305,12 +303,8 @@ The following code snippets describe two experiments, in which the data from the
Similar to DMA, cached data is no longer retrievable once the core device has been rebooted. Similar to DMA, cached data is no longer retrievable once the core device has been rebooted.
\section{Ordering Information} \ordersection{1124 Carrier Kasli 2.0}
To order, please visit \url{https://m-labs.hk} and select 1124 Carrier Kasli 2.0 in the ARTIQ/Sinara crate configuration tool. Cards may also be ordered separately by writing to \url{mailto:sales@m-labs.hk}.
\section*{} \finalfootnote
\vspace*{\fill}
\input{footnote.tex}
\end{document} \end{document}

View File

@ -227,10 +227,7 @@ Clocker can be powered externally or internally. To provide external power, conn
% page-by-page. % page-by-page.
\onecolumn \onecolumn
\section{Source} \sourcesection{7210 Clocker}{https://github.com/sinara-hw/Clocker}
Clocker, like all the Sinara hardware family, is open-source hardware, and design files (schematics, PCB layouts,
BOMs) can be found in detail at the repository \url{https://github.com/sinara-hw/Clocker}.
\section{Electrical Specifications} \section{Electrical Specifications}
@ -296,12 +293,7 @@ Either \texttt{INT} or \texttt{EXT} can be selected.
\end{center} \end{center}
\end{multicols} \end{multicols}
\section{Ordering Information} \ordersection{7210 Clocker}
To order, please visit \url{https://m-labs.hk} and select 7210 Clocker in the ARTIQ/Sinara crate configuration tool. Cards may also be ordered separately by writing to \url{mailto:sales@m-labs.hk}. \finalfootnote{}
\section*{}
\vspace*{\fill}
\input{footnote.tex}
\end{document} \end{document}

View File

@ -31,3 +31,21 @@
\end{tcolorbox} \end{tcolorbox}
} }
\newcommand{\repeatfootnote}[1]{\textsuperscript{\ref{#1}}} \newcommand{\repeatfootnote}[1]{\textsuperscript{\ref{#1}}}
\newcommand*{\sourcesection}[2]{
\section{Source}
#1, like all the Sinara hardware family, is open-source hardware, and design files (schematics, PCB layouts, BOMs) can be found in detail at the repository \url{#2}.
}
\newcommand*{\ordersection}[1]{
\section{Ordering Information}
To order, please visit \url{https://m-labs.hk} and choose #1 in the ARTIQ/Sinara hardware selection tool. Cards can be ordered as part of a fully-featured ARTIQ/Sinara crate or standalone through the 'Spare cards' option. Otherwise, orders can also be made by writing directly to \url{mailto:sales@m-labs.hk}.
}
\newcommand*{\finalfootnote}{
\section*{}
\vspace*{\fill}
\begin{footnotesize}
Information furnished by M-Labs Limited is provided in good faith in the hope that it will be useful. However, no responsibility is assumed by M-Labs Limited for its use. Specifications may be subject to change without notice.
\end{footnotesize}
}