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
584 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
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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

This is an explanation of a simple data model to help parse a JSON feed
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
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…

803 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