[Tex/LaTex] How to left-align a table in LaTeX

floatshorizontal alignment

There are many Q&A's about left-aligning either table content-cells, or table captions. I'd like to left-align tables (or any/all floats for that matter). I would like to be able to tell that requirement in the preamble.

EDIT: My preamble looks like this (I've no idea what is generating this behaviour, so I'll just dump everything here. Generated by pandoc for the most part):

\documentclass{article}
\usepackage{amssymb,amsmath}
\usepackage[mathletters]{ucs}
\usepackage[utf8x]{inputenc}
\usepackage{array}
% This is needed because raggedright in table elements redefines \\:
\newcommand{\PreserveBackslash}[1]{\let\temp=\\#1\let\\=\temp}
\let\PBS=\PreserveBackslash
\usepackage{graphicx}
% We will generate all images so they have a width \maxwidth. This means
% that they will get their normal width if they fit onto the page, but
% are scaled down if they would overflow the margins.
\makeatletter
\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth
\else\Gin@nat@width\fi}
\makeatother
\let\Oldincludegraphics\includegraphics
\renewcommand{\includegraphics}[1]{\Oldincludegraphics[width=\maxwidth]{#1}}
\usepackage[breaklinks=true,unicode=true]{hyperref}
\setlength{\parindent}{0pt}
\setlength{\parskip}{6pt plus 2pt minus 1pt}
\setcounter{secnumdepth}{0}
\usepackage[finnish]{babel}
%\usepackage{times}
\usepackage{tgpagella}
\usepackage{tgheros}
\usepackage{fancyhdr}
\usepackage[font={sf,footnotesize}]{floatrow}
\usepackage{calc}
\floatsetup[table]{style=ruled,
  objectset=raggedleft,
  justification=raggedleft,
  margins=raggedright,
  midcode=captionskip,
  captionskip=10pt}
\pagestyle{fancy}
\usepackage[font={small,it},
  justification=justified,
  format=hang,
  labelfont={bf},
  singlelinecheck=false,
  labelsep=quad]{caption}
\usepackage[protrusion=true,expansion]{microtype}

Best Answer

\let\centering\relax in the preamble will cancel \centering everywhere, or to be more selective and only cancel in floats, you can try

\makeatletter
\let\old@float\@float
\def\@float{\let\centering\relax\old@float}
\makeatother

You will still need to edit the \floatsetup{} line as lockstep described.