% Created 2020-07-21 Tue 18:42
% Intended LaTeX compiler: pdflatex
\documentclass{scrartcl}
\usepackage[T1]{fontenc}
\usepackage[osf,largesc,helvratio=0.9]{newpxtext}
\usepackage[scale=0.92]{sourcecodepro}
\usepackage[varbb]{newpxmath}

\usepackage[activate={true,nocompatibility},final,tracking=true,kerning=true,spacing=true,factor=2000]{microtype}
\usepackage{xcolor}
\usepackage{booktabs}

\usepackage{subcaption}
\usepackage[hypcap=true]{caption}
\setkomafont{caption}{\sffamily\small}
\setkomafont{captionlabel}{\upshape\bfseries}
\captionsetup{justification=raggedright,singlelinecheck=true}
\setcapindent{0pt}

\setlength{\parskip}{\baselineskip}
\setlength{\parindent}{0pt}

\usepackage{pifont}
\newcommand{\checkboxUnchecked}{$\square$}
\newcommand{\checkboxTransitive}{\rlap{\raisebox{0.0ex}{\hspace{0.35ex}\Large\textbf -}}$\square$}
\newcommand{\checkboxChecked}{\rlap{\raisebox{0.2ex}{\hspace{0.35ex}\scriptsize \ding{56}}}$\square$}

\newenvironment{warning}
    {\begin{center}
    \begin{tabular}{rp{0.9\textwidth}}
    \ding{82} & \textbf{Warning} \\ &
    }
    {
    \end{tabular}
    \end{center}
    }

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{grffile}
\usepackage{longtable}
\usepackage{wrapfig}
\usepackage{rotating}
\usepackage[normalem]{ulem}
\usepackage{amsmath}
\usepackage{textcomp}
\usepackage{amssymb}
\usepackage{capt-of}
\usepackage{hyperref}
  \usepackage[main,include]{embedall}
  \IfFileExists{./\jobname.org}{\embedfile[desc=The original file]{\jobname.org}}{}
  
  \usepackage{minted}
  \usepackage[many]{tcolorbox}
  \setminted{
    frame=none,
    % framesep=2mm,
    baselinestretch=1.2,
    fontsize=\footnotesize,
    highlightcolor=white!95!black!80!blue,
    linenos,
    breakanywhere=true,
    breakautoindent=true,
    breaklines=true,
    tabsize=4,
    xleftmargin=3.5em,
    autogobble=true,
    obeytabs=true,
    python3=true,
    % texcomments=true,
    framesep=2mm,
    breakbefore=\\.+,
    breakafter=\,
    style=autumn,
    breaksymbol=\color{white!60!black}\tiny\ensuremath{\hookrightarrow},
    breakanywheresymbolpre=\,\footnotesize\ensuremath{_{\color{white!60!black}\rfloor}},
    breakbeforesymbolpre=\,\footnotesize\ensuremath{_{\color{white!60!black}\rfloor}},
    breakaftersymbolpre=\,\footnotesize\ensuremath{_{\color{white!60!black}\rfloor}},
  }
  
  \BeforeBeginEnvironment{minted}{
    \begin{tcolorbox}[
      enhanced,
      overlay={\fill[white!90!black] (frame.south west) rectangle ([xshift=2.8em]frame.north west);},
      colback=white!95!black,
      colframe=white!95!black, % make frame colour same as background
      breakable,% Allow white breaks
      arc=0pt,outer arc=0pt,sharp corners, % sharp corners
      boxsep=0pt,left=0pt,right=0pt,top=0pt,bottom=0pt % no margin/paddding
    ]
  }
  \AfterEndEnvironment{minted}{\end{tcolorbox}}
  \renewcommand\theFancyVerbLine{\color{black!60!white}\arabic{FancyVerbLine}} % minted line numbering
\author{\textls*[70]{\textsc{tec}}}
\date{2020-07-21}
\title{Demo}

\colorlet{greenyblue}{blue!70!green}
\colorlet{blueygreen}{blue!40!green}
\providecolor{link}{named}{greenyblue}
\providecolor{cite}{named}{blueygreen}
\hypersetup{
  pdfauthor={\textls*[70]{\textsc{tec}}},
  pdftitle={Demo},
  pdfkeywords={},
  pdfsubject={},
  pdfcreator={Emacs 26.3 (Org mode 9.4)},
  pdflang={English},
  breaklinks=true,
  colorlinks=true,
  linkcolor=,
  urlcolor=link,
  citecolor=cite
}
\urlstyle{same}
\begin{document}

\maketitle
\tableofcontents


\section{Heading}
\label{sec:heading}
Just \emph{whatever} text \textbf{you} want. \texttt{code}.

\begin{minted}[]{shell}
echo "hi"
\end{minted}

some \LaTeX{} \(\frac{a}{b}\)

\[
a = \sqrt{c}
\]

\begin{minted}[]{python}
return [[i, i**2, i**3] for i in range(10)]
\end{minted}

\begin{center}
\begin{tabular}{rrr}
\toprule
0 & 0 & 0\\
1 & 1 & 1\\
2 & 4 & 8\\
3 & 9 & 27\\
4 & 16 & 64\\
5 & 25 & 125\\
6 & 36 & 216\\
7 & 49 & 343\\
8 & 64 & 512\\
9 & 81 & 729\\
\bottomrule
\end{tabular}
\end{center}
\end{document}
