{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

76
votes
3answers
15k 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 ...
36
votes
2answers
36k 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 ...
29
votes
1answer
677 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 ...
25
votes
2answers
4k 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 ...
24
votes
1answer
766 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?
23
votes
2answers
15k 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} ...
18
votes
1answer
182 views

Is it bad style to have spaces in environment names?

I've recently realized that, due to how \newenvironment, \begin, and \end work, there is no reason you can't have environment names with spaces in them. As long as you stick with \begin and \end, this ...
15
votes
3answers
625 views

How would you name these fraction macros?

I've got four macros now for typesetting fractions in text mode. The first writes them horizontally (shilling style, with a hyphen), the second writes them diagonally, the third writes them ...
15
votes
2answers
10k 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?
15
votes
1answer
514 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 ...
15
votes
5answers
2k 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 ...
15
votes
1answer
245 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 ...
14
votes
4answers
6k views

\span as a math operator

I'd like \span to be a math operator (for the span of a set of vectors), but apparently it's already a TeX command. What do you guys recommend I do instead? (I don't really want a strange capital ...
14
votes
2answers
8k 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: ...
12
votes
2answers
6k 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 ...
12
votes
2answers
435 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 ...
12
votes
1answer
5k 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 ...
11
votes
5answers
8k views

Makeindex - Styling the \printindex?

I have two questions: Is it possible to change the titel of the printindex command? It is "Index" by default. How can I format the index as a multi column, alphabetic sorted list?
11
votes
2answers
10k views

Problem with command \captionsetup from package caption

The following MWE: \documentclass[11pt]{memoir} \usepackage{caption} \captionsetup[table]{ listformat=empty, tablename=Table, justification=justified, ...
11
votes
3answers
589 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 ...
11
votes
1answer
205 views

arara: problem with spaces in the name of .tex files?

I know that there is a problem with spaces in the name of .bib files. Nonetheless, the following MWE compiles perfectly fine if one does the normal latex -> bibtex -> latex -> latex compilation ...
11
votes
1answer
3k 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
1answer
422 views

Where can I translate the Bergen beamer style?

I would like to use the Bergen theme with orchid color scheme. It works well, but I have "Who?" and "Where?" on my title page - I would like to translate them to my language. How could I do this the ...
10
votes
3answers
7k 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. ...
10
votes
2answers
8k 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 ...
10
votes
2answers
1k 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 ...
10
votes
2answers
2k views

\autoref should call sections within the appendix “appendix” not “section”

I make use of autoref thoughout my now rather long document. I have an appendix with sections, though currently a small number, so changes could be made here. I want references in my document to ...
9
votes
2answers
158 views

What is the scheme of fonts naming in PDFs generated by LaTeX and other software?

Most of PDF viewing software allows one to see documents properties, in particular, fonts used in them. Some viewers (e.g. Okular of KDE) even allow to extract such fonts to TTF files. I always ...
9
votes
1answer
322 views

Change “Theorem” to “Věta” in beamer

I tried to use \uselanguage{Czech}\languagepath{Czech} as suggested in Babel (French) does not translate the theorem environment in Beamer class, but I still get "Theorem" instead of "Věta" for my ...
8
votes
3answers
5k views

Change the word “Table” in table captions

I need to have tables with their numbers, just as when I use \caption. My problem is that when I use the \caption it shows me like this: Cuadro x.x: this is some table. The word Cuadro is ...
8
votes
4answers
278 views

Having multiple commands with underscores and numbers that start with same text

Recently me and some friends really got into "making everything compilable". More specifically, we need to do a lot of matlab calculations, and then we need to put the results into a tex document. ...
8
votes
2answers
4k 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 ...
8
votes
3answers
226 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 ...
8
votes
1answer
888 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, ...
8
votes
1answer
1k views

Add a dot in “MA Thesis” in biblatex’s @masterthesis entry

in output I see "MA Thesis" however I want to have "MA. Thesis". How one can put a dot after "MA"? I am using numeric style. I looked though the file biblatex.def and I can see some \map sententences ...
8
votes
1answer
8k views

Trying to Change Bibliography/References Header

I am trying to change the header from saying "References" to "Works Cited" and insert it on a new blank page. I tried \refname but it did not work, just a blank space in the pdf. My document is ...
7
votes
3answers
11k 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 ...
7
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} ... ...
7
votes
1answer
579 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 ...
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 ...
7
votes
1answer
90 views

How to change the \see command when indexing with multind?

I'm trying to change the output of \see in the index. The default outcome is: John Doe see Doe, John. I'd like to add a new command or change this one to my native language. I tried to declare a ...
7
votes
1answer
738 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 ...
7
votes
2answers
522 views

Equations (to be tagged, but how?) too long to fit in a Beamer alertblock

In the following code the 3rd equation is going out of the alert block. I want to align those equations beautifully inside the alert block. And also I want to indicate that the first equation is 'Mass ...
7
votes
2answers
870 views

Write “chapter” before list of figures

if I use the \listoffigures command LaTeX creates a new chapter (I'm using the book class), but there is no chapter heading. Is it like it uses \chapter*{List of figures}. Of course this is what we ...
7
votes
1answer
1k views

algorithmic, arbitrary names for algorithms

The question is advanced version of my previous one. I need to name algorithms (package algorithmic) with arbitrary names so it appears like: Algorithm MyAlgo and \ref{...} will appear like MyAlgo. ...
7
votes
1answer
749 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 ...
7
votes
1answer
1k 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{...} ... ... ...
7
votes
2answers
498 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 ...
6
votes
1answer
4k 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
2answers
1k 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?