Search found 60 matches

by daviddoria
Mon Feb 03, 2014 7:36 pm
Forum: Graphics, Figures & Tables
Topic: Caption aligned to left Side of Figure
Replies: 4
Views: 67453

Caption aligned to left Side of Figure

localghost - I tried doing this with floatrow as you suggested, but it doesn't seem to respect the 'width' option of includegraphics.

Here is a demo without includegraphics to show that it works:


\documentclass{article}
\usepackage{floatrow}
\usepackage{graphicx}
\begin{document}

\begin{figure ...
by daviddoria
Mon Feb 03, 2014 6:52 pm
Forum: Graphics, Figures & Tables
Topic: Caption aligned to left Side of Figure
Replies: 4
Views: 67453

Re: Caption aligned to left Side of Figure

shadgrind, if I change

\includegraphics{picture.png}

to

\fbox{Dummy figure}

so I can try it without a picture.png, the output is not what I would expect (see attached).
by daviddoria
Wed Oct 17, 2012 12:29 am
Forum: Kile
Topic: Find In Project regex not matching
Replies: 0
Views: 2691

Find In Project regex not matching

If I do this:

grep -ri "\.'" .

in a terminal to search for the literal .' (dot apostrophe) , it seems to work and returns some hits. However, inside of Kile, using the Find in Files or Find in Project functions which use grep it returns no hits (though searching other normal strings does work ...
by daviddoria
Fri Mar 23, 2012 3:20 pm
Forum: BibTeX, biblatex and biber
Topic: natbib | Use Author Citation with custom Bibliography Style
Replies: 4
Views: 4866

Re: natbib | Use Author Citation with custom Bibliography St

I tried the IEEEtran bib style you suggested but it does not seem to support \citeauthor. I have attached the demo files as a zip.

With \bibliographystyle{unsrtnat} everything compiles properly. With \bibliographystyle{ieee} I get "author undefined for citation" errors.

Any suggestions?

Thanks ...
by daviddoria
Tue Mar 20, 2012 3:06 am
Forum: Kile
Topic: Nested 'input' statements in the project tree
Replies: 0
Views: 2806

Nested 'input' statements in the project tree

I have a case like this:

DocumentA.tex
----------
\input{DocumentB}


DocumentB.tex
----------
\input{DocumentC}

Now in the project tree, DocumentB shows up nested under DocumentA, but DocumentC is at the same level as DocumentA. In fact, DocumentA is the automatic "master" document (it's icon is ...
by daviddoria
Wed Mar 14, 2012 8:21 pm
Forum: BibTeX, biblatex and biber
Topic: natbib | Use Author Citation with custom Bibliography Style
Replies: 4
Views: 4866

Re: natbib | Use Author Citation with custom Bibliography St

Sorry, let me elaborate.

I have attached demo tex/bib files. It wouldn't let me upload the bst on the forum, so here it is: daviddoria.com/Uploads/ieee.bst

When I use \bibliographystyle{ieee}, I get "author undefined" errors on the \citeauthor lines. It works fine if I use \bibliographystyle ...
by daviddoria
Wed Mar 14, 2012 4:26 pm
Forum: BibTeX, biblatex and biber
Topic: natbib | Use Author Citation with custom Bibliography Style
Replies: 4
Views: 4866

natbib | Use Author Citation with custom Bibliography Style

I am trying to use \citeauthor from the natbib package with a bibliography style that is provided by a journal. Is this possible? I looked at "plainnat.bst", but I didn't see any instances of \citeauthor that I was hoping to just copy into "mystyle.bst".

Any suggestions?

Thanks,

David
by daviddoria
Mon Mar 05, 2012 4:52 pm
Forum: Graphics, Figures & Tables
Topic: Vertically Alignment of Table Cell Content not properly
Replies: 2
Views: 2717

Vertically Alignment of Table Cell Content not properly

Ok, getting closer. You are right, with this:

\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} |m{5cm}|c|p{5cm}|}

column 2 is indeed centered vertically. However, is there a way to do this without specifying the '5cm' in the m{}? Also, the table is "broken" as shown in the attached table.jpg ...
by daviddoria
Sun Mar 04, 2012 10:36 pm
Forum: Graphics, Figures & Tables
Topic: Vertically Alignment of Table Cell Content not properly
Replies: 2
Views: 2717

Vertically Alignment of Table Cell Content not properly

I am trying to vertically center content in a table cell. I came up with this after some googling:
\documentclass{article}
\usepackage{array}

\begin{document}
\begin{table}
\centering
\caption{MyCaption}
\begin{center}
\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} |p{5cm}|m{3in}|c|} %is ...
by daviddoria
Sat Feb 25, 2012 7:52 pm
Forum: Graphics, Figures & Tables
Topic: subfig captions referencing subfigures
Replies: 5
Views: 9275

Re: subfig captions referencing subfigures

Strange, I swear I've done that before without \protect, but it indeed works now, thanks again!