{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

1
vote
2answers
2k views

Creating Table of Contents / Section Headings

I found this article and would like to know how can one create a template (generic) to accomplish this. It would be great to implement a (generic) template to be able to make it for a table of ...
2
votes
1answer
766 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 ...
19
votes
4answers
10k 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 ...
8
votes
3answers
237 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 ...
5
votes
1answer
210 views

What do you call those things you use in LaTeX to format text?

I want many times to ask questions but I don't know what to call those. Are they called tags? Commands? Formatters? Example: \example{example} I know my question is general but that's what the ...
2
votes
2answers
10k 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 ...
20
votes
2answers
20k 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?
39
votes
2answers
40k 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} ...
4
votes
1answer
2k 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 ...
1
vote
1answer
666 views

CJK package and \figurename

I'm using the cjk package to typeset a Japanese document, but somehow can't change the \figurename into CJK. I tried in the preamble, \renewcommand{\figurename}{図} but it only give me an empty ...
3
votes
1answer
512 views

Translate (localise) \theendnotes heading

I'm using the endnotes package for enabling endnotes within my document. With an English document it is no problem but when I'm using it within a German document and added the ngerman package, the ...
17
votes
2answers
13k 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 ...
2
votes
2answers
294 views

Setting a common prefix for macro names

Is it possible to set a common prefix for all macros in a package? Something like: \def\prefix{mypackage} \newcommand{{\prefix}macroone}{ ... } % does not work, of course ...
3
votes
1answer
157 views

Naming a package built on TikZ

I am working on a package which builds on TikZ. How should I name it — tkz-foo or tikz-foo (foo is a placeholder). In CTAN both styles can be found: tikz- as well as tkz-. There are more tkz-named ...
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 ...
9
votes
1answer
4k 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
3answers
3k 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 ...
30
votes
1answer
1k 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?
55
votes
3answers
63k 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 ...
27
votes
3answers
31k 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 ...
19
votes
4answers
31k 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 ...
5
votes
4answers
3k views

How to change captions and dots?

I've received my master thesis from proofreader. I've received a lot of small things to fix but they're defined inside my document class which is report. How to change caption name from "Table" to ...
10
votes
2answers
2k 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 ...
5
votes
1answer
737 views

Redefining the label used in captions

You can redefine your caption labels with e.g. \renewcommand{\figurename}{Fig.}. Is there a way to do it just for certain figures/tables? I have an appendix and I would like to make figures/tables as ...
7
votes
3answers
8k 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 ...
2
votes
3answers
806 views

BibTeX: change field labels

I currently have a BibTeX entry for a book, of which I want to cite a section, like this: @inbook{..., chapter = {1}, ...} During the output of the bibliography, this will be printed as ..., ...
12
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 ...
12
votes
3answers
645 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 ...