[Basic skills of papers] [LaTeX] The usage and characteristics of common attributes in references (bib files) [IEEE papers]
For all format types (bib files) of references, please refer to another blog of the blogger:
[Basic skills of papers] [LaTeX] All format types of references (bib files) [IEEE papers]
One, author (author)
1. How to use
Usage 1: Two ways of writing the author's name
author name can writeFirstname Middlename LastnameandLastname, Firstname Middlename, the two formats are equivalent, and the actual display is "FM Lastname", that is, "Firstname" (Firstname) and "Middlename" (Middlename) use acronyms in front, while "Lastname" (Lastname) is used in its entirety , put it behind.
Usage 2: Use and to connect different author names
Need to use between different authorsandConnections such as "author1 and author2".
Usage 3: How to use et al when there are more than 3 authors
Sometimes it is required that when the number of authors of the same reference exceeds 3, the latter authors use"et al"replace. In this case, simply replace the fourth and subsequent author names with "et al", specifically "author1 and author2 and author 3 and author4 ..." to "author1 and author2 and author3 and et al".
2. Display Features
Feature 1 : As mentioned above, only the last name will be given in full, and the first and middle names will be given as abbreviations.
Feature 2 : If the assignment of the author attribute of two consecutive documents in the reference part is exactly the same, then the author part of the latter document will be replaced by a long horizontal line "—" automatically. The specific effect is shown in the figure below.
Two, title (title)
1. Usage: Use curly braces to keep uppercase
For references such as article or inproceedings, no matter whether any letter in the title is uppercase or lowercase, it will be automatically modified to the format of the first letter of the first word and all other letters in lowercase. This automatic processing is suitable for most general cases, but when some letters in the title must be capitalized, an additional layer of curly braces is required to enclose the corresponding word. For example, usingtitle=“Example title for {IEEE}”"IEEE" remains capitalized in the title of the definition. The first example reference in the figure below does not use curly braces, the second uses them.
@article{article_example,
author = "author1 and author2",
title = "Example title for IEEE without \{ \}",
journal = "example journal",
year = "2022"
}
@article{article_example2,
author = "author1 and author2",
title = "Example title for {IEEE} with \{ \}",
journal = "example journal",
year = "2023"
}
Three, month (month)
1. Usage: the best way to write the value of month
General attributes need to enclose the assigned result in double quotes or curly braces when assigning values, such as
@book{book_example,
author = "Firstname Middlename Lastname and author2 and author3 and et al",
title = "Book Title Example",
publisher = "Publisher",
address = "Beijing, China",
month = "Nov.",
year = "2022"
}
或
@book{book_example2,
author = {Firstname Middlename Lastname and author2 and author3 and et al},
title = {Book Title Example},
publisher = {Publisher},
address = {Beijing, China},
month = {Nov.},
year = {2022}
}
You don’t need to use double quotation marks or curly braces to use month (month). You only need to enter the first three letters of the month (no need to pay attention to capitalization), and you don’t need to consider how the month is abbreviated. For example, the full name of May has only three letters, no abbreviation, and there is no need to add "." at the end, but you don't need to consider this when using the writing method here, you can still directly assign the value may to month.month=novandmonth=NoVBoth ways of writing can accurately get the accurate abbreviation "Nov." of November (November).
Therefore, it is recommended to use the following writing method by default
@book{book_example,
author = "Firstname Middlename Lastname and author2 and author3 and et al",
title = "Book Title Example",
publisher = "Publisher",
address = "Beijing, China",
month = nov,
year = "2022"
}