A compilable LaTeX example:
\documentclass[border=10pt]{standalone} \usepackage{smartdiagram} \begin{document} \smartdiagram[flow diagram:horizontal]{Edit, \LaTeX, Bib\TeX/ biber, make\-index, \LaTeX} \end{document}
A LaTeX snippet:
% Test \blindtext[3]
Another snippet:
\begin{tikzpicture} \begin{axis} [axis lines=center] \addplot [domain=-3:3, smooth, thick] { x^3 - 5*x }; \end{axis} \end{tikzpicture}
Graphics:
\includegraphics{some-image}
! Undefined control sequence.
l.1 \this one
The code for this is:
[codebox=text file=test.log]! Undefined control sequence. l.1 \this one[/codebox]
two lines of text
Here is a log file - no LaTeX button:
This is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live 2021) (preloaded format=pdflatex 2021.3.8) 16 MAR 2021 19:02 entering extended mode restricted \write18 enabled. %&-line parsing enabled.
Here is an error message - no LaTeX button:
! LaTeX Error: There's no line here to end. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.5 \\ ? ! Emergency stop.
Stefan