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
1
vote
0answers
43 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 ...
10
votes
1answer
169 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-...
2
votes
1answer
39 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
62 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 ...
1
vote
1answer
37 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
54 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
366 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 ...
0
votes
0answers
46 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
38 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
74 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
49 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 ...
2
votes
1answer
99 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 ...
0
votes
3answers
190 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 ...
0
votes
1answer
137 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)...
0
votes
2answers
793 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
374 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}%[...
1
vote
0answers
56 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, ...
2
votes
1answer
46 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} %%...
1
vote
1answer
64 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....
2
votes
0answers
45 views

How to add accents to bibliography title? [closed]

Found out how to change the title of my bibliography (using .bib file to generate it). However, I need to add some accents to the letters \usepackage[english]{babel} \addto{\captionsenglish}{% \...
4
votes
1answer
662 views

Are there existing LaTeX commands \1,\2,\3, or \4?

I want to make new commands with the names \1 \2 \3 \4. But I do not want to use these names if they will conflict with standard existing names. I do not know of any existing LaTeX commands with ...
2
votes
0answers
193 views

\def \mypath { … } versus \path [name path = mypath] … ;

This question is a follow-up to my last question. It concerns the problem of naming paths in such a way as to be able to perform operations on them such as translating or rotating them calculating ...
0
votes
0answers
107 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, ...
1
vote
1answer
795 views

How to change “part” to “chapter”

I am using amsart document class. The structure order in amsart is Part -> Section -> subsection -> subsubsection My question: how may I modify \part so that latex would show "Chapter" instead of "...
1
vote
0answers
25 views

Why doesn't the bib file work when I change the name of the tex file? [duplicate]

Suppose I create a tex and a bib file. They work fine. Then I rename the tex file, and keep the same (old) name for the bib file. When I compile the new tex file, the bibliography does not work - just ...
1
vote
1answer
555 views

\usepackage[Lenny]{fncychap} \usepackage{fancyhdr}

Can I change "Chapter" with "Year"?
5
votes
2answers
4k views

How to remove number in Figure caption

Let's say I have a document with just one figure and I don't want that figure to be labeled 'Figure 1:' but only 'Figure:' How can I do that? I tried: \begin{figure*} but that didn't work! I also ...
3
votes
1answer
1k views

Customize caption name of figures

I want to produce a figure caption like the following figure. So I use the following package in the article environment. \usepackage[format=plain,justification=raggedright,singlelinecheck=false,font=...
0
votes
0answers
160 views

Is there a reference/list of standard LaTeX terminology?

I'm writing a program to manipulate LaTeX and I'd like to have access to some standard terminology. For example, is there a standard name for a string of the form \abcd, or \textbf{...} vs {\bf ...} (...
1
vote
1answer
1k views

algorithm2e: How to customize caption of the “procedure” environment?

The procedure environment requires the caption to be in a very restricted form: "Name()". However, I would like to add more details like: "my awesome procedure $A = (para1, para2)$". How would I do ...
1
vote
1answer
827 views

Custom caption for tables in `beamer`

I’m using the caption package, to name tables in beamer. \caption{Name} automatically provides Table: Name output. I would like to change the word “Table” to a custom caption, but also to be able to ...
2
votes
1answer
580 views

How to change the endnote title from “Notes” to “Endnote”?

instead of using the title "Notes" in the endnote section, I'd like to use "Endnote". Do you know how to change the title? I'm using the following package: \usepackage{endnotes}
1
vote
1answer
676 views

Dots in filename, underscores in extension [closed]

I have the following svg I want to include, that I've nicely converted to a pdf following How to include SVG diagrams in LaTeX?. Now I want to include it in my document, however the document's name ...
0
votes
1answer
1k views

Change the bibliography name scrartcl class [duplicate]

I am writing a scrartcl document using \begin{thebibliography}. The title of the bibliography is displayed automatically and it is "References". Can I change it to "Biography"? I know that the ...
3
votes
1answer
454 views

How can I split Biblatex's \printbibliography over multiple pages, with different styles?

I am working on Latex document totalling 360 pages for group coursework at University. Part of the coursework, is that we have to have each of our names on each page, to which we contributed. I am ...
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 ...
2
votes
0answers
59 views

Changing Citation Abbreviation Language [duplicate]

I want to change in-text citation abbreviation. I mean, I want to use Turkish version of English abbreviation. I searched before I asked queation but I can not figure out. For example, Davidson ve ...
6
votes
1answer
289 views

How to make a package play well with others?

I have an ever growing preamble and it contains commands like \su and \so for the special unitary and special orthogonal group algebra, just \mathfrak{SU}. Then later I wanted to use the soul package ...
5
votes
2answers
898 views

Extra space after the figure or table caption

I want to change figures and table naming from Figure 1 to Figure S1 and analogously for tables. I tried to use: \captionsetup[figure]{name=Figure S} or \renewcommand{\figurename}{Figure S} but ...
4
votes
2answers
579 views

Changing Abstract name does not work

Here is my MWE: \documentclass[11pt]{article} \usepackage{fontspec,xgreek,polyglossia} \defaultfontfeatures{Mapping=tex-text} \setmainfont[Mapping=tex-text]{Liberation Serif} \setdefaultlanguage{...
3
votes
1answer
164 views

Can I configure or adapt ExSheets in order to distinguish “problems” from “exercises”, each type being independently counted?

For reasons that are beside the point, I want to have both exercises, Ex. 1.1, Ex. 1.2, Ex. 1.3, ..., and problems Prob. 1.1, Prob. 1.2, Prob. 1.3, ... Maybe also Example 1.1, Example 1.2, ... ...
1
vote
1answer
360 views

Layout isn't shown appropriately with Thai font

I tried using a simple book template on TexStudio with Thai font. The result isn't quite good. Please help. \documentclass[a4paper,12pt]{book} \usepackage[english,main=thai]{babel} \usepackage[utf8x]{...
5
votes
1answer
907 views

Change the name of sections [closed]

In the past I just used \newcommand{\sectionname}[1]{Task~#1} to make the sections have a different name. Now it seems to have stopped working. I am using babel with the ngerman option. I have ...
6
votes
2answers
119 views

Where is there a registry of intermediate TeX file extensions?

I'm just about to embark on a new package which will need to write a single temporary file (similar to .aux etc.). The temporary file is, in fact, a specialised bibliography, but I want to avoid ...
3
votes
1answer
683 views

Bibliography title

I can't change the "Bibliography" to "Βιβλιογραφία" \documentclass[11pt]{report} \usepackage[english,greek]{babel} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \addto\captionsngreek{\...
4
votes
2answers
128 views

Space in caption type name (algorithm)

To include code in my document I have following in my preamble: \usepackage[Code]{algorithm} \usepackage{listings} and following in the document body to display the actual code: begin{algorithm} \...
4
votes
2answers
443 views

varioref: change default “on the facing page” string

I would like to be able to change the varioref strings. In particular, the on the facing page one. It should not be a problem. The documentation clearly states various macros used, and I would think ...
6
votes
1answer
389 views

Tikz Intersecion doesn't recognize path named with name path

I have problems with using path names defined even in the same loop. the following code produces error message: ! Package tikz Error: I do not know the path named `ab6'. Perhaps you misspelt it. ...
5
votes
1answer
3k views

Adding chapter prefix for Appendix

I am working on a larger report and need help with chapter naming for the appendices. I want to add "Appendix" as a prefix to the chapter numbering for the appendices in my document in the actual text,...
1
vote
0answers
445 views

Change the word “Chapter” [closed]

I'm using the following code and the question is, how can I change the word "Chapter" for "Chapitre" (in French)? Thanks in advance!: \documentclass[ fontsize=12pt, ...

1 2 3 4 5