\documentclass[12pt,letterpaper]{article}

\tolerance=1000
\emergencystretch=20pt

% LaTeX to Word conversion with pandoc:
%
% install pandoc: https://pandoc.org
% install pandoc-crossref: https://github.com/lierdakil/pandoc-crossref/releases
% (pandoc and pandoc-crossref versions must match)
%
% Make LaTeX file as simple as possible. Use italics in the main
% text, and text scripts, in favor of Math if possible, to avoid
% excessive use of Equation Editor objects. Ex.:
%
% \renewcommand{\sup}[1]{\textsuperscript{#1}}
% \newcommand{\sub}[1]{\textsubscript{#1}}
%
% define special characters via unicode symbols (examples shown below)
% so they don't trigger a switch to equation editor. Depending on the
% font used, I found that LaTeX text mode commands such as
% \textperiodcentered don't always show up properly in the resulting
% Word file. The Unicode characters do, as long as the chosen font
% supports them.
%
% Make bibtex file for the document with bibexport,
% e.g. thebibliography.bib, and use that for the latex file.
%
% Download citation style file from the Zotero style library: 
% https://www.zotero.org/styles
% and put the file in the same directory as the latex file to be
% converted
%
% Then, for example, with ACS style
% pandoc  -F pandoc-crossref -M autoEqnLabels --citeproc -t markdown-citations -s <latexfile>.tex -f latex -t docx -o converted.docx --bibliography=thecitations.bib --csl=journal-of-the-american-chemical-society.csl
%

%% Font selection xelatex:
\usepackage[quiet]{fontspec}

\setmainfont{Cambria}

\usepackage{amsmath}
\usepackage{bm}

\usepackage{graphicx}
\usepackage{setspace}


%%% Page Layout:
\usepackage[letterpaper,ignoreall,top=3.65cm,bottom=3.7cm,%
left=3.15cm,right=3.15cm,foot=2cm,head=2.5cm]{geometry}

\newcommand{\url}[1]{#1}

% for conversion to Word with 'pandoc', the following commands
% are much better than Math formatting:
\renewcommand{\sup}[1]{\textsuperscript{#1}}
\newcommand{\sub}[1]{\textsubscript{#1}}

%% Greek Symbols and other special characters, using Unicode 
% see also https://www.unicode.org/charts/nameslist/

\newcommand{\textalpha}{α}
\newcommand{\textbeta}{β}
\newcommand{\textgamma}{γ}
\newcommand{\textdelta}{δ}
\newcommand{\textepsilon}{ε}
\newcommand{\textzeta}{ζ}
\newcommand{\texteta}{η}
\newcommand{\texttheta}{θ}
\newcommand{\textiota}{ι}
\newcommand{\textkappa}{κ}
\newcommand{\textlambda}{λ}
\renewcommand{\textmu}{μ}
\newcommand{\textnu}{ν}
\newcommand{\textxi}{ξ}
\newcommand{\textomicron}{ο}
\newcommand{\textpi}{π}
\newcommand{\textrho}{ρ}
\newcommand{\textsigma}{σ}
\newcommand{\texttau}{τ}
\newcommand{\textupsilon}{υ}
\newcommand{\textphi}{φ}
\newcommand{\textchi}{χ}
\newcommand{\textpsi}{ψ}
\newcommand{\textomega}{ω}

\newcommand{\textGamma}{Γ}
\newcommand{\textDelta}{Δ}
\newcommand{\textLambda}{Λ}
\newcommand{\textSigma}{Σ}
\newcommand{\textPsi}{Ψ}
\newcommand{\textOmega}{Ω}

\newcommand{\tdot}{·}
\newcommand{\ttimes}{×}
\newcommand{\tpm}{±}
\newcommand{\tgeq}{≥}
\newcommand{\tleq}{≤}
\newcommand{\tgt}{>}
\newcommand{\tlt}{<}
\newcommand{\textapprox}{≈}
\newcommand{\textsimeq}{≃}
\newcommand{\textneq}{≠}
\newcommand{\tdagger}{†}
\newcommand{\tto}{→}
%\newcommand{\textleftarrow}{←}
%\newcommand{\textuparrow}{↑}
%\newcommand{\textdownarrow}{↓}
\newcommand{\textangstrom}{Å}
%\newcommand{\textdegree}{°}


%% Other macros

\newcommand{\vect}[1]{\mathbf{#1}} % boldface for vectors
\newcommand{\vecop}[1]{\hat{\vect{#1}}} %% vector operators
\newcommand{\scop}[1]{\hat{#1}} %% scalar operators
\newcommand{\sobraket}[3]{\langle #1 | #2 | #3 \rangle}

\newcommand{\lcoen}{\textLambda-[Co(en)\textsubscript{3}]\textsuperscript{3+}}


\begin{document}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%% TITLE PAGE %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\title{A Template for \LaTeX{} to Word Conversion with pandoc}

\author{Jochen Autschbach\sup{*}\\[1ex]
  Department of Chemistry    \\
  University at Buffalo          \\
  State University of New York \\
  Buffalo, NY 14260-3000, USA\\
 email: jochena@buffalo.edu}
\date{\today}

\maketitle

%% Abstract %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{abstract}
  Showing an example of converting a \LaTeX{} manuscript to Word,
  using \texttt{pandoc} and \texttt{pandoc-crossref}
 \end{abstract}
\clearpage

%% END TITLE PAGE and Abstract %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\onehalfspacing

\section{Introduction}
\label{sec:intro}

Here goes your writing

Test test \textalpha\ \textDelta\ \tdot \ttimes \textbullet  \textless

A chemical formula\sup{superscript}, defined with a macro in the
preamble in case we have to write it more than once: \lcoen{}, or
Lambda-tris-ethylenediamine-cobalt(III)

A literature citation \cite{Autschbach:2000a}, and another
one\cite{Autschbach:2000b}

An equation:
%
\begin{equation}
  D = \vect{d}\cdot
  \vect{d}~~~;~~~
  R = \operatorname{Im} [\vect{d}\cdot
  \vect{m}^{*} ]
  \label{eq:dip-rot-strength}
\end{equation}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\section{Results and Discussion}
\label{sec:results}

Looks OK so far.
Reference to Equation (\ref{eq:dip-rot-strength}) here.


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\section{Conclusions}
\label{sec:conclusions}

It works for the most part. Automatic equation numbering in the Word
output does not seem to work yet, or I'm using the pandoc-crossref
filter incorrectly. Let me know if you have an idea how to get this to
work. For the time being, we will have to update equation-references
manually in the Word output, which is relatively easy if you use
descriptive labels.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Bibliography:
% Use BibTeX as you usually do. When all refs. are resolved, create
% a standalone bib repo by using
% bibexport -o thecitations.bib <latexfile>.aux
% then switch bibliography files below to 'thecitations'
%
\bibliographystyle{myachemso-acr}
%\bibliography{autschbach}
\bibliography{thecitations}



\end{document}

%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% TeX-engine: xetex
%%% TeX-PDF-mode: t
%%% TeX-show-compilation: f
%%% End:

% LocalWords:  Jochen Autschbach
