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
581 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
  • 4
  • 2
6 Comments
 
LVL 37

Expert Comment

by:TommySzalapski
Comment Utility
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
Comment Utility
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
Comment Utility
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
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 37

Expert Comment

by:TommySzalapski
Comment Utility
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
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
count7 challenge 12 66
wordcount challenge 11 72
Dice Roll Probabilities 3 51
Homework Help 5 48
This article seeks to propel the full implementation of geothermal power plants in Mexico as a renewable energy source.
A short article about problems I had with the new location API and permissions in Marshmallow
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

762 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now