The tag has no wiki summary.

learn more… | top users | synonyms (1)

6
votes
1answer
57 views

How can I use the lstsample environment (lstdoc package) in article?

I would like to try the lstsample environment from the lstdoc package, distributed with the listings package. For that I have written the following document: \documentclass{article} ...
4
votes
1answer
35 views

Prevent page break after first line of example

I would like to find a way to prevent a page break between the first line of the example in following code. \documentclass{article} \usepackage{lipsum} \usepackage{gb4e} \begin{document} ...
3
votes
0answers
174 views

Newsletter latex template or example

I thought I had a bright idea when I decided I would write a monthly newsletter in latex. I use org-mode and emacs as my personal information management system, so it is easy for me to generate latex ...
1
vote
1answer
36 views

How to I get linguex to give me (i)-numbered footnotes when using endnotes?

I need to convert all footnotes to endnotes, but I want numbered examples internal to the notes to be numbered with lowercase roman numerals, as is standard with linguex footnotes. The linguex ...
4
votes
2answers
102 views

How can make a running example in LaTeX [closed]

I want a continues example where the same number is used for the example in different sections. Is it possible for LaTeX not to increase the counters for the examples? Regards minimum working code: ...
2
votes
0answers
73 views

aboveglftskip in expex linguistic glosses

First of all I am not an expert in using LaTeX, I just started a few months back. I am using MiKTeX with the expex package for glossed linguistic examples. If we take a look at a glossed example, we ...
2
votes
2answers
93 views

Example title in outer margins

If I have large outer margins (even and odd pages) how I can put Example (and Solution) in both pages in the outer margins?
8
votes
1answer
235 views

How I can customize fbox and hrule?

I want to customization a sample exercises for a book. I like so much this style: I think that is possible with fbox and hrule, but I don't know how I can do it. No need to use fbox and hrule if ...
7
votes
1answer
326 views

Fonts for Mathematics and Text

Are there some examples of long, real-world documents showing the variety of text and mathematical fonts now available? With unicode-math there are now many more fonts for text and mathematics, both ...
5
votes
2answers
172 views

Example environment

I want an example environement that put Example 1.2 in the margin (bold) Text of example in the textwidth, Solution in the margin (italics) and the text of solution in the text width.
114
votes
11answers
4k views

Showcase TeX Typography for TUG's Calendar

I'm making a calendar. The calendar will be for TUG, 2015. Last year I also made a calendar but because of time constraints most examples were graphics. Since this is a lot of work, I need your help. ...
5
votes
1answer
261 views

Repository of LaTeX Feynman diagram templates with pictures

I have over the last few years drawn a lot of Feynman diagrams in LaTeX with Feynmf and mpost. The results are nice, but time-consuming! For non-physicists, a Feynman diagram is an image made of lines ...
3
votes
3answers
272 views

What was your very first complete document done with TeX/LaTeX & friends? [closed]

Recently I looked up my first ever document done with LaTeX, and as strange and crazy as it may seems, it was my first thesis (wrote in only two weeks). It all turned out well as I did a very good ...
0
votes
1answer
97 views

Example end mark fill

does anyone know how I could add fill to this end mark? It's currently a white box with a green border. I've bolded the part of the code where the problem is. \input{setup} \begin{document} ...
2
votes
0answers
848 views

GIF/SWF animation embedded in LaTeX document (PDF) [duplicate]

There seem to be plenty of resources for how to do it (even on this website), but I'm struggling with the process. Can someone provide a link to an example pdf with the working animations in it? The ...
4
votes
1answer
128 views

Changing font size in an example environment

I'm new at LaTeX and I've been reading many questions-answers, but I still can't find something that works for what I need. I'm using the covington package because I'm working with gloss. So, this is ...
5
votes
3answers
536 views

Continuing example Counters in Beamer

I wonder how to get automated continuing example counters in Beamer. Below is my MWE. Thanks for your help. \documentclass{beamer} \usetheme{Warsaw} \setbeamertemplate{theorem}[ams style] ...
2
votes
1answer
208 views

Example autonumbering in LyX

Please take a look at this: **1.1 Section 1.1** **1.1.1 Subsection 1.1.1** **1.2 Section 1.1** **1.2.1 Subsection 1.2.1** **Example 1.2.1** wqeadswqedsa **Example 1.2.2** sdaxzsad ...
5
votes
2answers
67 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
69 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} ...
0
votes
0answers
35 views

How make a class or package? [duplicate]

I want to make a class or package but i don't have example class or package Would you help me and give a example document (*.cls) or package(.*sty) ?
13
votes
1answer
372 views

Why is TeXample.net TikZ-specific?

Link: http://www.texample.net/ I'm reluctant to ask this here, since it is not about TeX. However, I consider it a very useful tool when I need it, and it's a wonderful idea, I just wish it were ...
37
votes
1answer
3k views

Beautiful presentations done with TeX and related systems

I recently had to persuade a fellow student that you can create beautiful presentations with LaTeX and beamer. Luckily, I already had some examples. But I'm sure that there are better presentations, ...
2
votes
1answer
241 views

Is there any Word/Writer - LaTeX demonstration document available?

I often hear how better the LaTeX is but the comparisons I have found, did not persuade me. Is there something like "showcase document" containing different kind of formatting, formulas etc. available ...
16
votes
2answers
804 views

