First of all, apologies if there is an answer for this already.
I'm outputting symbolic results from Maxima using tex(<output>,"filename")$, which leaves me with an expression with $$ on each end (not to mention some \it{} and some \over{}, and maybe more new things to come).
I wanted to put it in an equation environment like,
\begin{equation*}
\input{filename.tex}
\end{equation*}
but that didn't work due to the clash of $$ I guess. Also I tried Maxima's stringy one, tex1() but I'd have to deal with the quotation marks surrounding it, as well as the ending semicolon.
So I gave up, for now, on breaking these very long equations up - though I'd like to! - and just set the page/paper width very, very large. Yuck.
This lead me to my current dislike, that some equations are short and some are long causes me to have to scroll around horizontally a lot - because they are all center justified.
On other pages on tex.SE I saw fleqn options in amsmath and amsart, as well as a \setlength{mathindent}{0in}, but nothing successfully worked.
Maybe I should go back to breaking them up, but that still doesn't let me easily deal with putting them in a math/equation environment... right?
Thank you!
P.S. I typically use lualatex and amsart, but this is pretty generic report, which explains my simple code:
\documentclass[fleqn]{amsart} %{standalone}
\usepackage[paperheight=10.75in,paperwidth=72.25in,margin=1in,heightrounded,showframe]{geometry}
\usepackage{amsmath}
\title{Maxima Results}
\begin{document}
\setlength{mathindent}{0pt}
\input{w02z0z111.tex}
\end{document}
Here is a very short result;
$$-{{310779087585246720\,i\,{\it z_0}^{14}+658160092626831360\,i\,
{\it z_0}^{12}+21158324305920\,i\,{\it z_0}^{10}-380849837506560\,i
\,{\it z_0}^8-174482709120\,i\,{\it z_0}^6-7971615\,i\,{\it z_0}^2-
344373768\,i}\over{128\,3^{{{31}\over{2}}}\,{\it z_0}^4}}-{{
41070158964605941940\,3^{{{9}\over{2}}}\,i\,{\it z_0}^{10}+
10503610891673584872960\,{\it z_0}^9+96708129989156081584\,3^{{{9
}\over{2}}}\,i\,{\it z_0}^8+17258799729306975187968\,{\it z_0}^7+
162584742938225143616\,3^{{{9}\over{2}}}\,i\,{\it z_0}^6+
19235016466581686759424\,{\it z_0}^5+61703548287898161920\,3^{{{11
}\over{2}}}\,i\,{\it z_0}^4+13036868175072393805824\,{\it z_0}^3+
384226900921449405185\,3^{{{7}\over{2}}}\,i\,{\it z_0}^2+
4059210481688530072224\,{\it z_0}}\over{8748}}$$

{\it z_0}bits are the least of your problems. – egreg Aug 28 '15 at 21:15