Is there any easy way to export/convert LibreOffice tables & graphs to LaTeX format?
EDIT
this website allows you to paste the data and generates LaTeX formatted tables.
CALC LOOKS LIKE THIS:
Is there any easy way to export/convert LibreOffice tables & graphs to LaTeX format?
EDIT
this website allows you to paste the data and generates LaTeX formatted tables.
CALC LOOKS LIKE THIS:
See this example:
\documentclass{article}
\usepackage{mwe}
\begin{document}
\blindtext
\begin{center}
\includegraphics[page=1,trim=10 400 0 100, clip, width=\linewidth]{yourpdf.pdf}
\end{center}
\blindtext
\end{document}
Where yourpdf.pdf is a file with this two pages:
And the result of my MWE is:
The values to use in the trim option depend on your document and images, from the package documentation:
trim Similar to viewport, but here the four lengths specify the amount to remove or add to each side. trim= 1 2 3 4 `crops' the picture by 1bp at the left, 2bp at the bottom, 3bp on the right and 4bp at the top.
With some trial & errors, you can find them easily.
\includegraphics, as indicated in the answer I linked before. You can set thewidth=<width>and/or theheight=<heightto fit it into your LaTeX document. Look at thegraphicsorgraphicxpackage documentation: https://www.ctan.org/pkg/graphicx. – CarLaTeX Aug 26 '17 at 05:32pdfwith thetrimoption: https://tex.stackexchange.com/a/57420/101651 – CarLaTeX Aug 26 '17 at 05:49pagewhere you can choose the page to include with the command – CarLaTeX Aug 26 '17 at 06:08