Questions tagged [naming]

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

Filter by
Sorted by
Tagged with
179
votes
5answers
95k views

How to change the name of document elements like “Figure”, “Contents”, “Bibliography”, “Appendix”, 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 ...
110
votes
3answers
175k 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 is ...
89
votes
2answers
150k 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} \titleformat{\chapter}{\normalfont\Large\scshape}{\thechapter}{...
77
votes
7answers
133k 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 ...
72
votes
3answers
35k 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 ...
66
votes
6answers
102k 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 ...
46
votes
1answer
27k 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 there ...
45
votes
3answers
61k 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?
43
votes
1answer
4k 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?
38
votes
1answer
2k 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 ...
34
votes
4answers
28k 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 \...
31
votes
2answers
15k 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 ...
30
votes
5answers
48k 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 because ...
30
votes
2answers
30k views

How to rename Abstract title in Memoir? [duplicate]

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 ...
20
votes
3answers
31k 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. The ...
19
votes
2answers
21k 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: \newtheorem{theorem}...
18
votes
1answer
2k 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 ...
18
votes
1answer
434 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 ...
18
votes
1answer
237 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 ...
17
votes
3answers
862 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 vertically,...
17
votes
2answers
2k 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 ...
17
votes
2answers
388 views

Are there guidelines for finding good names for LaTeX 2e packages and control sequences defined in these packages?

I have written some code which I would like to submit to CTAN as a package for LaTeX 2e. (readme, dtx, ins, pdf with manual and commented sources.) I need a good name for the package. Question: Are ...
16
votes
2answers
32k views

Changing label name for algorithm

I have this algorithm: \begin{algorithm} \captionsetup[algorithm]{name=MegaAlgorithm} \DontPrintSemicolon \KwData{$G=(X,U)$ such that $G^{tc}$ is an order.} \KwResult{$G’=(X,V)$ with $V\subseteq U$ ...
16
votes
1answer
15k 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 ...
15
votes
5answers
20k 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?
15
votes
3answers
36k views

Change name of abstract [duplicate]

I'm writing a document with and abstract and I've set the language to Spanish, and so the abstract environment displays the word "Resumen" instead of "Abstract". I want the opposite. I've tried \...
15
votes
5answers
4k 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 ...
14
votes
1answer
19k views

How can I rename “Appendices” in the Table of Contents and in the text?

I would like to change the name of the "Appendices" to "Appendix" in the Table of Contents. So far, I was only able to change the name of the Appendices in the text, by using the following commands in ...
14
votes
1answer
9k 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} ... \end{...
14
votes
2answers
3k 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 ...
13
votes
2answers
22k views

Problem with command \captionsetup from package caption

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

Bibliographystyle invalid

I'm having a problem with using bibliography styles. In the preamble: \usepackage{biblatex} \bibliography{ref} If in the document I write: \printbibliography I get a version of the bibliography, ...
11
votes
2answers
19k views

change name of appendices

I am trying to change the name of the Appendices. This is what I've done: \begin{appendices} \input{muonSF} \input{Wmass} \input{BDTCrossCheck} \end{appendices} using the package appendices. My ...
11
votes
1answer
11k views

How to set BibTeX bibliography title?

Currently my bibliography says "Literatur" (german). But I want something completely different there. How can I achieve that?
10
votes
2answers
16k 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" ...
10
votes
2answers
10k 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 \...
10
votes
1answer
477 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 ...
10
votes
2answers
4k 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?
10
votes
4answers
928 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. I'...
10
votes
1answer
1k 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 ...
10
votes
1answer
3k 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, ...
10
votes
1answer
177 views

What are the catcode 11 / letter codepoints in Xe(La)Tex?

I'm trying to write a (JavaScript) RegEx to turn arbitrary sequences of characters into (hopefully) unique command names. Part of the solution would be to replace everything that does not match /[a-...
9
votes
2answers
5k views

How to change the name of Index section

I use the makeidx in the extreport and the command \printindex to print the index out. The Index name (index in English) was translated to Vietnamese automatically into "Chỉ mục". I want to change "...
9
votes
3answers
10k 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 ...
9
votes
1answer
2k 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 ...
9
votes
1answer
535 views

What does KOMA stand for in “KOMA-Script”? [closed]

I could not find any hints to the acronym KOMA - maybe someone knows and can post his opinion. It evolved from a bundle called "Script" - being the reason KOMA-Script classes start with "scr" ...

1
2 3 4 5