embed file code

This commit is contained in:
Mylloon 2024-12-26 18:54:08 +01:00
parent e3959adc80
commit f404b064da
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
5 changed files with 10 additions and 5 deletions

View file

@ -1,8 +1,9 @@
\documentclass[class=article]{standalone}
% Code integration
%\usepackage{minted}
%\usepackage{minted,embedfile}
%\usemintedstyle{emacs}
%\NewDocumentCommand{\code}{O{}mm}{\inputminted[#1]{#2}{#3}\embedfile{#3}}
\begin{document}

View file

@ -1,8 +1,9 @@
\documentclass[class=article]{standalone}
% Code integration
%\usepackage{minted}
%\usepackage{minted,embedfile}
%\usemintedstyle{emacs}
%\NewDocumentCommand{\code}{O{}mm}{\inputminted[#1]{#2}{#3}\embedfile{#3}}
\begin{document}

View file

@ -1,8 +1,9 @@
\documentclass[class=article]{standalone}
% Code integration
%\usepackage{minted}
%\usepackage{minted,embedfile}
%\usemintedstyle{emacs}
%\NewDocumentCommand{\code}{O{}mm}{\inputminted[#1]{#2}{#3}\embedfile{#3}}
\begin{document}

View file

@ -7,9 +7,10 @@
\usepackage[nopatch=footnote]{microtype}
% Code integration
%\usepackage{minted}
%\usepackage{minted,embedfile}
%\setminted{autogobble,breaklines}
%\usemintedstyle{emacs}
%\NewDocumentCommand{\code}{O{}mm}{\inputminted[#1]{#2}{#3}\embedfile{#3}}
% Languages
\usepackage[french]{babel}

View file

@ -6,9 +6,10 @@
\usepackage{microtype}
% Code integration
%\usepackage{minted}
%\usepackage{minted,embedfile}
%\setminted{autogobble,breaklines}
%\usemintedstyle{emacs}
%\NewDocumentCommand{\code}{O{}mm}{\inputminted[#1]{#2}{#3}\embedfile{#3}}
% Languages
\usepackage[french]{babel}