Stack Exchange Network

Stack Exchange network consists of 174 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.

5
votes
2answers
93 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
67 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
56 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
42 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
126 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
17 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
41 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
54 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
122 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 ...
0
votes
0answers
39 views

Omitting zeroes in definition/theorem numbers etc

I'm using the article class for my document. I So if I put a definition in the 'introductory' bit of say, section 2, then it gets numbered as 'definition 2.0.1'. I'd like it to be numbered as '2.1',...
3
votes
1answer
116 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
41 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
53 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
53 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
116 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
46 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
68 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[...
1
vote
1answer
28 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]...