A special example environment

How can I define an environment named "example" so that: can be broken over pages has a horizontal line above "Example \chap.\no" (e.g. Example 4.10), and vertical line that is spread to the whole ...
7
votes
1answer
727 views

define a new Example environment

how can i define a new Example environment like the image shown in the following? this environment should have the following attributes: endmarks must be positioned at the last line, whether it ...
0
votes
1answer
205 views

How to prevent pagebreaking before example environment?

In my document, the page happens to break right after the line that introduces an example environment: \documentclass{article} \usepackage{gb4e} \begin{document} \noindent Here are my results: ...
3
votes
1answer
258 views

Example figure placement

I am using the following code in an example file. \documentclass{book} \usepackage{graphicx} \usepackage{lipsum} \begin{document} \lipsum[1] \begin{figure}[h] ...
7
votes
1answer
361 views

defining a new breakable colored environment for examples

I want to define a new colored environment for my examples. There is two title bars at top of this environment, side by side. One is filled by green color and there is a word "Example" in it. Another ...
1
vote
1answer
203 views

Compiling a PDF with examples of a longer LaTeX document

In my LaTeX documents I tend to use a huge number of examples based on \usepackage{gb4e} (\begin{exe} \ex bla bla bla \end{exe}). I would like to compile a PDF file that lists all the examples in a ...
5
votes
3answers
179 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 ...
3
votes
1answer
430 views

A simple tree for a website structure?

I would create a simple picture of a small websitestructure and i found these nice example http://www.texample.net/tikz/examples/family-tree/. But I would change some things and I don't know if it is ...
2
votes
1answer
844 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 ...
2
votes
1answer
2k views

End Mark for Examples, Definitions and Theorems in LyX

I'm using LyX and want to have an end mark for examples, definitions and theorems within chapters like this: Theorem 1.1 Statement...... Definition 1.1 Statement...... Example 1.1 ...
10
votes
2answers
524 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 ...
9
votes
2answers
751 views

What are some good examples of LaTeX Cayley diagrams?

I'm looking for some good examples of LaTeX code used to generate basic Cayley diagrams like this one: Ideally, I'd like for the examples to make it fairly clear how to modify or remove various ...
10
votes
1answer
377 views

Where to find the source code to the ConTeXt manuals?

Quite a number of helpful manuals can be found at the Web page of PRAGMA ADE. Some have some very interesting designs. I wonder, is there a place to download the source code for some or all of these ...
12
votes
4answers
1k views

Is there an equivalent of lipsum for shorter sections of text?

The sections of text generated by lipsum are generally several lines long. Is there a simple way to generate shorter segments of random (generic) text (other than typing it, of course)?
1
vote
2answers
15k views

Bibliography menu of TeXmaker

I am using TeXmaker on windows 7 (if this matters). I would like to know how to add bibliography (under the title, References) to a letter. (I created this letter using the default template ...
41
votes
2answers
2k views

Why should the minimal class be avoided?

In a comment to my answer to Drawing a rectangle along the border of a circle, Peter Grill said that he read that the minimal class should not be used for a Minimal Working Example. I wonder why, and ...
3
votes
1answer
154 views

How to view details in the PRAGMA showcase?

The PRAGMA Web site has a link to a showcase. However, when I open this PDF, it shows just 2 pages with a black menu. It must contain links to other documents, but it does not work. I have tried ...
2
votes
2answers
761 views

Source code for examples in TikZ/PGF manual

I am starting to learn TikZ. I was wondering if the source code for all examples in the TikZ manual (2.10 version) is available somewhere for download?
22
votes
1answer
1k views

Resources for designing a table of contents

What various packages, example code, or examples of existing documents with available source code are available to assist one in: Changing the style and formating of a table of contents? Building a ...
14
votes
4answers
4k views

Make an Example and shaded box like in the book

I want to make Examples in the book as in the following book http://www.analogmachine.org/Books/Chapter1.pdf See Page 2... Also shaded box as in the page 3... Pictures can be seen below. ...
22
votes
4answers
1k views

Anti-LaTeX…in LaTeX

LaTeX makes things more legible by following certain rules, and there is a strong emphasis among LaTeX users on obeying typographical conventions to make things more legible. What happens when we ...
2
votes
2answers
368 views

What documentation on octavo is available?

Compared with other document classes, the documentation supplied with octavo on CTAN is very short. Does this documentation really provide the list of custom options and special commands used with ...
3
votes
2answers
502 views

How was this TeX showcase ConTeXt book made?

I found a very interesting book design in the TeX showcase (pp.pdf/pp.tex): http://www.tug.org/texshowcase/ Does the source really have enough information inside to produce such nice formating? Can ...
13
votes
2answers
17k views

Example environment?

I was wondering if there is any formal environment for specifying 'examples' through out the text. If not, which environments do you recommend?
7
votes
4answers
680 views

Representing linguistic text annotations in LaTeX

I'm writing a document describing the semantics of opinion phrases in English, and in order to do so, I'm annotating particular spans of text as having particular semantic functions within the ...
2
votes
2answers
201 views

How can i pull an example out of a dtx file?

The central question is how can i convert a part of a dtx file to straight LaTeX. In learning more about a package, I want to play with an example from a dtx? The output shows up in the pdf. The ...