{naming} is about naming files, document elements, or their underlying {macros}. Use {naming} in addition to other tags specifying what should be named.

learn more… | top users | synonyms

63
votes
3answers
8k views

How to change the name of document elements like “Figure”, “Contents”, “Bibliography” etc.?

I'd like to modify the names used to typeset some of my document elements. For example, the caption of figure floats should change from "Figure" to "Fig.", and my \tableofcontents sectioning heading ...
29
votes
2answers
30k views

Change caption name of figures

How can I modify the caption name of a figure? For example I have \caption{This is a figure.} and by default the caption appears as Figure 1: This is a figure. However I want Fig.1 - This ...
6
votes
3answers
7k views

Renaming the bibliography page using BibTeX

Is there a way to rename (or do away with the name of) the bibliography page that is output using BibTeX? If so, is the name dependent on the bibliographystyle, or is it something inherent within the ...
17
votes
1answer
11k views

How to change the title of ToC?

I need to change default title of ToC. Is it possible with titlesec package? Here is my MWE: \documentclass{book} \usepackage{titlesec} ...
27
votes
1answer
621 views

Macro naming best practice?

Is there a preferred or generally accepted idiom for naming user defined macros? I notice that in the change from Tufte 3.5.0 to 3.5.2, for example, the names of the debugging macros have change, for ...
10
votes
3answers
5k views

how to suppress “chapter” in \chapter (while keeping numbering)

Using \chapter I get: Chapter 1. The meaning of this novel Chapter 2. The plot of this novel Chapter 3. The moral of this novel I want to get instead: 1. The meaning of this novel 2. ...
8
votes
1answer
713 views

\chaptername is used even for appendix chapters in ToC

I have searched for something to resolve a problem that has shown up here: How do I get \chaptername to appear in the table of contents? I have tried the code from that thread. But I got an issue, ...
4
votes
1answer
940 views

Change reports text for bibliography

I have a report style document: \LoadClass[12pt,a4paper]{report} and when I do: \bibliographystyle{plainnat} \bibliography{references} it shows : Bibliography instead of References Is it ...
13
votes
2answers
6k views

How to rename theorem (or lemma) in Beamer to another language?

I'm Malay user. I want to rename the theorem tag in Beamer. Does anyone know how to do it? When the document class is article or book, I can simply modify the preamble as follows: ...
6
votes
1answer
986 views

Include figure (from macro) with underscore in filename

