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
3
votes
3answers
140 views

\foreach and names

I am trying to write a command to draw a cycle graph with Tikz, basically a polygon. The parameters of the command are the number #1 of vertices, and the radius #2 of the figure. My initial thought ...
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 ...
2
votes
0answers
76 views

Large documents, when renaming becomes a nightmare

Forgive my candid question, I am probably missing a whole philosophical idea here... My question How can I handle to change names in my very large document (~1000 sub documents) to prevent errors ? ...
2
votes
2answers
3k 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} \begin{...
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 ...
1
vote
0answers
46 views

How to make sure the name for a custom macro is unique and won't result in a clash?

When a new macro is created (typically with \newcommand, \renewcommand or \newenvironment), it requires the user to come up with a name and a definition. The name should only consist of letters (or ...
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?
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-...
6
votes
3answers
3k views

How do I change “References” title in APA6?

I've a document that I have to write in spanish, therefore I've to change the title of "References" section to "Referencias I've used: \renewcommand{\refname}{Referencias} \renewcommand{\bibname}{...
4
votes
2answers
191 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 ...
73
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 ...
1
vote
1answer
91 views

Section names and page numbers do not appear correctly

I used the fancyhdr package to change header and footer style. I made it so that chapter names appear in header. Also, I set it so that the chapter number appears before the page number in footers. I ...
2
votes
1answer
51 views

Create filename with a counter in a command

the code below is not efficient as I would like : \documentclass{article} \usepackage{graphicx} \newcounter{nomfigcpt} % compteur pour compter les figures insérées dans le document \newcommand{\...
1
vote
1answer
43 views

How to modify \part names?

I'd like to modify the way parts are named, into my toc, in the same way they are named in the body of my document: Première partie For the first part. Deuxième partie For the second part, and ...
3
votes
1answer
58 views

Why is \exp_after:wN named \exp_after:wN?

This may be a strange question, but it somehow bothers me. In expl3 we find a command named \exp_after:wN which is an alias for TeX's \expandafter. According to the expl3 naming scheme, anything that ...
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 ...
3
votes
3answers
2k views

Change caption name of an appendix

I want to change the caption name of a figure for an appendix. For example I have \caption{This is a supplemental figure.} and by default the caption appears as Figure 1: This is a supplemental ...
0
votes
0answers
58 views

Change Chapter/Section styles

What i would like to achieve is this: Chapter 1. Introduction Section 1.1 Name of the section 1.1 Section 1.2 Name of the section 1.2 ... Also i would like to change Chapter and Section "names" ...
0
votes
1answer
43 views

How to change Figure/Listing/Table names to anything I want (e.g CodeSnippet)? [duplicate]

Anyone knows how to change the Listing name to Code Snippet? \documentclass[bsc]{bangorcsthesis} \title{Mirror, mirror on the Web} \author{Loizos Vasileiou} \date{\today} \degreeScheme{BSc Creative ...
2
votes
2answers
94 views

Multiple listing styles with caption package

This question is mainly related to Multiple listings styles. If I have \usepackage{caption} definition in the head of file, list of custom listings disappear. How to make it work? \documentclass{...
2
votes
2answers
66 views

Changing “Chapter” just for one chapter

I am writting my thesis, using the book class. The manuscript is in English, but the first chapter (the introduction) is in French. I would like to have "Chapitre" instead of "Chapter" written before ...
7
votes
1answer
1k views

Changing “Contents” name in revtex4-1

I need to change the way "Contents" appears in \tableofcontents in a revtex4-1 document. Other answers indicate \renewcommand{\contentsname}{changes!}, however when I uncomment any of those in \...
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 \...
2
votes
1answer
106 views

ConTeXt Mark IV: What is the Identifier rule?

What is the restriction on user-defined identifiers in ConTeXt Mark IV? Should it contain Latin alphabet only? What about numbers? What about hyphen and underscores? I can't find the official rules ...
77
votes
7answers
134k 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 ...
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 ...
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 ...
6
votes
1answer
5k 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 ...
0
votes
3answers
229 views

Logical markup for math symbols/variables, alternative to \newcommand

I would like to use markup for any math symbols/variables (Sorry, I'm not sure what is the correct terminology here). The reason is to make late changes of the naming convention easier by just ...
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}{...
0
votes
1answer
155 views

Naming a Graph (Graph Theory)

\begin{tikzpicture} [acteur/.style={circle, fill=black,thick, inner sep=4pt, minimum size=0.2cm}] \node (A) at (5,12) [acteur][label=right:0]{}; \node (B) at (8,11) [acteur][label=right:1]{}; \node (C)...
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$ ...
9
votes
4answers
1k views

Best practices in labeling (giving labels to equations, theorems, items, etc..)

Are there some Latex style guides with part dedicating to labeling? I want to use some persistent labeling scheme, but don't know any (except for uncertain one in my mind). What labeling scheme ...
0
votes
2answers
2k views

How to cross-reference text with a custom label/reference text?

How can we give a name to a label so that when we do the cross-reference, instead of displaying the number of the section, we have the name of the label? For example, \underline{homogeneity in ...
2
votes
1answer
517 views

Placing the name of MOSFET

How can I set the text to be on the right side of the MOSFET? \documentclass{standalone} \usepackage{tikz} \usepackage{siunitx} \usepackage[european]{circuitikz} \begin{document} \begin{tikzpicture}%[...
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 ...
1
vote
0answers
59 views

LaTeXiT 2.9.0: exporting does not work properly when the file include “/”

LaTeXiT2.9.0, macOS High Sierra. Recently, LaTeXiT2.9.0 has changed the setting of filename when you drag the formula. It was like 'latex-image-1.pdf' previously, however, now uses codes as a name, ...
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 ...
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 ...
6
votes
1answer
13k views

Renaming “Acronyms” (glossaries package) [duplicate]

I'd like to rename the "Acronyms" section produced by the glossaries package because not all the terms I have included in it are actually acronyms but rather abbreviations. The only way to change ...
2
votes
1answer
49 views

rename the name Plot under pgfplots charts

I created a chart with pgfplots package : \documentclass{book} \usepackage{pgfplots} \usepackage{newfloat} \usepackage{amsthm,amssymb,amsmath} \usepackage[localise]{xepersian} \settextfont{Vazir} %%...
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?
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 ...
0
votes
0answers
130 views

(XeLaTeX) How to change chaptername (whichever language one uses)?

Having come across a few threads and supposedly relevant or relevantly effective websites, I still have not found the answer to my question. After trial and error and having read things here or there, ...
6
votes
1answer
4k views

How to Label a Heuristic Proof

I am using \newtheorem{thm}{Theorem}[section] and would like to my article to read Heuristic Proof instead of the standard Proof. I am showing Ito's but not in a rigorous way. Any ideas? \begin{...
1
vote
1answer
67 views

\graphicspath : Images with duplicate filenames, different folder locations [2017.07]

This is a continued thought from here. If I have a figure folder hierarchy such as: ./Figures/Apple/a.pdf ./Figures/Apple/b.pdf ./Figures/Apple/c.pdf ./Figures/Banana/a.pdf ./Figures/Banana/b....
5
votes
1answer
1k 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 ...
4
votes
2answers
2k views

How to change the caption name in the article class when using babel?

I have used the following lines in my preamble \usepackage{babel} \addto\extrasfrench{% \providecommand{\og}{\leavevmode\flqq~}% \providecommand{\fg}{\ifdim\lastskip>\z@\unskip\fi~\frqq}% } \...
5
votes
2answers
2k 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 ...
6
votes
1answer
5k views

Remove “abstract name” in abstract (cyr)

In Remove "Abstract" title from Abstract people were able to remove the abstract name from abstract. I downloaded an article template with colored fonts from HowToTeX.com, changed it a ...

1
2 3 4 5