diff --git a/README.md b/README.md index 1e7a9b7..c1382a3 100644 --- a/README.md +++ b/README.md @@ -376,4 +376,37 @@ pages = {}, To cite your sources you've defined in your bibliography file, you can use the syntax of `\cite{}` as you can see, you need your citing-id here again. This is to reference your citing in the text to the correct entry in your -bibtex-file. \ No newline at end of file +bibtex-file. + +# Importing other files + +With LaTeX you can import other files (such as other LaTeX files or pdfs) into your main file. This is very useful for +attachments or external documents, which you want to include in your documentation. + +## Import .tex files + +To import .tex files, you can use `\input{}` or `\import{}`. + +## Import one .tex file + +To import a single text file, you can just use `\input{}`. + +## Import multiple .tex files after each other + +If you want to import multiple .tex files directly after each other, the syntax is a bit special. You use +`\input{}` for the first .tex file, and `\import{}` for all the following .tex files. As soon as +there is a text, heading or float (graphics/tables) between two imported .tex files, you can use `\input{}` +again. See the example below for clarification. + +```latex +\input{} +\include{} +\include{} +\include{} + + +\section{New header} +This is a text for this header. + +\input{} +``` \ No newline at end of file