I have a system of where a .tex is generated from a program. The final .tex file has a (simplified) structure like this: \newcommand{\PlotFrame}[1]{% \begin{frame} \frametitle{...} ... ... ...
4
votes
1answer
187 views

Translate paragraph environment

I need to translate some reserved word of paragraph environment to my own language; like Chapter, Table of Content, Example, Bibliography, and some more. How do I achieve that? I'm using LyX in Linux. ...
15
votes
1answer
227 views

What are best practices for package authors to deal with package conflicts?

One occasionally encountered problem with LaTeX is incompatibility between packages. What are best practices for package authors to deal with package conflicts? For example: What is the best way to ...
10
votes
2answers
5k views

How can I change the “References” to “Reference” in the thebibliography environment?

My problem is that I have only one reference. So I would like the head of this part to appear "Reference" instead of commonly "References". More generally, could we change the title "References" to an ...
7
votes
3answers
6k views

Rename “Algorithm” to “Listing”

Background Syntax-highlighted source code image listings are being used as Algorithm floats with the lst: prefix for captions. Problem The following LaTeX code in the preamble renames the caption ...
6
votes
1answer
345 views

Multiple listings styles

In using the listings package, how can I have a distinct \lstlistingname value for each type of listing. Lets say my document has C++, R and Pseudo listings, and I would like the \lstlistingname ...
8
votes
2answers
3k views

Manual bibliography, separated or multiple parts

I'm creating a manual bibliography, but it needs to be divided into sections. The solutions I thought might be applicable: Add \textbx{"Literary works"}, \textbx{"Web references"}, etc. between ...
4
votes
1answer
760 views

Easy-to-use reference-able environment for restating theorem-like environments?

This question is a development of the same issue as this one; following my own answer and later comment there, I decided it deserves a spin-off. I would like to define an environment for restating ...
14
votes
1answer
455 views

choosing macro names so as to avoid namespace conflicts

I wish to choose names for macros in a manner that is least likely to conflict with names of other macros (including macros in packages that are not included in a document). Therefore, simply ...
5
votes
3answers
1k views

Setting the name of an index with makeidx and adding to table of contents

I would like to change the name of my index, so that instead of "Index", it reads "Index of whatever I want". I've tried quite a few things: redefining \indexname, after or before calling \makeindex ...
13
votes
2answers
7k views

Change the word “Chapter” to something else

I am using fancyhdr. With that, using the command \renewcommand{\chaptername}{Lecture} has no effect. How can I change the name "Chapter" into something else?
6
votes
1answer
3k views

\renewcommand\tablename{name} does not work

I am completely noobie in LaTeX. I need to change table name in all captions. But when I write \renewcommand\tablename{newname} at the beginning of document, it doesn't do anything. It's still "Table" ...
6
votes
1answer
636 views

Change caption of figure for references

I changed the caption of my figures running the following command (I'm using the babel package): \addto\captionsngerman{\renewcommand{\figurename}{Abb.}} If I use \autoref{$LABEL} to reference to ...
6
votes
1answer
3k views

Renaming Algorithm to Heuristic in algorithm2e package

I am trying to write some heuristics for a problem using the algorithm2e package. However as you may know, when you write : \begin{algorithm} \caption{Heuristic 1: Name of Heuristic} ... ...
5
votes
1answer
480 views

'List of theorems', translated into my language

I'm using \listoftheorems (part of the thmtools package) to show a list of all my theorems. It works really well, but it prints "List of theorems" in English; I would obviously prefer it to be in my ...
4
votes
1answer
571 views

Redefining “cited on” string (and others) in biblatex

I'm trying to modify the strings biblatex uses to set the "cited on" string used in the bibliography to identify the pages where a given references has been cited. What I gather from the biblatex ...
2
votes
1answer
1k views

How to change or remove the bibliography title when using multibib?

I use the multibib package to include more than one bibliography into my document: \documentclass[a4paper,10pt,twoside]{article} \usepackage[resetlabels]{multibib} \newcites{lit}{Literature} ...
2
votes
1answer
474 views

babel package and lstlisting caption incompatibility

I am using babel package for Turkish language and I also use listings package. A code sample for one of my listings is as follows: \begin{lstlisting}[label=some-code,caption=Poo Class] public class ...
2
votes
2answers
5k views

Code to title the bibliography 'References' instead of Bibliography [duplicate]

Possible Duplicate: Renaming the bibliography page using BibTeX I am writing an M.Sc thesis. I have problem trying to rename the bibliography as 'References'. I have tried quite a few ...
10
votes
2answers
5k views

Autoref's inserted text has not the correct case

I'm using the \autoref tag which comes with the package hyperref for referencing my algorithms, figures etc. I read that it automatically adjusts the reference text's case, but it won't work with my ...
22
votes
1answer
608 views

What are the valid names as labels?

What are the valid characters to use in labels? I thought that only alphabetic characters were valid, but I tested ' and ! and they work. What are the restrictions to these names?
21
votes
2answers
3k views

Bibliography not in ToC when using biblatex/biber

I just managed to switch from using BibTeX to biblatex with the biber backend. My references now appear how I want. However I have two new issues. 1) How do I change "Bibliography" to references? The ...
8
votes
3answers
221 views

How to use named variables with one environment

Just after there is one code which has been proposed to me in this site. Instead of using \begin{MyFrame}[1.5cm][2pt][1.3cm][blue][2][8ex], I would like to use something more friendly like ...
15
votes
5answers
1k views

Naming convention for papers, articles and bibliographic references

This is not strictly speaking a TeX question, but I think every TeX author will have been confronted by it at some point. What convention do you follow when naming PDF copies of articles downloaded ...
12
votes
2answers
354 views

How to create *local* labels/refs in LaTeX?

Concise question: Is there any way to limit the scope in which a \label is visible to a \ref? Motivation: My current goal is to create a rather large document, containing many exercises and their ...
11
votes
3answers
582 views

Why can't I use \newfloat more than once?

I've found the float package, which lets me specify \newfloat{program}{...} to get other named floats than Table and Figure. However, if I try to use this more than once, I get a cryptic error: ! You ...
10
votes
1answer
2k views

How to change the word “Proof” in the proof environment?

I want to change the word "Proof" into "Solution". Of course the following works. \begin{proof}[Solution] \end{proof} But it's quite cumbersome to add this additional [Solution] every time. Is ...
11
votes
2answers
9k views

Problem with command \captionsetup from package caption

The following MWE: \documentclass[11pt]{memoir} \usepackage{caption} \captionsetup[table]{ listformat=empty, tablename=Table, justification=justified, ...
10
votes
1answer
4k views

How to rename Abstract title in Memoir?

I'm trying to customize the Abstract of a memoir document using the following command: \renewcommand{\abstractname}{Executive Summary} The problem is that it actually has no effect. How can I ...
10
votes
2answers
886 views

What is the right way to redefine macros defined by babel?

If I want to use the babel package and redefine a macro such as \contentsname, what is the right way to go about this? Just putting \renewcommand in the preamble doesn't work. This sort of works ...
7
votes
2answers
402 views

Not having “Chapter” appear in chapter names

If, in amsbook, I write something like \chapter{My great chapter} it appears in the text as Chapter 1. My great chapter I would like to make it appear simply as 1. My great chapter Anyone have ...
7
votes
1answer
583 views

How to localize label using algorithm and algorithmic packages

I am writing a paper in Italian and I need to include pseudo code in my latex document so I am currently using the algorithm and algorithmic packages. At the top of every algorithm the label Algorithm ...
5
votes
1answer
225 views

Naming conventions for macro names that include the package name

Background Many packages provide commands that have the full name of the package, or an abbreviation, as part of the command name. Sometimes the package name (or abbreviation) is at the beginning of ...
2
votes
1answer
865 views

babel and \contentsname, how to add extra customization?

This is what I'm trying to do: \renewcommand{\contentsname}{ \vspace{-8mm} {\Huge Table of Contents}\vspace{-3mm} \rule{\linewidth}{0.5mm} \\[-4mm] } Using babel, I can get this code to work: ...
7
votes
1answer
498 views

How to specify the caption names in bilingual captions without babel or polyglossia?

I use Axel Sommerfeldt's bicaption package to setup bilingual captions. bicaption needs babel's \selectlanguage to set the different caption names for different languages. However, I cannot use the ...
6
votes
2answers
850 views

How to make a float that is not labelled 'Figure' but 'Listing'

I would to include my listings as floats, pretty much as Figures, but I don't want to call them Figures. I want to call them listings. How can I do that?
5
votes
1answer
85 views

Adding a string “Chapter” to selected chapter numbers in TOC

Any idea how to add a string "Chapter" to TOC to a selected positions in TOC? For now, TOC looks like this: Chapter without any number A Chapter without any number B 1. This is chapter 1. 2. This ...
4
votes
1answer
271 views

How do I get the table of contents, list of figures and list of tables to have the header I specify

I used \renewcommand\contentsname{\Large{TABLE OF CONTENTS}} (similar for list of figures and list of tables) to obtain headers that were centered at the top of the page, not bold and capitalized. ...
4
votes
1answer
893 views

Customising glossary group titles

I'm using the glossaries package to produce multiple glossaries in the same document and have found it convenient to define my own glossary style. When makeindex is used the glossary is sub-divided ...
4
votes
1answer
2k views

Modify Algorithm name in French

This is my code: \usepackage[section]{algorithm} \usepackage{algorithmic} \begin{document} \makeatletter\renewcommand{\ALG@name}{Algorithme} \renewcommand{\listalgorithmname}{Liste des \ALG@name ...
4
votes
1answer
147 views

How do I determine the name of the counter associated with a theorem-like environment

(A question related to this one and leading up to this one.) Suppose I'm using ntheorem. I would like to have a command which determines the name (not the value) of the counter associated with a ...