Re: mehrere Files, standalone vs subfiles

Uwe Brauer <[email protected]>
Newsgroups gmane.comp.tex.german
Message-ID <[email protected]>
>>> "GS" == Gernot Salzer <[email protected]> writes:

Hallo Gernot,

> Hallo Uwe,
> meiner Erinnerung nach ist der "normale" Use Case, ein standalone
> Bild "graphik.tex" (beginnt mit \documentclass[...]{standalone}) in
> ein Dokument einzubinden, indem dort \usepackage{standalone} und
> \includestandalone{graphik} verwendet wird.

Danke, ich beschränke mich mal auf standalone

> C.tex:

> \documentclass{standalone}
> % \usepackage{tikz}% falls C.tex alleine kompilierbar sein soll
> % \usepackage{standalone}% falls C.tex alleine kompilierbar sein soll
> \begin{document}
> \includestandalone{D}
> \end{document}


> D.tex:

> \documentclass{standalone}
> % \usepackage{tikz}% falls D.tex alleine kompilierbar sein soll
> \begin{document}
> \begin{tikzpicture}
> \node[draw]{};
> \end{tikzpicture}
> \end{document}


Das hat funktioniert. Was nicht funktioniert ist verschiedene Geometrien
auf verschiedenen Seiten, wenn der Hauptfile kompiliert wird. MWE
--8<---------------cut here---------------start------------->8---
\documentclass[preview]{standalone}
%\documentclass{standalone}
\usepackage{amsmath,amsthm}
\usepackage{quiver}
\usepackage{standalone}% falls C.tex alleine kompilierbar sein soll
\begin{document}
\includestandalone{d}
\clearpage
\includestandalone{e}
\end{document}
--8<---------------cut here---------------end--------------->8---
oder
--8<---------------cut here---------------start------------->8---
\documentclass[preview,multi=true,multi={minipage}]{standalone}
\usepackage{amsmath,amsthm}
\usepackage{quiver}
\usepackage{standalone}% falls C.tex alleine kompilierbar sein soll
\begin{document}
\begin{minipage}{1.0\linewidth}
\includestandalone{d}
\end{minipage}
\begin{minipage}{1.0\linewidth}
\includestandalone{e}
\end{minipage}
\end{document}
--8<---------------cut here---------------end--------------->8---
und 
--8<---------------cut here---------------start------------->8---
\documentclass[preview,border={5cm 4cm 20cm 4cm},multi=true,multi={minipage}]{standalone}
\usepackage{amsmath,amsthm}
\usepackage{quiver}
\begin{document}
\begin{minipage}{1.0\linewidth}
\section{Outline Proof of the  energy decay estimate for the acoustical wave }
\label{sec:outline-proof-energy}
\[\begin{tikzcd}
	{\boxed{\| \partial_t g^{jk} + 2 \omega g^{jk} \|_{H^N}  \leq C e^{-(2+q)\Omega} S_{g;N}}} \\
	\\
	{\boxed{\| \partial_t g^{jk} + 2 \omega g^{jk} \|_{L^{\infty}}  \leq C e^{-(2+q)\Omega} S_{g;N}}}
	\arrow["{\text{Sobolev embedding}}", from=1-1, to=3-1]
\end{tikzcd}\]
\end{minipage}
\end{document}
--8<---------------cut here---------------end--------------->8---

--8<---------------cut here---------------start------------->8---
\documentclass[preview,border={5cm 4cm 4cm 4cm},multi=true,multi={minipage}]{standalone}
\usepackage{amsmath,amsthm}
\usepackage{quiver}
\begin{document}
\begin{minipage}{1.0\linewidth}

\section{Outline Proof of the  energy decay estimate for the acoustical wave }
\label{sec:outline-proof-energy}
\[\begin{tikzcd}
	{\boxed{\| \partial_t g^{jk} + 2 \omega g^{jk} \|_{H^N}  \leq C e^{-(2+q)\Omega} S_{g;N}}} \\
	\\
	{\boxed{\| \partial_t g^{jk} + 2 \omega g^{jk} \|_{L^{\infty}}  \leq C e^{-(2+q)\Omega} S_{g;N}}}
	\arrow["{\text{Sobolev embedding}}", from=1-1, to=3-1]
\end{tikzcd}\]
\end{minipage}
\end{document}
--8<---------------cut here---------------end--------------->8---


Gruß

Uwe 

-- 
I strongly condemn Hamas heinous atrocities on Israel, especially the despicable pogroms.
I strongly condemn Putin's war of aggression against Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the EU and NATO membership of Ukraine.
smime.p7s (application/pkcs7-signature, 5.5 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.