Questions tagged [alias]
The alias tag has no usage guidance.
24
questions
0
votes
0
answers
32
views
A cross-reference's name expands to the correct string when the document's language is Hebrew, but not when it is English
The following code was saved in ~/Test.tex.
\documentclass{article}
\usepackage[bidi=basic,hebrew,provide=*]{babel}
\babelfont{rm}[Renderer=HarfBuzz]{FreeSerif}
\usepackage{amsmath}
\usepackage{...
0
votes
2
answers
56
views
An equation-like environment shows the inequality number on the wrong side of the page when the document's language is Hebrew
The following LaTeX code was saved in ~/Test.tex.
\documentclass{article}
%\usepackage[bidi=basic,hebrew,provide=*]{babel}
%\babelfont{rm}[Renderer=HarfBuzz]{FreeSans}
\usepackage{amsmath}
\...
1
vote
1
answer
43
views
How to implement cleveref`s aliascnt method for theorem-like environments?
This answer demonstrates how to use the aliascnt method to create an ineq environment which shares a counter with the equation environment, but which cleveref can nevertheless recognize as a different ...
1
vote
0
answers
89
views
How to make \includegraphics actually execute \includesvg
I have a very special problem: the Tikz output from matchcha.io uses \includegraphics to include .svg images, but it seems that you need to use \includesvg to do this.
E.g., a line in my Tikz drawing ...
2
votes
1
answer
199
views
How to create an alias of Cyrillic character with leading backslash?
RUN: xelatex book.tex
\documentclass[a5paper,12pt]{book}
\usepackage[X2,T2A,OT2]{fontenc}
\usepackage[english,russian]{babel}
\usepackage{marvosym}
\usepackage{fontspec}
\usepackage{xunicode,xltxtra,...
1
vote
1
answer
99
views
writing functions and wrapping commands for abstraction
Can i write a little function (or macro or whatever) that wraps two commands (functions?) into one; united under a single alias?
Specifically I want to wrap \input{} and \includegraphics{} into a ...
1
vote
1
answer
648
views
Citation Alias within Full Citation
I have a reference in one of my papers which I cite several times. So I abbreviate it after full citation the first time round and then I use the abbreviated version of the citation in rest of the ...
1
vote
1
answer
283
views
Swap many pair of command names in a row
I've learnt from this post how to swap two commands using the let primitive:
\let\temp\first
\let\first\second
\let\second\temp
\let\temp\undefined
Now, in order not to flood my preamble with this ...
2
votes
1
answer
384
views
Putting Alias in ~/Library/texmf/bibtex/bib/local using terminal vs "Option-Command drag"?
Brief overview: I know of two methods to make an alias in mac. One is by dragging holding Command-Option, the other is via terminal. I am putting an alias in my texmf folder, but with one method the ...
1
vote
2
answers
841
views
Alias for a notion/term
I write my thesis in my native language and at the moment I don't know how to translate a specific term the best. I use the term pretty often and would like to make an alias at the moment and do the ...
13
votes
3
answers
2k
views
What is the best way to save values (like strings) for later use?
I'm fairly new to LaTeX and I'm struggling with something apparently simple, but for which I can't find a fair solution.
The problem (simplified) is as follows (please take care terms used may not ...
3
votes
1
answer
413
views
biblatex author aliases for sources in another script
I'm trying to figure out the best way to manually provide a transcription/transliteration of author names by way of an additional field in the biliography entry using biblatex. Take for example the ...
0
votes
1
answer
177
views
TeXStudio Command Completion / Validity - \let aliases not working
One of my frustrations with TXS is when I use the package glossaries, for example, it autocompletes properly to \acrfull but not \ac. I dug through the code in the .dtx file and found that \ac is ...
8
votes
1
answer
850
views
cleveref and aliascnt: referring to subequations and inequalities in a smart way
Preliminary Remark:
A document may contain labels referring to equations and subequations, respectively. Moreover, some of the equations may actually represent inequalities. When using the cleveref ...
1
vote
1
answer
151
views
"There's no central alias file bibalias.cfg?"
I'm using the bibalias.sty package (enabling easy definition of bibliography key aliases in .bib files rather than in your document.)
When I compile my document, I get the following warning:
...
3
votes
0
answers
131
views
Aliasing a variable argument command into tabular environment [closed]
I am making a multi-language document. With the big help of Mr. Steven B. Segletes, I am able to deal with several languages mixed document, which can only output in wanted one or several laguages. ...
0
votes
1
answer
67
views
How to deal with theorem vs thm mismatch
I often find that I want to include a LaTeX file that has uses the
environment theorem defined, but my document class has instead defined environment thm, so I get errors like Environment theorem not ...
0
votes
1
answer
678
views
How to redefine the key of a bibliography entry?
I've posed a similar question but it has received no answer, so i'll try with a different specification.
We are manually defining the order of the bibliography and we want this custom order to be ...
9
votes
2
answers
14k
views
Making aliases for variables
I'm trying to figure out how best to define an alias. I have some moderately complicated variable names, such as $p^{i,j}_{t}$, and having to type them over and over again is a pain. More importantly, ...
4
votes
1
answer
3k
views
glossaries alternative text
\documentclass{article}
\usepackage{hyperref}
\usepackage{glossaries}
\newglossaryentry{solve}{name={solve},description={to find an answer}}
\makeglossary
\begin{document}
You can \gls{solve} an ...
6
votes
1
answer
3k
views
Using different aliases for textual and parenthetical citations in natbib
I need to define distinct aliases in textual and parenthetical citations for the same reference. For example, I would like \citetalias{Miller2012} to result in "Miller et al. [2012, Paper 1]", while \...
38
votes
3
answers
6k
views
Having several keys refer to the same bibliography entry
Is it possible to have several keys referring to the same bibliography entry (using biblatex+Biber)?
For example, I'd like \cite{Tolkien:1954:LordOfTheRings} and \cite{lotr} to have exactly the same ...
42
votes
2
answers
6k
views
Can I alias a color?
I would like to define some colors and then define some aliases to them. For instance, if I define the following color:
\definecolor{MyColorA}{rgb}{0.1,0.2,0.3}
and then want to define an alias "...
2
votes
1
answer
972
views
Using aliases with BibTeX in the list of references
I have a frequently-cited paper in a manuscript, and I want to refer to it as "Paper I" in the text, which I can do with \defcitealias in natbib. However, I want also the acronym "Paper I" to be ...