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
0answers
28 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
0answers
35 views

Changing the caption label format corrupts subfloat labeling

From this answer, I got this example code (slightly modified) to modify the label of a \ContinuedFloat to begin with "Cont.": \documentclass{article} \usepackage{subfig} % offers \...
0
votes
1answer
36 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
3answers
433 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 ...
2
votes
0answers
84 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 ? ...
1
vote
0answers
50 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
204 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
1answer
101 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
144 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
54 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
71 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
412 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
83 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
46 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
119 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
160 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
115 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
278 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
169 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)...
1
vote
2answers
3k 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
813 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
60 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
57 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
68 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
91 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
739 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
256 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
179 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, ...
2
votes
1answer
1k 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
720 views

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

Can I change "Chapter" with "Year"?
5
votes
2answers
7k 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
2k 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
168 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
1answer
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
vote
1answer
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 ...
2
votes
1answer
798 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
851 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
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
votes
1answer
763 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
66 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
293 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
1k 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
715 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
180 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
497 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
2k 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
122 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
703 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{\...

1
2 3 4 5