Skip to content

Instantly share code, notes, and snippets.

@Fanman03
Last active January 9, 2024 01:05
Show Gist options
  • Save Fanman03/6f1c6ff2e9b6310b523e6501095765dd to your computer and use it in GitHub Desktop.
Save Fanman03/6f1c6ff2e9b6310b523e6501095765dd to your computer and use it in GitHub Desktop.
Organic Chem Informal Report Template
\documentclass[12pt,twoside]{report}
\usepackage{tikz}
\usepackage{adjustbox}
\usepackage[utf8]{inputenc}
\usepackage[margin=0.75in]{geometry}
\usepackage{fancyhdr}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{setspace}
\usepackage{gensymb}
\usepackage{xcolor}
\usepackage{chemfig}
\usepackage{hyperref}
\usepackage{xspace}
\usepackage{lipsum}
\usepackage[numbered]{bookmark}
\usepackage[version=4]{mhchem}
\usepackage[usestackEOL]{stackengine}
\usepackage[activate={true,nocompatibility},final,tracking=true,kerning=true,spacing=true,factor=1100,stretch=10,shrink=10]{microtype}
\pagestyle{fancy}
\renewcommand{\headrulewidth}{0.4pt}
\setlength{\headheight}{14.5pt}
\setlength\parindent{0pt}
\setchemfig{%
atom sep = 1.75em,
stack sep = 0.3em,% dim for chemabove and below
bond offset = 1.25pt,
double bond sep = .25em
}
\newcommand*{\bondboldwidth}{0.2 em} %'Bold Width'
\newcommand*{\bondsemiboldwidth}{0.125 em} %'Bold Width'
\newcommand*{\bondhashlength}{0.25737 em} % 'Hash Spacing'
\tikzset{
bold bond/.style = {line width = \bondboldwidth},
semibold bond/.style = {line width = \bondsemiboldwidth},
dash bond/.style =
{dash pattern = on \bondhashlength off \bondhashlength},
hash bond/.style =
{
dash pattern = on \bondwidth off \bondhashlength,
line width = \bondboldwidth
},
}
\raggedbottom
\providecommand*{\unit}[1]{\ensuremath{\mathrm{\,#1}}}
\newcommand{\titlehead}[1]{\begin{center}\pdfbookmark[chapter]{#1}{chapter#1}\section*{#1}\end{center}}
\newcommand{\sectionhead}[1]{\pdfbookmark[section]{#1}{sec#1}\section*{#1}}
\newcommand{\subsechead}[1]{\pdfbookmark[subsection]{#1}{sec#1}\textbf{\underline{#1}}\vspace{0.1cm}}
\newenvironment{subcalc}[1]{\vspace{0.1cm}\\\underline{#1}\vspace{0.1cm}\\}{\vspace{0.1cm}}
\newcommand{\bibent}{\noindent \hangindent 40pt}
%Shorthands
\newcommand{\invcm}{cm\textsuperscript{-1}\xspace}
\newcommand{\molar}{\underline{M}\xspace}
\newcommand{\di}{de-ionized water\xspace}
\newcommand{\rbf}{round-bottom flask\xspace}
\newcommand{\dcm}{dichloromethane\xspace}
\title{Synthesis of Loremipsium}
\author{Firstname Lastname}
\makeatletter
\fancyhead{}
\fancyhead[RO,LE]{Pendleton \thepage}
\fancyhead[RE,LO]{\@title}
\fancyfoot{}
\hypersetup{
pdfauthor=\@author,
pdftitle=\@title
}
\begin{document}
\strutlongstacks{T}
\titlehead{\@title}
\begin{center}
\textbf{\@author}
\\Lab partner: \textbf{Firstname Lastname}
\\\textbf{Month Day, Year}
\end{center}
\sectionhead{Objective}
\lipsum[1]
\sectionhead{Reaction}
\begin{center}
\schemestart[]
\chemname
{\chemfig{*6(=-=(-*3(--O-))-=-)}}
{Starting Material}
\arrow{->[Reagent][Solvent]}[0,1.2]
\chemname
{\chemfig{*6(=-=(-(-[2]OH)-[:-30]-Cl)-=-)}}
{Major Product}
\+
\chemname
{\chemfig{*6(=-=(-(-[2]Cl)-[:-30]-OH)-=-)}}
{Minor Product}
\schemestop
\end{center}
\sectionhead{Reference}
Ipsum, L. \textit{Dolor Sit Amet}. \textbf{1969}, 419-421.
\sectionhead{Procedure}
\lipsum[2-4]
\sectionhead{Spectra \& Calculations}
\subsechead{Calculation of Theoretical Yield}
\\$1.22\unit{g\:styrene\:oxide} \times \frac{1\unit{mol\:styrene\:oxide}}{120.15\unit{g\:styrene\:oxide}} \times \frac{1\unit{mol\:product}}{1\unit{mol\:styrene\:oxide}} \times \frac{156.61}{1\unit{mol\:product}} $ = \textbf{1.59 g product}
\\$1.50\unit{mL\:HCl} \times \frac{\unit{1.18\unit{g}}}{1\unit{mL\:HCl}} \times \frac{1\unit{mol\:HCl}}{36.46\unit{g\:HCl}} \times \frac{1\unit{1\unit{mol\:product}}}{1\unit{1\unit{mol\:HCl}}} \times \frac{156.61\unit{g\:product}}{1\unit{mol\:product}}$ = 7.60 g product
\\\\Styrene oxide produces the smallest amount of product and is the limiting reagent. Thus, the theoretical yield is 1.59g of product.\\
\subsechead{Calculation of Yield Percentage}
\\$\frac{0.92\unit{g\:actual\:yield}}{1.59\unit{g\:theoretical\:yield}} \times 100$ = \textbf{57.9 \% yield}\\
\subsechead{IR Spectroscopy}
%blue bond\\\chemfig{=[8]C-[1,,,,semibold bond,blue]H} 3021.86 cm\textsuperscript{-1}
\\\chemfig{=[8]C-[1]H} 3021.86 cm\textsuperscript{-1}\\
\subsechead{NMR Spectroscopy}
\\\begin{tabular}{ l l l l }
3.64 ppm & singlet & 6H & \textcolor{blue}{A} \\
4.54 ppm & singlet & 2H & \textcolor{blue}{B} \\
5.87 ppm & multiplet & 2H & \textcolor{blue}{C} \\
7.50 ppm & multiplet & 10H & \textcolor{blue}{D} \\
\end{tabular}
\sectionhead{Conclusion}
\lipsum[5-6]
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment