diff --git a/lib/github.pdf b/lib/github.pdf new file mode 100644 index 0000000..249c8ff Binary files /dev/null and b/lib/github.pdf differ diff --git a/lib/twitter.pdf b/lib/twitter.pdf new file mode 100644 index 0000000..f2395a2 Binary files /dev/null and b/lib/twitter.pdf differ diff --git a/src/3.png b/src/3.png index 11ed5c3..c9c7640 100644 Binary files a/src/3.png and b/src/3.png differ diff --git a/src/4l.png b/src/4l.png index 69cdf18..bd3df21 100644 Binary files a/src/4l.png and b/src/4l.png differ diff --git a/src/4r.png b/src/4r.png index ef7afa8..b4e796a 100644 Binary files a/src/4r.png and b/src/4r.png differ diff --git a/src/beamerthemeph.sty b/src/beamerthemeph.sty index 54b1c6d..4cc70bd 100644 --- a/src/beamerthemeph.sty +++ b/src/beamerthemeph.sty @@ -143,21 +143,39 @@ % \rule{0pt}{2pt} %\end{beamercolorbox} - \begin{columns}[b,onlytextwidth] + \begin{columns}[c,onlytextwidth] \column{.35\textwidth} - \begin{beamercolorbox}[leftskip=-0.5cm,wd=\columnwidth]{logo} - \vskip3.25ex + %\begin{beamercolorbox}[leftskip=-0.5cm,wd=\columnwidth, ht=3cm]{logo} + \begin{beamercolorbox}[leftskip=-0.5cm,\columnwidth, ht=4cm]{logo} \includegraphics[width=0.9\textwidth,right]{logo_feinstein.pdf} - \vskip1.6ex + %\vskip1.6ex \end{beamercolorbox} \column{.65\textwidth} - \begin{beamercolorbox}[leftskip=1cm,wd=\columnwidth]{headline} + \begin{beamercolorbox}[leftskip=1cm,wd=\columnwidth, ht=4cm]{headline} %\hfill \raisebox{-0.4cm}{\insertfooter} - \vskip1.5ex + %\vskip1.5ex %\insertfooter - \includegraphics[width=0.65\textwidth,left]{twittergithub.pdf} - \vskip1.5ex + %\includegraphics[width=0.65\textwidth,left]{twittergithub.pdf} + %\vskip1.5ex %\begin{beamercolorbox}[wd=\columnwidth]{logo} + + %\begin{tabular}{rllrll} + % \textbf{Philipp Homan, MD, PhD} & & & & & \\ + % phoman1@northwell.edu & & + % \includegraphics[width=0.5in]{twitter.pdf} & @philipphoman & + % \includegraphics[width=0.5in]{github.pdf} & github.com/philipphoman \\ + % \end{tabular} + % \vspace{-0.2ex} + + + \begin{tabular}{rllrll} + \textbf{Philipp Homan, MD, PhD} & & & & & \\ + phoman1@northwell.edu & & + \includegraphics[width=0.5in]{twitter.pdf} & @philipphoman & + \includegraphics[width=0.5in]{github.pdf} & github.com/philipphoman \\ + \end{tabular} + \vspace{-0.2ex} + \end{beamercolorbox} \end{columns} %\begin{beamercolorbox}[wd=\paperwidth]{lower separation line head} diff --git a/src/org-mode-poster_poster.org b/src/org-mode-poster_poster.org index 90ac9ed..71e8818 100644 --- a/src/org-mode-poster_poster.org +++ b/src/org-mode-poster_poster.org @@ -65,7 +65,7 @@ (setq org-latex-listings 'minted) '(org-export-latex-listings-langs (quote ((emacs-lisp "Lisp") (lisp "Lisp") (clojure "Lisp") (c "C") (cc "C++") (fortran "fortran") (perl "Perl") (cperl "Perl") (python "Python") (ruby "Ruby") (html "HTML") (xml "XML") (tex "TeX") (latex "TeX") (shell-script "bash") (gnuplot "Gnuplot") (ocaml "Caml") (caml "Caml") (sql "SQL") (sqlite "sql") (R-mode "R")))) (setq org-latex-minted-options - '(("linenos=true"))) + '(("linenos=true") ("bgcolor=lightgray"))) ; set timestamp format ;(setq org-export-date-timestamp-format "%FT%T%z") (require 'org-wc) @@ -161,7 +161,7 @@ **** Block :PROPERTIES: -:BEAMER_col: 0.48 +:BEAMER_col: 0.68 :BEAMER_opt: [T] :END: @@ -192,7 +192,7 @@ hist(x2, col="blue", add=TRUE) **** Block :PROPERTIES: -:BEAMER_col: 0.88 +:BEAMER_col: 0.78 :BEAMER_opt: [T] :END: @@ -302,7 +302,7 @@ derived as follows: :END: #+NAME: codeleft -#+BEGIN_SRC R :file 4l.png :session org_org :exports results :results graphics +#+BEGIN_SRC R :file 4l.png :session :exports results :results graphics d1 <- density(x1) plot(d1, col="red", lwd=3) #+END_SRC @@ -322,7 +322,7 @@ plot(d1, col="red", lwd=3) :END: #+NAME: coderight -#+BEGIN_SRC R :file 4r.png :session org_org :exports results :results graphics +#+BEGIN_SRC R :file 4r.png :session :exports results :results graphics d2 <- density(x2) plot(d2, col="blue", lwd=3) #+END_SRC diff --git a/src/org-mode-poster_poster.pdf b/src/org-mode-poster_poster.pdf index c3e6e7e..fd8bdfd 100644 Binary files a/src/org-mode-poster_poster.pdf and b/src/org-mode-poster_poster.pdf differ diff --git a/src/org-mode-poster_poster.tex b/src/org-mode-poster_poster.tex index c5c80e1..7ceddac 100644 --- a/src/org-mode-poster_poster.tex +++ b/src/org-mode-poster_poster.tex @@ -1,4 +1,4 @@ -% Created 2018-04-02 Mon 19:58 +% Created 2018-04-02 Mon 22:17 % Intended LaTeX compiler: pdflatex \documentclass[final]{beamer} \usetheme{ph} @@ -33,11 +33,11 @@ Philipp Homan$^{1}$, \normalsize{Hempstead, NY} } \usetheme{default} -\date{2018-04-02 19:58} +\date{2018-04-02 22:17} \title{Using org-mode to produce scientific posters} \begin{document} -\begin{frame}[fragile,label={sec:org10a116a}]{} +\begin{frame}[fragile,label={sec:orgec21ff0}]{} \begin{columns} \begin{column}[t]{0.45\columnwidth} \begin{block}{Background} @@ -51,12 +51,12 @@ org-mode syntax code, graphs and numbers from inline code in languages such as R, python, Matlab and even shell scripting \item Inline code would look like this, which will produce a graph -(Fig. \ref{fig:org8cce396}): +(Fig. \ref{fig:org498cf2b}): \end{itemize} \begin{columns} -\begin{column}[T]{0.48\columnwidth} -\begin{minted}[linenos=true]{r} +\begin{column}[T]{0.68\columnwidth} +\begin{minted}[linenos=true,bgcolor=lightgray]{r} set.seed(20180402) x1 <- rnorm(100, 0, 1) x2 <- rnorm(100, 0.5, 1) @@ -67,7 +67,7 @@ hist(x2, col="blue", add=TRUE) \begin{figure}[htbp] \centering \includegraphics[width=.9\linewidth]{3.png} -\caption{\label{fig:org8cce396} +\caption{\label{fig:org498cf2b} This is the output.} \end{figure} \end{column} @@ -81,12 +81,12 @@ This is the output.} capabilities \item Some code to process the first vector from above to make a table out of its summary could look like this, which would result in a little -table (Table \ref{tab:orgfdd29a9}) : +table (Table \ref{tab:org80b4f16}) : \end{itemize} \begin{columns} -\begin{column}[T]{0.88\columnwidth} -\begin{minted}[linenos=true]{r} +\begin{column}[T]{0.78\columnwidth} +\begin{minted}[linenos=true,bgcolor=lightgray]{r} library(broom) library(dplyr) t1 <- tidy(round(summary(x1), 2)) @@ -109,7 +109,7 @@ minimum & q1 & median & mean & q3 & maximum & name\\ -2.17 & -0.45 & 0.07 & 0.13 & 0.85 & 2.23 & x2\\ \hline \end{tabular} -\caption{\label{tab:orgfdd29a9} +\caption{\label{tab:org80b4f16} A table summarizing the two distributions.} \end{table} @@ -122,13 +122,13 @@ A table summarizing the two distributions.} \begin{block}{Graphics} \begin{itemize} \item We can use shell scripting to grab an image with curl from the -internet (Fig. \ref{fig:orga373a15}): +internet (Fig. \ref{fig:orge0395cc}): \end{itemize} \begin{columns} \begin{column}[T]{0.78\columnwidth} \footnotesize -\begin{minted}[linenos=true]{bash} +\begin{minted}[linenos=true,bgcolor=lightgray]{bash} # Download emacs icon from gnu.org curl -0 https://www.gnu.org/software/emacs/images/emacs.png \end{minted} @@ -139,7 +139,7 @@ curl -0 https://www.gnu.org/software/emacs/images/emacs.png \begin{figure}[htbp] \centering \includegraphics[page=9,width=0.2\textwidth]{emacs.png} -\caption{\label{fig:orga373a15} +\caption{\label{fig:orge0395cc} This is the downloaded image.} \end{figure} \end{column} @@ -185,7 +185,7 @@ derived as follows: \begin{figure}[htbp] \centering \includegraphics[width=.9\linewidth]{4l.png} -\caption{\label{fig:orgf47550b} +\caption{\label{fig:org9158640} This is the left figure of a two-column block, showing the density of \(x1\).} \end{figure} \end{column} @@ -195,7 +195,7 @@ This is the left figure of a two-column block, showing the density of \(x1\).} \begin{figure}[htbp] \centering \includegraphics[width=.9\linewidth]{4r.png} -\caption{\label{fig:org96112b0} +\caption{\label{fig:org4bc9c2a} This is the right figure. It shows the density of \(x2\).} \end{figure} \end{column} diff --git a/src/org-mode-poster_poster.tex~ b/src/org-mode-poster_poster.tex~ index 9584dde..d97420d 100644 --- a/src/org-mode-poster_poster.tex~ +++ b/src/org-mode-poster_poster.tex~ @@ -1,4 +1,4 @@ -% Created 2018-04-02 Mon 19:58 +% Created 2018-04-02 Mon 22:15 % Intended LaTeX compiler: pdflatex \documentclass[final]{beamer} \usetheme{ph} @@ -33,11 +33,11 @@ Philipp Homan$^{1}$, \normalsize{Hempstead, NY} } \usetheme{default} -\date{2018-04-02 19:58} +\date{2018-04-02 22:15} \title{Using org-mode to produce scientific posters} \begin{document} -\begin{frame}[fragile,label={sec:org5deb971}]{} +\begin{frame}[fragile,label={sec:org1571d9a}]{} \begin{columns} \begin{column}[t]{0.45\columnwidth} \begin{block}{Background} @@ -51,13 +51,13 @@ org-mode syntax code, graphs and numbers from inline code in languages such as R, python, Matlab and even shell scripting \item Inline code would look like this, which will produce a graph -(Fig. \ref{fig:org71455a2}): +(Fig. \ref{fig:org6629f8c}): \end{itemize} \begin{columns} -\begin{column}[T]{0.48\columnwidth} -\begin{minted}[linenos=true]{r} -set.seet(20180402) +\begin{column}[T]{0.68\columnwidth} +\begin{minted}[linenos=true,bgcolor=lightgray]{r} +set.seed(20180402) x1 <- rnorm(100, 0, 1) x2 <- rnorm(100, 0.5, 1) hist(x1, col="red") @@ -67,7 +67,7 @@ hist(x2, col="blue", add=TRUE) \begin{figure}[htbp] \centering \includegraphics[width=.9\linewidth]{3.png} -\caption{\label{fig:org71455a2} +\caption{\label{fig:org6629f8c} This is the output.} \end{figure} \end{column} @@ -81,12 +81,12 @@ This is the output.} capabilities \item Some code to process the first vector from above to make a table out of its summary could look like this, which would result in a little -table (Table \ref{tab:orgf4d0fa2}) : +table (Table \ref{tab:org74ecade}) : \end{itemize} \begin{columns} -\begin{column}[T]{0.88\columnwidth} -\begin{minted}[linenos=true]{r} +\begin{column}[T]{0.78\columnwidth} +\begin{minted}[linenos=true,bgcolor=lightgray]{r} library(broom) library(dplyr) t1 <- tidy(round(summary(x1), 2)) @@ -109,7 +109,7 @@ minimum & q1 & median & mean & q3 & maximum & name\\ -2.17 & -0.45 & 0.07 & 0.13 & 0.85 & 2.23 & x2\\ \hline \end{tabular} -\caption{\label{tab:orgf4d0fa2} +\caption{\label{tab:org74ecade} A table summarizing the two distributions.} \end{table} @@ -122,13 +122,13 @@ A table summarizing the two distributions.} \begin{block}{Graphics} \begin{itemize} \item We can use shell scripting to grab an image with curl from the -internet (Fig. \ref{fig:org5863a78}): +internet (Fig. \ref{fig:org966972d}): \end{itemize} \begin{columns} \begin{column}[T]{0.78\columnwidth} \footnotesize -\begin{minted}[linenos=true]{bash} +\begin{minted}[linenos=true,bgcolor=lightgray]{bash} # Download emacs icon from gnu.org curl -0 https://www.gnu.org/software/emacs/images/emacs.png \end{minted} @@ -139,7 +139,7 @@ curl -0 https://www.gnu.org/software/emacs/images/emacs.png \begin{figure}[htbp] \centering \includegraphics[page=9,width=0.2\textwidth]{emacs.png} -\caption{\label{fig:org5863a78} +\caption{\label{fig:org966972d} This is the downloaded image.} \end{figure} \end{column} @@ -185,7 +185,7 @@ derived as follows: \begin{figure}[htbp] \centering \includegraphics[width=.9\linewidth]{4l.png} -\caption{\label{fig:orga83a496} +\caption{\label{fig:orga3a0e13} This is the left figure of a two-column block, showing the density of \(x1\).} \end{figure} \end{column} @@ -195,7 +195,7 @@ This is the left figure of a two-column block, showing the density of \(x1\).} \begin{figure}[htbp] \centering \includegraphics[width=.9\linewidth]{4r.png} -\caption{\label{fig:org63d9981} +\caption{\label{fig:org6c7191a} This is the right figure. It shows the density of \(x2\).} \end{figure} \end{column}