Document Classes ⇒ Abstract caps
Abstract caps
I am writing an article and because of the requirements of the journal, I need to make the word "Abstract", the title of the abstract, be in capital letters. I have checked the options in the CTAN documentation and I couldn't find any clue for this. I appreciate your help with this detail. Thanks.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Abstract caps
Code: Select all
\renewcommand{\abstractname}{\textsc{Abstract}}Best regards
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Abstract caps
Thanks for your answer. It works fine now. However, I had two minor situations that could be of interest. First, using the code you provided, the compiler reports this warning: "Font shape `OT1/cmr/bx/sc' undefined using `OT1/cmr/bx/n' instead on input line [...]". Second, the abstract's title did not change. It did so, when I actually wrote the word abstract in capitals in the renewcommand expression. Perhaps I am missing something in relation to the fonts? I am not using Babel.
J.
Abstract caps
There's no reason to use the small caps (\textsc). Especially if you want the title to be in caps too, just hard-code the name in all caps.jlbfunes wrote:"Font shape `OT1/cmr/bx/sc' undefined using `OT1/cmr/bx/n' instead on input line [...]". Second, the abstract's title did not change. It did so, when I actually wrote the word abstract in capitals in the renewcommand expression.
Code: Select all
\renewcommand{\abstractname}{ABSTRACT}Re: Abstract caps
Thanks for your answer. Do you know something about the warning?
J.