5
votes
2answers
34 views

Is there a way to use #.# style for theorems and definitions, but #.#.# for associated examples?

EDIT: Question solved. Answer below. I would like to be able to do this sort of thing with my examples: 1 Mathematical Logic Theorem 1.1 blahblah Definition 1.2 blahblah Theorem 1.3 blahblah ...
2
votes
1answer
48 views

Referring to one's own examples

I have created numbered examples to illustrate concepts in my project. I have used this \newtheorem{exmp}{Example}[section] thus far. Is there a way I can refer to them so they appear as {Ex 2.1} ...
1
vote
0answers
67 views

example numbering in lyx branches

I have branches in a lyx file in which there are external files. These files are (lesson1, lesson2 etc) and they have examples and exercises in them. The examples are not being numbered unlike ...
5
votes
3answers
154 views

Example Numbers with Labels

I have, in my article, some examples that look like this: \begin{center} Lorem ipsum dolor sit amet, consetetur \\ \emph{sadipscing elitr, sed diam nonumy eirmod tempor invidunt} \\ \emph{ut ...
2
votes
1answer
382 views

Example environment with numbering, caption, “verbatim” content

I need to use an example environment like the following. \begin{example}[My Caption, mylabel] My example text \end{example} It should show the text inside a verbatim environment, the caption (like ...
9
votes
2answers
315 views

Section based linguistic example numbering with brackets

I would like to have examples in my document look like this: Section 2 (2.1) This is an example. This is a reference to example (2.1). That is: the section number appears both next ...
5
votes
3answers
2k views

Example box with automatic numbering?

Working with LaTeX, I was just wondering how do you create a box around a set of related text such as an example in a textbook? I found \framebox or \makebox, but I can't figure out how to make it ...