Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [definition]

The tag has no usage guidance.

0
votes
0answers
44 views

What does \fi means? [duplicate]

I want to know the meaning of \fi in LaTeX. I don't understand the use. And don't find an easy definition online.
0
votes
0answers
21 views

New command and catcode [duplicate]

I have a command that may contain the ampersand charater: &. Sometimes, when I use this command, I want that ampersand interpreted as a space. This is why I wanted to use the TeX command \catcode. ...
0
votes
0answers
24 views

mapsto and function definition / definition environment

Ok, these are 2 questions in one, but they are different. I am trying to define a function f mapping from X to Y. So what i am doing is: open the equation environment and writing: $f:X{\rightarrow}Y$....
0
votes
0answers
39 views

File ended while scanning definition of \LT@ii

I'm having some real trouble compiling thesis. I'm very confused as yesterday my document would compile fine, however today (having not touched the document) this error message has appeared and I can'...
0
votes
0answers
22 views

Repeating Definitions

I'm using the following to create a new definition. \documentclass{article} \usepackage{amsthm} \theoremstyle{definition} \newtheorem{definition}{Definition}[section] \begin{document} \begin{...
5
votes
2answers
104 views

Including default parameter into \def

I'm using the classic thesis style with the \graffito command (example here). How can I modify the command below to add some vertical spacing before the text which is set to a standard value by ...
1
vote
1answer
83 views

clean up definition file

I've got a problem with my custom definitions-file. The file has hundreds of command definitions (with \newcommand or \renewcommand; mainly shortcuts for mathematical terms, programm names,...). I ...
3
votes
3answers
70 views

what .bib files do for bibtex, is there something for \href?

I wasn't even sure how to formulate this question, nor the appropriate tags, so there may be some editing or even deletion if this is a stupid question... But I think it is a feature that people would ...
1
vote
2answers
56 views

Conflict with \fi in figure captions

I have the following preamble: \documentclass[11pt]{book} % PACKAGES % graphics packages \usepackage{graphics} \usepackage[pdftex]{graphicx} % negative phantoms (\nphantom, \nhphantom, \...
4
votes
2answers
143 views

Define macro as wrapper for parameters of a command

I'm trying to define a macro that is a little wrapper to a common parameter of a command. The macro is expanded, but the parameter is not taken into account by the command. The macro, \sp is used ...
1
vote
1answer
22 views

Problem inserting data in table using multiple files with catchfile

I have multiple data from different files that I want to use in the body of tabular environment. I saw a solution here, but the method only works for one such file only. If the following was done \...
0
votes
1answer
75 views

Command with or without parameter

How to define a command \def\hello{Hello world!} that can be called with no parameter: \hello or with a parameter: \hello{3} but that won't be displayed anyway (3 shouldn't be displayed, it's ...
2
votes
1answer
58 views

Include a graphics but without modifying the layout (i.e. add an image behind text)

I'd like to define a command \mark that would add an image mark.png : on the same vertical coordinate than the current text at 1cm from left border without modifying the layout, i.e. if I remove this ...
1
vote
1answer
227 views

What is the difference between \leftmark and \rightmark in fancyhdr?

I am having a hard time trying to figure out the difference between \leftmark and \rightmark in fancyhdr. At page 8 of the documentation, it says The \leftmark contains the Left argument of the ...
3
votes
1answer
166 views

How to make a definition list in TeX

I want to make a list similar to the following in HTML, but in LaTeX: <dl><dt>Foo</dt> <dd>Bar</dd> <dd>Baz</dd> <dt>Things I do</dt> <dd>...
1
vote
1answer
48 views

How to link to the references in the definition?

I want to add a link to the definition to a research from where I have took the definition. I have tried but it is not working. \documentclass[parskip=full, 12pt]{article} \newtheorem{theorem}{...
1
vote
2answers
54 views

Pass rest of group as argument? [duplicate]

Is it possible to write a macro, that takes the rest of the current group as an argument? Usecase I want to write a macro that can be used as \section{\TODO Introduction $of$ \textsc{The Topic}} ...
1
vote
1answer
57 views

Where is the error in this definition?

I wanted to ask if you could tell me why the formula in the comment area doesn't work in the {defn} area without '%'. \begin{defn} Let $n \times n$ \emph{Hessenberg-Matrix} $\pmb{H}_n$ with ...
1
vote
2answers
126 views

Adding Overhang to Theorems

I am new to LaTeX, so I apologise if this question seems too simple to you. I am currently trying to write a paper and I would like to add an overhang to Theorems and Definitions (like the picture ...
0
votes
2answers
47 views

How to redefine a command to contain itself in it by maintaining it's syntax unchanged

I need to use the \ae command inside an equation as a variable, in order to put it in a math environment though I'm forced to use \textit{\ae}. Is there a way to just write \ae in the math ...
3
votes
1answer
91 views

Adding a custom title for each definition

I'm currently writing a thesis and would like to format my definitions nicely. This question helped me creating a nice layout for my definitions. The following code \documentclass{book} \usepackage[...
2
votes
1answer
31 views

Definition with word to be defined instead of counter

I know the title is a bit weird but I'll try to explain it in a better way here. In the beginning of a chapter I'd like to define some basic terms. Currently I'm using \newmdtheoremenv{mydef}{...
1
vote
1answer
56 views

How to make () become [] in the environments of theorem, definition and example in beamer?

A MNW is as follows: \documentclass[notheorems]{ctexbeamer} \usetheme{Antibes} \usepackage{amsmath,amsfonts,amssymb,comment} \theoremstyle{theorem} \newtheorem{theorem}{定理} \newtheorem{lemma}[theorem]...