Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

How can I left align the text in the figure/table caption? This is the text I am using to add an image

\begin{figure}[htbp]
    \centering
        \includegraphics[width=0.90\textwidth]{Figures/EdgeYarnA9}
        \caption[abc]{abc}
    \label{fig:EdgeYarnA9}
\end{figure}
share|improve this question
    
Welcome to TeX.sx! Please add a minimal working example (MWE) that shows your document class and relevant packages. –  lockstep Mar 25 '13 at 13:46

1 Answer 1

If you can get used to specifying figures with commands, rather than environments, boxhandler will solve this, assuming you mean left-align to the figure and not the margin. (It can left align to margin, too, but you don't need boxhandler for just that)

\documentclass{article}
\usepackage{boxhandler}
\begin{document}

By default, boxhandler gives this

\bxfigure[ht]{This is the caption which, by default is idented wrt the
figure identifier}
{\rule{3in}{2in}}

But by changing the caption style with \verb|\captionStyle{n}{l}|, one
gets the following:

\captionStyle{n}{l}

\bxfigure[ht]{This is the caption which, by default is idented wrt the
figure identifier}
{\rule{3in}{2in}}

\end{document}

enter image description here

share|improve this answer
    
Thank you very much –  user27940 Mar 25 '13 at 14:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.