Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
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
Medium Priority
?
595 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Lithium-ion batteries area cornerstone of today's portable electronic devices, and even though they are relied upon heavily, their chemistry and origin are not of common knowledge. This article is about a device on which every smartphone, laptop, an…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Introduction to Processes

660 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