Solved

Latex: How can I force some items to appear in the bibliography that are not in the main text

Posted on 2011-09-22
6
590 Views
Last Modified: 2012-05-12
Dear Experts,
I am using Latex 2.9 and I have the following problem.

I am using natbib and the bibliography style plainnat.  

I happen to have an image file that shows various academic papers in APA format as if they are in-text references.  See the attached file.  Since the citations appear in the image file and not in the .tex document in the normal way  they are missing from the bibliography.  

How can I force them to be included in the normal Latex bibliography file alongside all the other references?
Best Wishes,
Phil  Table of references
0
Comment
Question by:PTRUSCOTT
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 37

Expert Comment

by:TommySzalapski
ID: 36579828
Since the image does not have citation numbers in it, what I would do would just be to add all the citations right after the image.
0
 
LVL 37

Expert Comment

by:TommySzalapski
ID: 36579876
You have to explain the image, right? So all of them would fit nicely there.
"Figure 4 contains the results of several studies [4-18] and ..."

Does Latex support that notation? It might have to look like "Figure 4 contains the results of several studies [4][5][6][7][8]..." which would be cumbersome but technically correct.

The other option (which would be better except there are so many) would be to do it like
"Figure 4 contains the results of several studies from Schneider [4,5], Lacko [6,7,8,9], ..." etc.
0
 
LVL 1

Author Comment

by:PTRUSCOTT
ID: 36584562
Dear TommySzlalepski,

Unfortunately I cannot use numbered reference marks at all. The journal that I am submitted the article to only uses references in the format (Last_Name Year) e.g.

(Thompson 1998)

If I use any other form of references its a total deal-breaker and they will not publish it.  What I would like to do in latex is preserve the existing image file but force the references to appear in the bibliography.
Best Wishes,
Phil
0
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

 
LVL 37

Expert Comment

by:TommySzalapski
ID: 36584778
Oh, so the image actually has the references in the correct format. I get it.

Here's the easy solution. Forget the image entirely. I should have said this earlier anyway (apologies for not noticing). That is a table and should be included as a table, not an image. Just rewrite it as a table (it'll be faster than hiding all the secret references anyway). If there are pieces of the image that are not table, just crop them off.

The table will be seen as text by the system and you can just put the references in there anyway. If they have a strict style guide as you say, they probably have something in there about not showing tables as images anyway. I'm sure they have a specific format for tables, and I doubt that image follows them.
0
 
LVL 1

Author Comment

by:PTRUSCOTT
ID: 36584881
Dear Tommy,
I am having some success trying to generate a table in the way that you suggest.  If I use the Latex citation command /citep I can get the references to appear in the bibliography.  

However (as you can see from the attached image file) I cannot do the following:
a) Make the numbers in the final column right justified while having the text left justified.
b) I cannot make the table fill out the line so that it matches the width of the rest of the page.  
c) I cannot print horizontal rows for each row of data.

Here are my commands:

\begin{table}
% table caption is above the table
\caption{Please write your table caption here}
\label{tab:3}       % Give a unique label
% For LaTeX tables use
\begin{tabular}{lll}
\hline\noalign{\smallskip}
Estimation Method & Author & Number of Country Estimates  \\
\noalign{\smallskip}\hline\noalign{\smallskip}
Currency Demand & \citep{Schneider1994,Schneider1998} & 30 \\
Electricity Consumption & \citep{Lacko1997a,Lacko1997b,Lacko1998}  & 19 \\
Electricity Consumption & \citep{Johnson1998a,Johnson1998b} & 18 \\
Electricity Consumption & \citep{Lacko1997a} & 25 \\
Electricity Consumption & \citep{Johnson1998a} & 52 \\
\noalign{\smallskip}\hline
\end{tabular}
\end{table}

Best Wishes,
Phil  table problem
0
 
LVL 37

Accepted Solution

by:
TommySzalapski earned 500 total points
ID: 36584951
This will give you more information than you probably want to know
http://en.wikibooks.org/wiki/LaTeX/Tables

In short
1. You set text alignment in the following way (l for left, c for center, and r for right)

So the two left columns are left aligned and the right column is right aligned.

2,3. The text wrapping and width are both controlled with the p{width} tag. It would look something like this (play with it until you get it right).
\begin{tabular}{ | p{3cm} | p{5cm} | r |}

But you probably want to set the size of the right column
\begin{tabular}{ | p{3cm} | p{5cm} | p{2cm} |}

Unfortunately, that means you can't right align it so you have to use the array package and hfill (see this link, there are other solutions too)
http://stackoverflow.com/questions/2295186/getting-two-tables-in-latex-to-have-the-same-right-aligned-column-width

Would look something like this
\usepackage{array}
\begin{tabular}{ | p{3cm} | p{5cm} | >{\hfill}p{2cm} |}
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Make the most of your online learning experience.
What do responsible coders do? They don't take detrimental shortcuts. They do take reasonable security precautions, create important automation, implement sufficient logging, fix things they break, and care about users.
Learn how to automatically add page numbers in your next InDesign project. This can be very helpful in multi-page books and magazines that you are designing. Make sure your Pages window visible.:  In the document you wish to add page numbers to. Act…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

622 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question