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
587 Views
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
0
Question by:PTRUSCOTT
• 4
• 2

LVL 37

Expert Comment

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

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

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

LVL 37

Expert Comment

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

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
\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
0

LVL 37

Accepted Solution

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

Question has a verified solution.

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

### Suggested Solutions

Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Introduction to Processes
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…