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
0 votes
0 answers
39 views

Renaming commands defined in sty files in the preamble

I want to introduce some command renaming. It is usually claimed that definitions are to be included in the preamble, with the document text put within the document body. What are the ...
  • 67
0 votes
1 answer
64 views

Change part numbers to words in arabic

In a similar manner shown in Change chapter numbers to words in Arabic How can I write "Part one" instead of "part 1" but in Arabic: Replace the word "part" with "...
  • 733
9 votes
2 answers
187 views

expl3 - rules for toplevel-macro's argument specifications if toplevel-macro of function doesn't process arguments but calls internal macros that do

The file expl3.pdf - "The expl3 package and LaTeX3 programming" explains how expl3 functions should be named, according to the scheme \⟨module⟩_⟨description⟩:⟨arg-spec⟩ or according to the ...
  • 24.5k
0 votes
0 answers
116 views

LaTeX naming conventions

I have been reading a lot of LaTeX source files recently and I noticed certain naming conventions like \label{fig:...} and \label{tab:...}. It this used as some kind of scoping to avoid namespace ...
  • 931
1 vote
0 answers
62 views

Naming conventions for private hooks in packages using lthooks

In some package, I use a lot of hooks (using the lthooks package) that are however not intended to be used as a hook by other packages / users. Only certain code makes sense there, and I use hooks ...
1 vote
0 answers
65 views

Names of the files using subfiles package

I was wondering if there is a way to include with the subfiles package, files (in a main tex file) that don't have english names, especially in my case greek, but generally in other languages? I have ...
4 votes
1 answer
82 views

how to add chapter name to number and title line in Appendices?

Consider test case: \documentclass{report} \usepackage[title,titletoc]{appendix} \usepackage{titlesec} \titleformat{\chapter}{\normalfont\LARGE\bfseries}{\thechapter}{10pt}{} \begin{document} \...
0 votes
1 answer
128 views

How to use several beamer (slide) templates in one document?

Maybe this is an obvious question, but I need some help defining slide templates. I would like to make my own beamer template and have the option to use several slide templates in one document. One of ...
3 votes
1 answer
111 views

What is a Mostly Complete Set of Naming Conventions for a File Referenced by Pdfpages?

QUESTION: I would like to know what are (or where I may find) a complete set of naming conventions for documents to be later referenced by pdfpages. That is, I would ensure LaTeX documents, such as \...
  • 5,839
0 votes
1 answer
95 views

Removing chapter titles but not the chapter number

Using \chapter{Title of Chapter X} I get the chapter number and then under it the tile at the beginning of every chapter: Chapter 1 Title of Chapter 1 Chapter 2 Title of Chapter 2 Chapter 3 Title of ...
0 votes
0 answers
38 views

How can I change PDF output name? [duplicate]

Question 1 How can we change the name of the generated pdf file, automatically on the main.tex file? Question 2 Is it possible not to change the generated files each time I change this name?
0 votes
1 answer
56 views

Change figurename inside \ContinuedFloat

I want to change the name inside a \ContinuedFloat. Example: \begin{figure}[] \centering% % ... \caption{Somecaption} % \end{figure} % \begin{figure}[]\ContinuedFloat %%%%% \let\...
3 votes
3 answers
644 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 ...
  • 328
2 votes
0 answers
91 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,579
1 vote
0 answers
54 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 ...
  • 2,575
10 votes
1 answer
251 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-...
3 votes
1 answer
179 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{\...
  • 119
1 vote
1 answer
195 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 ...
  • 733
1 vote
1 answer
75 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 ...
  • 1,393
3 votes
1 answer
84 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 ...
  • 13k
17 votes
2 answers
442 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
0 answers
125 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" ...
  • 1
0 votes
1 answer
50 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
2 answers
158 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{...
  • 165
2 votes
2 answers
425 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
1 answer
172 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
3 answers
338 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 ...
  • 3
0 votes
1 answer
222 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)...
  • 3
3 votes
2 answers
4k 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
1 answer
1k 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}%[...
  • 21
1 vote
0 answers
63 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
1 answer
75 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
1 answer
71 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....
  • 1,268
2 votes
0 answers
132 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}{% \...
  • 21
4 votes
1 answer
792 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
0 answers
283 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
0 answers
243 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, ...
  • 85
3 votes
1 answer
2k 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 "...
  • 243
1 vote
0 answers
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 ...
  • 981
1 vote
1 answer
934 views

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

Can I change "Chapter" with "Year"?
  • 1,011
7 votes
2 answers
9k 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 ...
  • 276
3 votes
1 answer
3k 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
0 answers
170 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 ...} (...
3 votes
1 answer
2k 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,035
1 vote
1 answer
1k 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 ...
  • 918
2 votes
1 answer
925 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
1 answer
943 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 ...
  • 111
0 votes
1 answer
2k 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
3 votes
1 answer
1k 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 ...
11 votes
4 answers
2k 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 ...
  • 215

1
2 3 4 5