Questions tagged [alias]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
62 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
1answer
48 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
1answer
39 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
1answer
162 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
2answers
227 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
3answers
1k 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
1answer
136 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
1answer
119 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 ...
6
votes
1answer
341 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
1answer
112 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
0answers
115 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
1answer
47 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
1answer
363 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 ...
7
votes
2answers
5k 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, ...
2
votes
1answer
2k 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 ...
5
votes
1answer
2k 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 \...
31
votes
3answers
3k 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 ...
33
votes
2answers
4k 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
1answer
722 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 ...