diff --git a/papers/00_texderwalt/00_texderwalt.tex b/papers/00_texderwalt/00_texderwalt.tex deleted file mode 100644 index 8ef922df68..0000000000 --- a/papers/00_texderwalt/00_texderwalt.tex +++ /dev/null @@ -1,284 +0,0 @@ - -\subsection{Introduction \label{introduction}} - -Twelve hundred years ago—in a galaxy just across the hill \ldots - -First, do not include a title, author block, or \verb|\begin{document}|, etc. -in your paper. We have custom formatting we use for those, and they will be -auto-generated for you during the build process. What you enter into your latex -file will get placed into a template file along with things like your abstract -and keywords. It's very important that you add all of these to your -\texttt{metadata.yaml} file! - -Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum sapien -tortor, bibendum et pretium molestie, dapibus ac ante. Nam odio orci, interdum -sit amet placerat non, molestie sed dui. Pellentesque eu quam ac mauris -tristique sodales. Fusce sodales laoreet nulla, id pellentesque risus convallis -eget. Nam id ante gravida justo eleifend semper vel ut nisi. Phasellus -adipiscing risus quis dui facilisis fermentum. Duis quis sodales neque. Aliquam -ut tellus dolor. Etiam ac elit nec risus lobortis tempus id nec erat. Morbi eu -purus enim. Integer et velit vitae arcu interdum aliquet at eget purus. Integer -quis nisi neque. Morbi ac odio et leo dignissim sodales. Pellentesque nec nibh -nulla. Donec faucibus purus leo. Nullam vel lorem eget enim blandit ultrices. -Ut urna lacus, scelerisque nec pellentesque quis, laoreet eu magna. Quisque ac -justo vitae odio tincidunt tempus at vitae tortor. - -\subsection{Bibliographies, citations and block quotes \label{bibliographies-citations-and-block-quotes}} - -If you want to include a \texttt{.bib} file, do so above by placing \verb|bibliography: yourFilenameWithoutExtension| in the \texttt{metadata.yaml} file as \verb|yourFilenameWithoutExtension| being sure to remove the \texttt{.bib} extension. - -\textbf{Do not include any special characters that need to be escaped or any spaces in the bib-file's name}. Doing so makes bibTeX cranky, \& the rst to LaTeX+bibTeX transform won't work. - -To reference citations contained in that bibliography use the \verb|\cite| command, as in \cite{hume48} (which literally is \verb|\cite{hume48}| in accordance with the \texttt{hume48} cite-key in the associated \texttt{mybib.bib} file). - -If you wish to have a block quote, use the \verb|\begin{quotation}| and \verb|\begin{quote}| commands, as in: - -\begin{quotation} - \begin{quote} - When it is asked, What is the nature of all our reasonings concerning matter of fact? the proper answer seems to be, that they are founded on the relation of cause and effect. When again it is asked, What is the foundation of all our reasonings and conclusions concerning that relation? it may be replied in one word, experience. But if we still carry on our sifting humor, and ask, What is the foundation of all conclusions from experience? this implies a new question, which may be of more difficult solution and explication. \cite{hume48} - \end{quote} -\end{quotation} - -\subsubsection{Dois in bibliographies \label{dois-in-bibliographies}} - -In order to include a doi in your bibliography, add the doi to your bibliography -entry as a string. For example: -\vspace{1mm} -\begin{verbatim} - @Book{hume48, - author = {David Hume}, - year = 1748, - title = {An enquiry concerning human understanding}, - address = {Indianapolis, IN}, - publisher = {Hackett}, - doi = {10.1017/CBO9780511808432} - } -\end{verbatim} -\vspace{1mm} - -If there are errors when adding it due to non-alphanumeric characters, see if -wrapping the doi in \texttt{\textbackslash{}detokenize} works to solve the issue. - -\vspace{1mm} -\begin{verbatim} - @Book{hume48, - author = {David Hume}, - year = 1748, - title = {An enquiry concerning human understanding}, - address = {Indianapolis, IN}, - publisher = {Hackett}, - doi = \detokenize{10.1017/CBO9780511808432}, - } -\end{verbatim} -\vspace{1mm} - -\subsection{Citing software and websites \label{citing-software-and-websites}} - -Any paper relying on open-source software would surely want to include citations. -Often you can find a citation in BibTeX format via a web search. -Authors of software packages may even publish guidelines on how to cite their work. - -For convenience, citations to common packages such as -Jupyter\cite{jupyter}, -Matplotlib\cite{matplotlib}, -NumPy\cite{numpy}, -pandas\cite{pandas1}\cite{pandas2}, -scikit-learn\cite{sklearn1}\cite{sklearn2}, and -SciPy\cite{scipy} -are included in this paper's \texttt{.bib} file. - -In this paper we not only terraform a desert using the package terradesert\cite{terradesert}, we also catch a sandworm with it. -To cite a website, the following BibTeX format plus any additional tags necessary for specifying the referenced content is recommended. -\vspace{1mm} -\begin{verbatim} - @Misc{terradesert, - author = {TerraDesert Team}, - title = {Code for terraforming a desert}, - year = {2000}, - url = {https://terradesert.com/code/}, - note = {Accessed 1 Jan. 2000} - } -\end{verbatim} -\vspace{1mm} - -\subsection{Source code examples \label{source-code-examples}} - -Of course, no paper would be complete without some source code. Without -highlighting, it would look like this: - -\begin{verbatim} - def sum(a, b): - """Sum two numbers.""" - - return a + b -\end{verbatim} - -With code-highlighting: - -\vspace{1mm} -\begin{Verbatim}[commandchars=\\\{\},fontsize=\footnotesize] - \PY{k}{def} \PY{n+nf}{sum}\PY{p}{(}\PY{n}{a}\PY{p}{,} \PY{n}{b}\PY{p}{)}\PY{p}{:} - \PY{+w}{ }\PY{l+s+sd}{\PYZdq{}\PYZdq{}\PYZdq{}Sum two numbers.\PYZdq{}\PYZdq{}\PYZdq{}} - - \PY{k}{return} \PY{n}{a} \PY{o}{+} \PY{n}{b} -\end{Verbatim} -\vspace{1mm} - -Maybe also in another language, and with line numbers: - -\vspace{1mm} -\begin{Verbatim}[commandchars=\\\{\},numbers=left,firstnumber=1,stepnumber=1,fontsize=\footnotesize,xleftmargin=2.25mm,numbersep=3pt] - \PY{k+kt}{int}\PY{+w}{ }\PY{n+nf}{main}\PY{p}{(}\PY{p}{)}\PY{+w}{ }\PY{p}{\PYZob{}} - \PY{+w}{ }\PY{k}{for}\PY{+w}{ }\PY{p}{(}\PY{k+kt}{int}\PY{+w}{ }\PY{n}{i}\PY{+w}{ }\PY{o}{=}\PY{+w}{ }\PY{l+m+mi}{0}\PY{p}{;}\PY{+w}{ }\PY{n}{i}\PY{+w}{ }\PY{o}{\PYZlt{}}\PY{+w}{ }\PY{l+m+mi}{10}\PY{p}{;}\PY{+w}{ }\PY{n}{i}\PY{o}{+}\PY{o}{+}\PY{p}{)}\PY{+w}{ }\PY{p}{\PYZob{}} - \PY{+w}{ }\PY{c+cm}{/* do something */} - \PY{+w}{ }\PY{p}{\PYZcb{}} - \PY{+w}{ }\PY{k}{return}\PY{+w}{ }\PY{l+m+mi}{0}\PY{p}{;} - \PY{p}{\PYZcb{}} -\end{Verbatim} -\vspace{1mm} - -Or a snippet from the above code, starting at the correct line number: -\vspace{1mm} -\begin{Verbatim}[commandchars=\\\{\},numbers=left,firstnumber=2,stepnumber=1,fontsize=\footnotesize,xleftmargin=2.25mm,numbersep=3pt] - \PY{k}{for}\PY{+w}{ }\PY{p}{(}\PY{k+kt}{int}\PY{+w}{ }\PY{n}{i}\PY{+w}{ }\PY{o}{=}\PY{+w}{ }\PY{l+m+mi}{0}\PY{p}{;}\PY{+w}{ }\PY{n}{i}\PY{+w}{ }\PY{o}{\PYZlt{}}\PY{+w}{ }\PY{l+m+mi}{10}\PY{p}{;}\PY{+w}{ }\PY{n}{i}\PY{o}{+}\PY{o}{+}\PY{p}{)}\PY{+w}{ }\PY{p}{\PYZob{}} - \PY{+w}{ }\PY{c+cm}{/* do something */} - \PY{p}{\PYZcb{}} -\end{Verbatim} -\vspace{1mm} - - -\subsection{Important Part \label{important-part}} - -It is well known \cite{Atr03} that Spice grows on the planet Dune. Test -some maths, for example $e^{\pi i} + 3 \delta$. Or maybe an -equation on a separate line: - -\begin{equation*} - g(x) = \int_0^\infty f(x) dx -\end{equation*} - -or on multiple, aligned lines: - -\begin{eqnarray*} - g(x) &=& \int_0^\infty f(x) dx \\ - &=& \ldots -\end{eqnarray*} - -The area of a circle and volume of a sphere are given as - -\begin{equation} - \label{circarea} - A(r) = \pi r^2. -\end{equation} - -\begin{equation} - \label{spherevol} - V(r) = \frac{4}{3} \pi r^3 -\end{equation} - -We can then refer back to Equation (\ref{circarea}) or -(\ref{spherevol}) later. - -Mauris purus enim, volutpat non dapibus et, gravida sit amet sapien. In at -consectetur lacus. Praesent orci nulla, blandit eu egestas nec, facilisis vel -lacus. Fusce non ante vitae justo faucibus facilisis. Nam venenatis lacinia -turpis. Donec eu ultrices mauris. Ut pulvinar viverra rhoncus. Vivamus -adipiscing faucibus ligula, in porta orci vehicula in. Suspendisse quis augue -arcu, sit amet accumsan diam. Vestibulum lacinia luctus dui. Aliquam odio arcu, -faucibus non laoreet ac, condimentum eu quam. Quisque et nunc non diam -consequat iaculis ut quis leo. Integer suscipit accumsan ligula. Sed nec eros a -orci aliquam dictum sed ac felis. Suspendisse sit amet dui ut ligula iaculis -sollicitudin vel id velit. Pellentesque hendrerit sapien ac ante facilisis -lacinia. Nunc sit amet sem sem. In tellus metus, elementum vitae tincidunt ac, -volutpat sit amet mauris. Maecenas\footnote{On the one hand, a footnote.} diam -turpis, placerat\footnote{On the other hand, another footnote.} at adipiscing -ac, pulvinar id metus. - -\begin{figure}[] - \noindent - \makebox[\columnwidth][c]{\includegraphics[width=\columnwidth]{figure1.png}} - \caption{This is the caption. \label{egfig}} -\end{figure} - -\begin{figure*}[] - \noindent - \makebox[\textwidth][c]{\includegraphics[width=\columnwidth]{figure1.png}} - \caption{This is a wide figure, specified by adding * to the end of - the figure environment. It is also center - aligned, by default} -\end{figure*} - -\begin{figure}[bht] - \noindent - \makebox[\columnwidth][c]{\includegraphics[scale=0.20]{figure1.png}} - \caption{This is the caption on a smaller figure that will be placed by default at the - bottom of the page, and failing that it will be placed inline or at the top. - Note that for now, scale is relative to a completely arbitrary original - reference size which might be the original size of your image - you probably - have to play with it. \label{egfig2}} -\end{figure} - -As you can see in Figures \ref{egfig} and \ref{egfig2}, this is how you -reference auto-numbered figures. - -\begin{table} - \setlength{\DUtablewidth}{\tablewidth} - \begin{longtable*}[c]{p{0.156\DUtablewidth}p{0.203\DUtablewidth}} - \toprule - \textbf{Material} & \textbf{Units} \\ - \midrule - \endfirsthead - Stone & 3 \\ - Water & 12 \\ - Cement & $\alpha$ \\ - \bottomrule - \end{longtable*} - \caption{This is the caption for the materials table. \label{mtable}} -\end{table} - -We show the different quantities of materials required in Table -\ref{mtable}. - -% The statement below shows how to adjust the width of a table. - -\setlength{\tablewidth}{0.8\linewidth} -\begin{table*} - \setlength{\DUtablewidth}{\tablewidth} - \begin{longtable*}[c]{p{0.110\DUtablewidth}p{0.063\DUtablewidth}p{0.086\DUtablewidth}p{0.086\DUtablewidth}p{0.086\DUtablewidth}p{0.086\DUtablewidth}p{0.110\DUtablewidth}} - \toprule - This & is & a & very & very & wide & table \\ - \bottomrule - \end{longtable*} - \caption{This is the caption for the wide table.} -\end{table*} - -And since you are working in raw latex already, you can easily make complex -table formats. Above we used \verb|\DUtablewidth| to control the width of individual parts of a table, but you can also let tex worry about that part for you: - -\begin{table*} - \begin{longtable*}{|l|r|r|r|} - \hline - \multirow{2}{*}{Projection} & \multicolumn{3}{c|}{Area in square miles}\tabularnewline - \cline{2-4} - & Large Horizontal Area & Large Vertical Area & Smaller Square Area\tabularnewline - \hline - Albers Equal Area & 7,498.7 & 10,847.3 & 35.8\tabularnewline - \hline - Web Mercator & 13,410.0 & 18,271.4 & 63.0\tabularnewline - \hline - Difference & 5,911.3 & 7,424.1 & 27.2\tabularnewline - \hline - Percent Difference & 44\% & 41\% & 43\%\tabularnewline - \hline - \end{longtable*} - \caption{Area Comparisons \label{quanitities-table}} -\end{table*} - -Perhaps we want to end off with a quote by Lao Tse\footnote{$\mathrm{e^{-i\pi}}$}: - -\begin{quotation} - \begin{quote} - \emph{Muddy water, let stand, becomes clear.} - \end{quote} -\end{quotation} - diff --git a/papers/00_texderwalt/banner.png b/papers/00_texderwalt/banner.png new file mode 100644 index 0000000000..c5dd028e26 Binary files /dev/null and b/papers/00_texderwalt/banner.png differ diff --git a/papers/00_texderwalt/figure1.png b/papers/00_texderwalt/figure1.png index f9235c3b4c..cd768ee933 100644 Binary files a/papers/00_texderwalt/figure1.png and b/papers/00_texderwalt/figure1.png differ diff --git a/papers/00_texderwalt/figure2.png b/papers/00_texderwalt/figure2.png new file mode 100644 index 0000000000..2ff94d5a6b Binary files /dev/null and b/papers/00_texderwalt/figure2.png differ diff --git a/papers/00_texderwalt/main.tex b/papers/00_texderwalt/main.tex new file mode 100644 index 0000000000..832eaa3a40 --- /dev/null +++ b/papers/00_texderwalt/main.tex @@ -0,0 +1,255 @@ +\begin{abstract} + A short version of the long version that is way too long to be written as a short version anyway. Still, when considering the facts from first principles, we find that the outcomes of this introspective approach is compatible with the guidelines previously established. + + In such an experiment it is then clear that the potential for further development not only depends on previous relationships found but also on connections made during exploitation of this novel new experimental protocol. +\end{abstract} + +\section{Introduction}\label{introduction} + +Twelve hundred years ago—in a galaxy just across the hill \ldots + +First, do not include a title, author block, or \verb|\begin{document}|, etc. +in your paper. Enter your document details including authors, affiliations and keywords in your \texttt{myst.yml} file. + +\textbf{Note}: MyST Markdown (\href{https://mystmd.org}{mystmd.org}) does not use +LaTeX for \emph{reading} or \emph{rendering}, \textbf{only use this format as a convenience} if you are +already familiar with LaTeX and prefer to use it as an authoring environment. +MyST translates the LaTeX to an internal representation, and then renders in HTML and other formats. +As such, not all LaTeX will work out of the box if you come across an issue that needs attention, +please ask the editorial team who can suggest a workaround or work on a fix. +\textbf{LaTeX macros and custom packages are not supported.} + +To render this document, download \href{https://mystmd.org/guide/quickstart}{mystmd} and run \texttt{myst start}. +Changes to this document will trigger a realtime rerender and show your HTML article. +SciPy does not use LaTeX to rendered the article. + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum sapien +tortor, bibendum et pretium molestie, dapibus ac ante. Nam odio orci, interdum +sit amet placerat non, molestie sed dui. Pellentesque eu quam ac mauris +tristique sodales. Fusce sodales laoreet nulla, id pellentesque risus convallis +eget. Nam id ante gravida justo eleifend semper vel ut nisi. Phasellus +adipiscing risus quis dui facilisis fermentum. Duis quis sodales neque. Aliquam +ut tellus dolor. Etiam ac elit nec risus lobortis tempus id nec erat. Morbi eu +purus enim. Integer et velit vitae arcu interdum aliquet at eget purus. Integer +quis nisi neque. Morbi ac odio et leo dignissim sodales. Pellentesque nec nibh +nulla. Donec faucibus purus leo. Nullam vel lorem eget enim blandit ultrices. +Ut urna lacus, scelerisque nec pellentesque quis, laoreet eu magna. Quisque ac +justo vitae odio tincidunt tempus at vitae tortor. + +\section{Bibliographies, citations and block quotes}\label{bibliographies-citations-and-block-quotes} + +We encourage you to include a \texttt{.bib} file, which will be automatically included by MyST. + +\textbf{Please do not include any special characters that need to be escaped or any spaces in the bib-file's name or keys}. Doing so makes BibTeX cranky. + +To reference citations contained in that bibliography use the \verb|\cite| command, as in \citep{hume48} (which literally is \verb|\cite{hume48}| in accordance with the \texttt{hume48} cite-key in the associated \texttt{mybib.bib} file). + +If you wish to have a block quote, use the \verb|\begin{quote}| command, as in: + +\begin{quote} + When it is asked, What is the nature of all our reasonings concerning matter of fact? the proper answer seems to be, that they are founded on the relation of cause and effect. When again it is asked, What is the foundation of all our reasonings and conclusions concerning that relation? it may be replied in one word, experience. But if we still carry on our sifting humor, and ask, What is the foundation of all conclusions from experience? this implies a new question, which may be of more difficult solution and explication. \cite{hume48} +\end{quote} + +\subsection{DOIs in bibliographies}\label{dois-in-bibliographies} + +In order to include a DOI in your bibliography, add the DOI to your bibliography +entry as a string. For example: + +\begin{verbatim} +@book{hume48, + author = {David Hume}, + year = 1748, + title = {An enquiry concerning human understanding}, + address = {Indianapolis, IN}, + publisher = {Hackett}, + doi = {10.1017/CBO9780511808432} +} +\end{verbatim} + + +\section{Citing software and websites}\label{citing-software-and-websites} + +Any paper relying on open-source software would surely want to include citations. +Often you can find a citation in BibTeX format via a web search. +Authors of software packages may even publish guidelines on how to cite their work. + + +For convenience, citations to common packages such as +Jupyter \citep{jupyter}, +Matplotlib \citep{matplotlib}, +NumPy \citep{numpy}, +pandas \citep{pandas1,pandas2}, +scikit-learn \citep{sklearn1,sklearn2}, and +SciPy \citep{scipy} +are included in this paper's \texttt{.bib} file. + +In this paper we not only terraform a desert using the package terradesert \citep{terradesert}, we also catch a sandworm with it. +To cite a website, the following BibTeX format plus any additional tags necessary for specifying the referenced content is recommended. +If you are citing a team, ensure that the author name is wrapped in additional braces \texttt{\{Team Name\}}, so it is not treated as an authors first and last names. + +\begin{verbatim} +@misc{terradesert, + author = {{TerraDesert Team}}, + title = {Code for terraforming a desert}, + year = {2000}, + url = {https://terradesert.com/code/}, + note = {Accessed 1 Jan. 2000} +} +\end{verbatim} + + +\section{Source code examples}\label{source-code-examples} + +Of course, no paper would be complete without some source code. +Without specifying a language the highlighting looks like this: + +\begin{verbatim} +def sum(a, b): + """Sum two numbers.""" + + return a + b +\end{verbatim} + +The \texttt{mystmd} parser recognizes \texttt{lstlisting} code-highlighting syntax: + +\begin{lstlisting}[language=Python] +def sum(a, b): + """Sum two numbers.""" + + return a + b +\end{lstlisting} +You can also refer to a code block with a caption \autoref{lst:sum}. +\begin{lstlisting}[label=lst:sum,language=Python,caption=Example Python Code] +def sum(a, b): + """Sum two numbers.""" + + return a + b +\end{lstlisting} +Maybe also in another language, and with line numbers: +\begin{lstlisting}[language=c,numbers=left] +int main() { + for (int i = 0; i < 10; i++) { + /* do something */ + } + return 0; +} +\end{lstlisting} + +Or a snippet from the above code, starting at the correct line number: + +\begin{lstlisting}[language=c,numbers=left,firstnumber=2] + for (int i = 0; i < 10; i++) { + /* do something */ + } +\end{lstlisting} + +The code will be properly formatted and presented with a copy-code button in the HTML view of your paper. + +\section{Important Part}\label{important-part} + +It is well known that Spice grows on the planet Dune \citep{Atr03}. +Test some maths, for example $e^{\pi i} + 3 \delta$. +Or maybe an equation on a separate line: + +\begin{equation*} + g(x) = \int_0^\infty f(x) dx +\end{equation*} +or using aligned lines for a single equation: +\begin{equation} +\begin{aligned} + g(x) &= \int_0^\infty f(x) dx \\ + &= \ldots +\end{aligned} +\end{equation} + +The area of a circle and volume of a sphere are given as +\begin{equation} + \label{circarea} + A(r) = \pi r^2. +\end{equation} +\begin{equation} + \label{spherevol} + V(r) = \frac{4}{3} \pi r^3 +\end{equation} +we can then refer back to Equation (\ref{circarea}) or +(\ref{spherevol}) later. + +Mauris purus enim, volutpat non dapibus et, gravida sit amet sapien. In at +consectetur lacus. Praesent orci nulla, blandit eu egestas nec, facilisis vel +lacus. Fusce non ante vitae justo faucibus facilisis. Nam venenatis lacinia +turpis. Donec eu ultrices mauris. Ut pulvinar viverra rhoncus. Vivamus +adipiscing faucibus ligula, in porta orci vehicula in. Suspendisse quis augue +arcu, sit amet accumsan diam. Vestibulum lacinia luctus dui. Aliquam odio arcu, +faucibus non laoreet ac, condimentum eu quam. Quisque et nunc non diam +consequat iaculis ut quis leo. Integer suscipit accumsan ligula. Sed nec eros a +orci aliquam dictum sed ac felis. Suspendisse sit amet dui ut ligula iaculis +sollicitudin vel id velit. Pellentesque hendrerit sapien ac ante facilisis +lacinia. Nunc sit amet sem sem. In tellus metus, elementum vitae tincidunt ac, +volutpat sit amet mauris. Maecenas\footnote{On the one hand, a footnote.} diam +turpis, placerat\footnote{On the other hand, another footnote.} at adipiscing +ac, pulvinar id metus. + +\begin{figure}[] + \includegraphics[width=0.7\textwidth]{figure1.png} + \caption{This is the caption, sandworm vorticity based on storm location in a pleasing stream plot. Based on example in \href{https://matplotlib.org/stable/plot_types/arrays/streamplot.html}{matplotlib}. \label{egfig}} +\end{figure} + + +\begin{figure}[] + \includegraphics[width=0.7\textwidth]{figure2.png} + \caption{This is the caption, electromagnetic signature of the sandworm based on remote sensing techniques. Based on example in \href{https://matplotlib.org/stable/plot_types/stats/hist2d.html}{matplotlib}. \label{egfig2}} +\end{figure} + +As you can see in \autoref{egfig}, the vorticity is high in the margins. Additionally in Figures \ref{egfig} and \ref{egfig2} ... this is how you reference auto-numbered figures. +Use \texttt{autoref} when referring to a single figure, and \texttt{ref} if you need individual access to the number. + +\begin{table} + \centering + \caption{This is the caption for the materials table.\label{mtable}} + \begin{tabular}{cc} + \toprule + \textbf{Material} & \textbf{Units} \\ + \midrule + Stone & 3 \\ + Water & 12 \\ + Cement & $\alpha$ \\ + \bottomrule + \end{tabular} +\end{table} + +We show the different quantities of materials required in \autoref{mtable}. + +% The statement below shows how to adjust the width of a table. + +\begin{longtable}[c]{p{0.110\textwidth}p{0.02\textwidth}p{0.02\textwidth}p{0.086\textwidth}p{0.086\textwidth}p{0.086\textwidth}p{0.110\textwidth}} + \caption{This is the caption for the wide table with custom widths.\label{wide-table}} \\ + \toprule + This & is & a & very & very & wide & table \\ + \bottomrule +\end{longtable} + +And since you are working in raw LaTeX already, you can easily make complex +table formats. Above we used \verb|\DUtablewidth| to control the width of individual parts of a table, but you can also let tex worry about that part for you: + +\begin{longtable}{|l|rrr|} +\caption{Area Comparisons \label{quanitities-table}}\\ +\hline +\multirow{2}{*}{\bf Projection} & \multicolumn{3}{c|}{\bf Area in square miles} \\ +\cline{2-4} +& \textbf{Large Horizontal Area} & \textbf{Large Vertical Area} & \textbf{Smaller Square Area} \\ +\hline +\endfirsthead +Albers Equal Area & 7,498.7 & 10,847.3 & 35.8 \\ +Web Mercator & 13,410.0 & 18,271.4 & 63.0 \\ +Difference & 5,911.3 & 7,424.1 & 27.2 \\ +Percent Difference & 44\% & 41\% & 43\% \\ +\hline +\end{longtable} + +Perhaps we want to end off with a quote by Lao Tse\footnote{$\mathrm{e^{-i\pi}}$}: + +\begin{quote} + Muddy water, let stand, becomes clear. +\end{quote} + + diff --git a/papers/00_texderwalt/metadata.yaml b/papers/00_texderwalt/metadata.yaml deleted file mode 100644 index fe334c4154..0000000000 --- a/papers/00_texderwalt/metadata.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -abstract: - - A short version of the long version that is way too long to be written as a short version anyway. Still, when considering the facts from first principles, we find that the outcomes of this introspective approach is compatible with the guidelines previously established. - - In such an experiment it is then clear that the potential for further development not only depends on previous relationships found but also on connections made during exploitation of this novel new experimental protocol. -keywords: - - terraforming - - desert - - numerical perspective -authors: -- email: jj@rome.it - institution: - - Senate House, S.P.Q.R. - - Egyptian Embassy, S.P.Q.R. - name: Gaius Caesar -- email: mark37@rome.it - institution: - - Egyptian Embassy, S.P.Q.R. - name: Mark Anthony -- email: millman@rome.it - institution: - - Egyptian Embassy, S.P.Q.R. - - Yet another place, S.P.Q.R. - name: Jarrod Millman - corresponding: true -- email: cleopatra@rome.it - name: Cleopatra -bibliography: mybib -video: "https://www.youtube.com/watch?v=Hz1JWzyvv8A" -title: A Numerical Perspective to Terraforming a Desert -- latex edition \ No newline at end of file diff --git a/papers/00_texderwalt/mybib.bib b/papers/00_texderwalt/mybib.bib index 2105d8fe3a..eeb8a09368 100644 --- a/papers/00_texderwalt/mybib.bib +++ b/papers/00_texderwalt/mybib.bib @@ -1,92 +1,91 @@ -@Book{hume48, - author = "David Hume", - year = "1748", - title = "An enquiry concerning human understanding", - address = "Indianapolis, IN", - publisher = "Hackett", - doi = "10.1017/CBO9780511808432", +@book{hume48, + author = "David Hume", + year = "1748", + title = "An enquiry concerning human understanding", + address = "Indianapolis, IN", + publisher = "Hackett", + doi = {https://doi.org/10.1017/CBO9780511808432}, } -@Article{Atr03, - author = "P Atreides", - year = "2003", - title = "How to catch a sandworm", +@article{Atr03, + author = "P Atreides", + year = "2003", + title = "How to catch a sandworm", journal = "Transactions on Terraforming", - volume = 21, - issue = 3, - pages = {261-300} + volume = 21, + issue = 3, + pages = {261-300} } -@Misc{terradesert, - author = {TerraDesert Team}, - title = {Code for terraforming a desert}, - year = {2000}, - url = {https://terradesert.com/code/}, - note = {Accessed 1 Jan. 2000} +@misc{terradesert, + author = {{TerraDesert Team}}, + title = {Code for terraforming a desert}, + year = {2000}, + url = {https://terradesert.com/code/}, + note = {Accessed 1 Jan. 2000} } -@InProceedings{jupyter, +@inproceedings{jupyter, abstract = {It is increasingly necessary for researchers in all fields to write computer code, and in order to reproduce research results, it is important that this code is published. We present Jupyter notebooks, a document format for publishing code, results and explanations in a form that is both readable and executable. We discuss various tools and use cases for notebook documents.}, - author = {Kluyver, Thomas and Ragan-Kelley, Benjamin and Pérez, Fernando and Granger, Brian and Bussonnier, Matthias and Frederic, Jonathan and Kelley, Kyle and Hamrick, Jessica and Grout, Jason and Corlay, Sylvain and Ivanov, Paul and Avila, Damián and Abdalla, Safia and Willing, Carol and development team, Jupyter}, + author = {Kluyver, Thomas and Ragan-Kelley, Benjamin and Pérez, Fernando and Granger, Brian and Bussonnier, Matthias and Frederic, Jonathan and Kelley, Kyle and Hamrick, Jessica and Grout, Jason and Corlay, Sylvain and Ivanov, Paul and Avila, Damián and Abdalla, Safia and Willing, Carol and {Jupyter development team}}, editor = {Loizides, Fernando and Scmidt, Birgit}, location = {Netherlands}, publisher = {IOS Press}, url = {https://eprints.soton.ac.uk/403913/}, booktitle = {Positioning and Power in Academic Publishing: Players, Agents and Agendas}, - date = {2016}, + year = {2016}, pages = {87--90}, title = {Jupyter Notebooks - a publishing format for reproducible computational workflows}, } -@Article{matplotlib, +@article{matplotlib, abstract = {Matplotlib is a 2D graphics package used for Python for application development, interactive scripting, and publication-quality image generation across user interfaces and operating systems.}, author = {Hunter, J. D.}, publisher = {IEEE COMPUTER SOC}, - date = {2007}, - doi = {10.1109/MCSE.2007.55}, - journaltitle = {Computing in Science \& Engineering}, + year = {2007}, + doi = {https://doi.org/10.1109/MCSE.2007.55}, + journal = {Computing in Science \& Engineering}, number = {3}, pages = {90--95}, title = {Matplotlib: A 2D graphics environment}, volume = {9}, } -@Article{numpy, +@article{numpy, author = {Harris, Charles R. and Millman, K. Jarrod and van der Walt, Stéfan J. and Gommers, Ralf and Virtanen, Pauli and Cournapeau, David and Wieser, Eric and Taylor, Julian and Berg, Sebastian and Smith, Nathaniel J. and Kern, Robert and Picus, Matti and Hoyer, Stephan and van Kerkwijk, Marten H. and Brett, Matthew and Haldane, Allan and del Río, Jaime Fernández and Wiebe, Mark and Peterson, Pearu and Gérard-Marchant, Pierre and Sheppard, Kevin and Reddy, Tyler and Weckesser, Warren and Abbasi, Hameer and Gohlke, Christoph and Oliphant, Travis E.}, publisher = {Springer Science and Business Media {LLC}}, - url = {https://doi.org/10.1038/s41586-020-2649-2}, + doi = {https://doi.org/10.1038/s41586-020-2649-2}, date = {2020-09}, - doi = {10.1038/s41586-020-2649-2}, - journaltitle = {Nature}, + year = {2020}, + journal = {Nature}, number = {7825}, pages = {357--362}, title = {Array programming with {NumPy}}, volume = {585}, } -@Software{pandas1, - author = {The pandas development team}, +@misc{pandas1, + author = {{The Pandas Development Team}}, title = {pandas-dev/pandas: Pandas}, month = feb, - year = 2020, + year = {2020}, publisher = {Zenodo}, version = {latest}, - doi = {10.5281/zenodo.3509134}, url = {https://doi.org/10.5281/zenodo.3509134}, } -@InProceedings{pandas2, - author = {{W}es {M}c{K}inney}, +@inproceedings{pandas2, + author = {Wes McKinney}, title = {{D}ata {S}tructures for {S}tatistical {C}omputing in {P}ython}, booktitle = {{P}roceedings of the 9th {P}ython in {S}cience {C}onference}, pages = {56 - 61}, year = {2010}, editor = {{S}t\'efan van der {W}alt and {J}arrod {M}illman}, - doi = {10.25080/Majora-92bf1922-00a} + doi = {https://doi.org/10.25080/Majora-92bf1922-00a}, } -@Article{scipy, +@article{scipy, author = {Virtanen, Pauli and Gommers, Ralf and Oliphant, Travis E. and Haberland, Matt and Reddy, Tyler and Cournapeau, David and Burovski, Evgeni and Peterson, Pearu and Weckesser, Warren and @@ -106,23 +105,22 @@ @Article{scipy year = {2020}, volume = {17}, pages = {261--272}, - adsurl = {https://rdcu.be/b08Wh}, - doi = {10.1038/s41592-019-0686-2}, + doi = {https://doi.org/10.1038/s41592-019-0686-2}, } -@Article{sklearn1, +@article{sklearn1, author = {Pedregosa, F. and Varoquaux, G. and Gramfort, A. and Michel, V. and Thirion, B. and Grisel, O. and Blondel, M. and Prettenhofer, P. and Weiss, R. and Dubourg, V. and Vanderplas, J. and Passos, A. and Cournapeau, D. and Brucher, M. and Perrot, M. and Duchesnay, E.}, - date = {2011}, - journaltitle = {Journal of Machine Learning Research}, + year = {2011}, + journal = {Journal of Machine Learning Research}, pages = {2825--2830}, title = {Scikit-learn: Machine Learning in {P}ython}, volume = {12}, } -@InProceedings{sklearn2, +@inproceedings{sklearn2, author = {Buitinck, Lars and Louppe, Gilles and Blondel, Mathieu and Pedregosa, Fabian and Mueller, Andreas and Grisel, Olivier and Niculae, Vlad and Prettenhofer, Peter and Gramfort, Alexandre and Grobler, Jaques and Layton, Robert and VanderPlas, Jake and Joly, Arnaud and Holt, Brian and Varoquaux, Gaël}, booktitle = {ECML PKDD Workshop: Languages for Data Mining and Machine Learning}, - date = {2013}, + year = {2013}, pages = {108--122}, title = {{API} design for machine learning software: experiences from the scikit-learn project}, } diff --git a/papers/00_texderwalt/myst.yml b/papers/00_texderwalt/myst.yml new file mode 100644 index 0000000000..359cd2f7fc --- /dev/null +++ b/papers/00_texderwalt/myst.yml @@ -0,0 +1,43 @@ +version: 1 +project: + # Update this to match `scipy-2024-{folder}` + id: scipy-2024-00_texderwalt + title: A Numerical Perspective to Terraforming a Desert + subtitle: LaTeX edition + # Authors should have affiliations, emails and ORCIDs if available + authors: + - name: Gaius Caesar + email: jj@rome.it + orcid: 0000-0000-0000-0000 + affiliations: + - Senate House, S.P.Q.R. + - Egyptian Embassy, S.P.Q.R. + - name: Mark Anthony + email: mark37@rome.it + affiliations: + - Egyptian Embassy, S.P.Q.R. + - name: Jarrod Millman + email: millman@rome.it + affiliations: + - Egyptian Embassy, S.P.Q.R. + - Yet another place, S.P.Q.R. + corresponding: true + - name: Cleopatra + email: cleopatra@rome.it + keywords: + - terraforming + - desert + - numerical perspective + # Add the abbreviations that you use in your paper here + abbreviations: + MyST: Markedly Structured Text + # A banner will be generated for you on publication, this is a placeholder + banner: banner.png + # The rest of the information shouldn't be modified + subject: Research Article + open_access: true + license: CC-BY-4.0 + venue: Scipy 2024 + date: 2024-07-10 +site: + template: article-theme