Skip to content

Latex Bibliography Style Surname First Name

It seems including initials might be helpful especially in circumstances where different authors share the last name, however, yes, it’s possible to extract just the last name of the first author (see Image 3 for result). The trick is to use both an output style file (to export the EndNote records in a horizontal .txt format with “tags” to facilitate importing) and an import filter to read-in .txt file and parse just the last name of the first author when importing the records into a new EndNote library.  The resulting .txt file after exporting also requires some minor clean-up before importing.


There are some caveats to the process:


1. It’s time-consuming. Templates specific to each reference type (e.g., Journal Article, Book, Book Section, etc.) must be constructed for both the output style and import filter files.


2. The export/import process focuses on working with one group of reference types at a time (e.g., Journal Article, Book, Book Section, etc.).


3. Importing the records into a new EndNote library results in each reference being assigned a new record number.


But if you’re still interested, here’s an illustration of the process using the Journal Article references and the Custom 8 field. (You could use an alternate field but the key issue is that it isn’t used by any of the reference types that will be exported/imported and Custom 8 seems to be a safe one to use.)




1.Create the bibliographic template in the output style  (see Image 1, “A”).  A Journal Article bibliographic template was created for an output style file (output style file provided in second posting).


   a. Note that a 5-character field precedes the EndNote field name. The 5-character field serves as a “tag” and includes delimiters (slash, colon, space) which are needed for Step 3.


   b. Each “tag” corresponds to an EndNote field used in the Journal Article reference type. Refer to the EndNote manual for a list of the reference types and field names. For this example, we’ll designate a second field (“\C8 “) to duplicate the author(s) shown in the Author field.  


   c. The Author Lists and Author Name settings were adjusted to: 1)  insert two semicolons between multiple authors. (the semicolons act as delimiters which are needed for Step 3); and 2) list authors in last-name, first-name (initial) order.



2.Search for references and export them as  .txt file. In your EndNote library, search for all journal article references then use the modified output style to export the references as a .txt file (output style file provided in second posting).



3.Clean-up the .txt file (see Image 2). The .txt file needs to be “cleaned up” prior to importing so open the .txt file in MS Word and perform the following search-and-replace (see Image 2):


   a. Search for ;; and replace with ^p\AU:

       Note: This repositions each author (in the case of multiple authors) on a separate line.


   b. Search for : / and replace with : ^p/

       Note: When the EndNote field is empty/blank the tags will tend to “run together’. This action repositions each tag and corresponding field on a separate line.


Re-save the .txt file (or save it as a new file).


4.Create the template in the import filter (see Image 1, “B”). Use the same tags and fields in the output style filecreate the Journal Article template (import filter). (Import filter file provided in second posting.)  Note that:


   a. Tags/fields which do not need to be imported into EndNote can be set to: {IGNORE]}


   b. Parsing out the last name of  the first author is achieved by designating the Field(s) as: Custom 8,    (The comma instructs EndNote that of the author names in the “\C8: “ field to import only the data up to the first comma that occurs– which happens to be the last name of the first author.)


The final imported result is shown in Image 3.  When exporting into Bib Tex, use “Custom 8” to designate the last name of the first author:


@article{ Custom 8 Year Record Number,

'author = ' {Author},


... }




by Tyler Krupa

You probably already know that references in APA Style are cited in text with an author–date system (e.g., Adams, 2012). But do you know how to proceed when a reference list includes publications by two or more different primary authors with the same surname? When this occurs, include the lead author’s initials in all text citations, even if the year of publication differs (see the sixth edition of the Publication Manual, p. 176). Including the initials helps the reader avoid confusion within the text and locate the entry in the reference list. For example, let’s look at the following two references and their corresponding text citations.


Campbell, A., Muncer, M., & Gorman, B. (1993). Sex and social representations of aggression: A communal-agentic analysis. Aggressive Behavior, 19, 125–135.<125::AID-AB2480190205>3.0.CO;2-1

Campbell, W. K., Bush, C. P., & Brunell, A. B. (2005). Understanding the social costs of narcissism: The case of the tragedy of the commons. Personality and Social Psychology Bulletin, 31, 1358–1368.

Text Citations

First citation: Many studies (A. Campbell, Muncer, & Gorman, 1993; W. K. Campbell, Bush, & Brunell, 2005) have shown . . . .

Subsequent citations: Both A. Campbell et al. (1993) and W. K. Campbell et al. (2005) provided participants with . . . .

As you can see from the examples above, even though the year of publication differs in the two Campbell references, the lead author’s initials should be included in all text citations, regardless of how often they appear.

Although this rule seems straightforward, one thing that trips up some writers is how to proceed when different lead authors with the same surname are also listed in other references in which they are not the lead author. To help illustrate what should you do, let’s look at the earlier Campbell examples again, but now let’s add some additional references.


Brown, Y., & Campbell, W. K. (2004).

Campbell, A., Muncer, M., & Gorman, B. (1993).

Campbell, W. K., Bush, C. P., & Brunell, A. B. (2005).

Smith, L. N., Campbell, A., & Adams, K. (1992).

Although you may be tempted to include the initials every time the surname Campbell appears in the text citations, note that per APA Style, the initials should be included only when Campbell is the lead author. Therefore, initials should be used for only two of the above four references in the text citations.

Text Citations

First citation: Many studies (Brown & Campbell, 2004; A. Campbell, Muncer, & Gorman, 1993; W. K. Campbell, Bush, & Brunell, 2005; Smith, Campbell, & Adams, 1992) have shown that . . .

Subsequent citations: . . . as was done in previous studies (Brown & Campbell, 2004; A. Campbell et al., 1993; W. K. Campbell et al., 2005; Smith et al., 1992).

Another related item to note is that if the reference list includes different lead authors who share the same surname and first initial, you should provide the authors’ full first names in brackets (see the Publication Manual, p. 184).


Janet, P. [Paul]. (1876).

Janet, P. [Pierre]. (1906).

Text Citations

(Paul Janet, 1876; Pierre Janet, 1906)

We hope these examples clear up any points of possible uncertainty. Still have questions? Leave us a comment.