I'm trying to write a math paper, and I want every single equation in an align environment to be completely left aligned. However, when I tried "fleqn" or "flalign" it would just go a little bit to the left and still leave a lot of room between the margin. I also tried the set indent length thing after doing fleqn in the document class.
What else can I do?
I've attached all the information I thought was necessary.
\documentclass[fleqn]{amsart}
\usepackage{fancyhdr}
\usepackage{graphicx, amssymb}
\graphicspath{ {./images/} }
\usepackage{enumerate}
\usepackage{amsmath}
\setlength{\mathindent}{-1cm} (I tried fiddling with this, and no cm length (whether it be -10, 10, or 0) changed anything)
\usepackage[parfill]{parskip}
\usepackage[export]{adjustbox}
Last edited by cgnieder on Fri Feb 07, 2014 12:48 am, edited 1 time in total.
no need to use amsart, article together with amsmath would be fine as well. amsart is specifically for publishing in an AMS journal, it's focused to their needs.
I have written about 15 pages so far using the \begin{thm} and \begin{lem} environments that I assume come with the amsart document class. I am publishing this in a journal, so would say article be an acceptable document class? Would I have to change the "thm" and "lem" environments?
Then you can define your theorems. All important amsmath functions are available for article and other classes as packages (amsmath, amsthm, amssymb, amscd, amstext, amsrefs, ...).
Just check if the journal already provides a style (class), that's very common. In that case you should use that style (with amsmath packages).
Sure - so I'm looking into the journal now but some other issues arise.
If I change from amsart to article, I get a lot of errors in these parts of my file:
\author{xxx}
\address{xxx}
\email{xxx}
\numberwithin{equation}{section} (this is for the newly stylized theorem and lemma environments
saying I have an undefined control sequence. Which document class can I use that will let me do the proper heading as well as having any kind of lemma/theorem/proof environment?
\documentclass[12pt]{amsart}
%% This has a default type size 10pt. Other options are 11pt and 12pt
%% This are set by replacing the command above by
%% \documentclass[11pt]{amsart}
%%
%% or
%%
%% \documentclass[12pt]{amsart}
\newtheorem{thm}{Theorem}[section]
\newtheorem{prop}[thm]{Proposition}
\newtheorem{lem}[thm]{Lemma}
\newtheorem{cor}[thm]{Corollary}
%\newtheorem{conj}[thm]{Conjecture}
\theoremstyle{definition}
\newtheorem{definition}[thm]{Definition}
\newtheorem{example}[thm]{Example}
%\newtheorem{note}[thm]{Note}
\theoremstyle{remark}
\newtheorem{remark}[thm]{Remark}
\newcommand{\R}{\mathbf{R}} % The real numbers.he dea
\usepackage{fancyhdr}
\usepackage{graphicx, amssymb}
\graphicspath{ {./images/} }
\usepackage{enumerate}
\usepackage{amsmath}
\usepackage[parfill]{parskip}
\usepackage[export]{adjustbox}
\usepackage[margin=1in]{geometry}
\DeclareMathOperator{\dist}{dist} % The distance.
\begin{document}
\title{Title Goes Here}
\author{xxx}
\address{xxx}
\email{xxx}
%\begin{abstract}
%Great stuff. ABSTRACT
%\end{abstract}
\maketitle
Last edited by Stefan Kottwitz on Mon Feb 10, 2014 11:03 am, edited 1 time in total.
I'm sorry, but this is not a complete MWE, it will not compile as it stands. And worse, you mention getting errors when changing the documentclass to article and this snippet uses amsart.
Ubuntu 13.10 + Tex Live 2013 + Texmaker / Windows 7 Pro + MikTex 2.9 + TexnicCenter / Android 4.3 + TexPortal + DroidEdit
Yes I must have incorrectly used the "amsart" template I found online. When I switch to article and use the given formatting edits I provided in my last post, it does not compile (though it does as of now). After a bit of tinkering here's everything in the top.
Like I mentioned before I just want to be able to force left align all equations for the paper.