not really known
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

186 lines
5.9 KiB

  1. \documentclass[pdftex,12pt]{artikel3}
  2. % Compile with: pdflatex
  3. % Settings for source listings.
  4. \usepackage[dvips,letterpaper,margin=1.1in]{geometry}
  5. \usepackage{listings,graphicx}
  6. \usepackage{url} % usage \href{}{}
  7. \usepackage{xcolor}
  8. %% \usepackage{soul}
  9. %% \usepackage{lipsum}
  10. \usepackage{mathtools}
  11. % \newcommand{\myul}[2][black]{\setulcolor{#1}\ul{#2}\setulcolor{black}}
  12. \usepackage{array}
  13. %% \usepackage{multirow}
  14. \usepackage{alltt}
  15. \usepackage{pifont}
  16. \usepackage{fancyvrb}
  17. \usepackage{enumitem}
  18. \usepackage[hidelinks]{hyperref} % hide links in hyperref text
  19. \usepackage{cleveref} % nice table/figure refs. put after hyperref
  20. % sample stuff for tables and figs
  21. %\usepackage{blindtext}
  22. \usepackage{makeidx} % for makeindex
  23. \usepackage{tocloft} % for nicely formatted toc, tof, lof
  24. \usepackage{booktabs,longtable,tabu}
  25. \usepackage[utf8]{inputenc}
  26. \usepackage[T1]{fontenc}
  27. \usepackage{imakeidx}
  28. %% preamble
  29. % the tabfigref command outputs a table or figure reference
  30. % with pattern: "Figure N, The Caption," or "Table N, The Caption,"
  31. % Note: output has a trailing comma(,) for phrasing.
  32. \newcommand{\tabfigref}[1]{\autoref{#1}, \nameref{#1},}
  33. \setcounter{tocdepth}{3}
  34. \makeindex[columns=2, title=Alphabetical Index, intoc]
  35. \lstset{tabsize=4,language=Python,showstringspaces=false}
  36. \title{
  37. \begin{center}
  38. \huge{Jupyter Notebook User Document} \\
  39. \huge{CSCI-471-02}\\
  40. \end{center}
  41. \\
  42. \\
  43. \\
  44. \\
  45. \\
  46. \author{} % \author{Jeffery B. Russell} \\
  47. % \author{Dan Moore}
  48. \date{} % \date{Febuary 20, 2020}
  49. }
  50. %% document starts
  51. \begin{document}
  52. \maketitle
  53. \begin{center}
  54. \author{Jeffer B. Russell}
  55. \author{Dan Moore}
  56. \author{Lauden Y}
  57. \date{Febuary 20, 2020}
  58. \end{center}
  59. \newpage
  60. \tableofcontents
  61. \addtocontents{toc}{~\hfill\textbf{Page}\par}
  62. \addcontentsline{toc}{section}{\listfigurename} % include lists of figs
  63. \newpage
  64. \listoffigures
  65. \addtocontents{lof}{~\hfill\textbf{Page}\par}
  66. \newpage
  67. \section{Introduction}
  68. Jupyter Lab is an open-source web-based notebook tool that you can use as your development environment.
  69. A coding notebook enables you to intermix markdown, and code blocks that you can execute in a single document. This is heavily used in the education and research fields because it makes writing reports easy and reproducible. With Jupyter you can create content that has live code, equations, visualizations and explanatory text.
  70. Applications of Jupyter Jab:
  71. \begin{itemize}
  72. \item Quick Experimentation
  73. \item Telling a story with data
  74. \item Writing a report
  75. \item Sharing code snippets for education
  76. \end{itemize}
  77. In this document we are going to go over the basic installation and usage of Jupyter Lab for personal use developing python\index{python}. In the advanced usage section we go over how to use
  78. \section{Installation}
  79. \subsection{Dependencies}
  80. \subsection{Installation on Windows}
  81. \subsection{Installation on Linux}
  82. \section{Usage}
  83. To run Jupyter Lab, open your computer's command terminal and enter the following command. This will open Jupyter Lab in your default web browser.
  84. \texttt{jupyter lab}
  85. \tabfigref{fig:jupyterlablauncher} is what you will see upon first running Jupyter Lab. Otherwise, it can open to the most recent notebook you were working on.
  86. \begin{figure}[h!]
  87. \centering
  88. \includegraphics[width=65mm]{launcher.png}
  89. \caption{Default Jupyter Lab launcher}
  90. \label{fig:jupyterlablauncher}
  91. \end{figure}
  92. \subsection{Navigation}
  93. Once Jupyter Lab is running, you will see on the left side of the screen a column of icons. Each icon will open a different panel to the right of it when you click it. From top to bottom, these icons have the following functions:
  94. File Browser (folder icon): displays a file browser for the user to open, move, or delete their files.
  95. Running Terminals and Kernels (square stop button inside a circle): shows the user all currently active terminal and kernel sessions.
  96. Commands (palette icon): allows the user to enter various commands into Jupyter Lab.
  97. Notebook Tools (wrench icon): shows various options for the user's current notebook.
  98. Open Tabs (a tabbed window icon): lists all currently open tabs in Jupyter Lab.
  99. \subsection{Creating a Notebook}
  100. To create a notebook (the working document for both python code and text markdown) from the launcher (\tabfigref{fig:jupyterlablauncher}), click on the Python 3 icon under the orange notebook symbol. Alternatively, if you don't have the launcher open, you can click on File in the toolbar, click New, and finally click Notebook.
  101. \subsection{Running a Notebook}
  102. \subsection{Exporting Documents}
  103. \subsection{Customization}
  104. \section{Advanced Usage}
  105. \subsection{Multiple Kernels}
  106. \subsection{Remote Connection}
  107. \subsection{Running a Server}
  108. \newpage
  109. \section{Glossary}
  110. \begin{itemize}[label={}]
  111. \item {\bf Jupyter}: Nonprofit organization created to "develop open-source software, open-standards, and services for interactive computing across dozens of programming languages". \footnote{{\url https://jupyter.org/}}\index{jupyter}\\
  112. \item {\bf Python}: High-level interpreted, general purpose programming language \footnote{{\url https://www.python.org/}}.\index{python}\\
  113. \item {\bf Markdown(MD)}: Lightweight markup-language \footnote{{\url https://en.wikipedia.org/wiki/Markdown}}.\index{markdown}\\
  114. \item {\bf pip}: Tool for installing and managing python packages \footnote{{\url https://pypi.org/project/pip/}}.\index{pip}\\
  115. \item {\bf Scala}: General purpose functional programming language that runs on the JVM \footnote{{\url https://scala-lang.org/}}.\index{scala}\\
  116. \item {\bf R}: Programming language for statistical computing and graphics \footnote{{\url https://www.r-project.org/}}.\index{r}\\
  117. \end{itemize}
  118. \newpage
  119. \section{References}
  120. \begin{enumerate}
  121. \item
  122. {\url https://en.wikipedia.org/wiki/Finite-state\_machine}
  123. \item
  124. TODO
  125. \end{enumerate}
  126. \newpage
  127. \section{Index}
  128. \printindex
  129. % outputs its own heading, which does not match the sections
  130. \end{document}