The tag has no usage guidance.

learn more… | top users | synonyms (1)

9
votes
2answers
414 views

How can I make a “fake” subsection number?

I'm writing a LaTeX document which includes examples of how to structure another LaTeX document. However, I can't figure out a way to make it so that there's a subsection in the example that is a) not ...
0
votes
0answers
13 views

Insert example figure [duplicate]

How can one insert an example figure to the document using includegraphics? I mean for the situation where one wants to show the graphics without having any actual image.
4
votes
2answers
369 views

How can I write like this example and boxs in latex

How can I write like this example and boxs in latex thanks very much
35
votes
3answers
44k 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?
0
votes
1answer
30 views

The problem with box at the end of example

I have to be at the end of each example, sign the box. However, in various situations, it appears in some other places. I would like that it was always in the same place. I wish that was on the right ...
2
votes
2answers
51 views

Moving number labelling on forest linguistics diagrams

I'm using the forest package for some linguistics diagrams at the moment and I need to number them. However, the label for the numbering is aligned with the bottom of the digram when I want to have it ...
586
votes
74answers
134k views

Showcase of beautiful typography done in TeX & friends

If you were asked to show examples of beautifully typeset documents in TeX & friends, what would you suggest? Preferably documents available online (I'm aware I could go to a bookstore and find ...
1
vote
1answer
34 views

Should an example from the Arabi manual compile?

I tried to compile the figure 7.3 from the Arabi user-guide.pdf version 1.1 from december 16, 2006. It didnot compile instantly I had to make changes to the copy from the pdf. The problem were the ...
22
votes
8answers
2k views

Showcase of “programming your document” paradigm

A feature of latex is that you can "program your document". You can do this by using TeX/LaTeX directly (remember that it is Turing complete) or by other languages like lua or python (especially sage) ...
3
votes
1answer
36 views

Justify left and right inside example environment

I use the "Numbered Examples (multiline)" environment in a LyX document (class : Book (Standard Class)). The text is not fully justified (it is not right justified) in the examples. Is there a way to ...
0
votes
0answers
42 views

res – A resumé class - Examples

I'm working on my resume (CV) and I would like to use the res documentclass. However, I can not find any document about this class and how to use it even on the CTAN website. Could you please help me ...
2
votes
2answers
45 views

Use \newtheoremstyle to define a custom example environment

I am trying to define a custom example environment for my thesis, but with my limited knowledge of LaTeX I am not able to figure this out from the amsthm documentation. Here is a minimum working ...
5
votes
1answer
128 views

Code example, as in the TikZ/PGF manual, but extending to the width of the page

I am preparing a second "edition" of my minimal guide to TikZ and would like to have more professional looking presentation for the example. Thanks to Thomas F. Strun this is for the most part easy - ...
4
votes
1answer
102 views

Robust commands

What is the primary reason to \protect new definitions or macros, or use \DeclareRobustCommand rather than just \def? (Assuming one does not redefine things by accident.) If it is primarily to do with ...
0
votes
0answers
40 views

Figures and examples with independent numbering

My teacher wants us to use Examples for citations from the text/scores (I'm studying music) and Figures for our own conclusions about it with independent numberings. Is it possible to do? Cheers, ...
2
votes
2answers
57 views

Quote area including a left bar

Finally, I managed to create a own quote style with that: \usepackage[most]{tcolorbox} \definecolor{block-gray}{gray}{0.95} \def\signed #1{{\leavevmode\unskip\nobreak\hfil\penalty50\hskip2em \...
3
votes
2answers
50 views

Example Environment with two boxes

I am trying to get my "example" environment to look this: with the two boxes before the word "Example". Can you help me get this effect? Here is some code: \documentclass[11pt,fleqn,table]{book} ...
6
votes
1answer
1k 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 ...
12
votes
2answers
628 views

How to use showexpl with an external class?

The showexpl package defines LTXexample environment which allows to define a latex code and shows its result side by side. The problem is that it uses the same document class where the LaTeX code is ...
61
votes
5answers
8k 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, ...
22
votes
5answers
1k views

Showcase of beautiful invitations in TeX

I'm interested in using TeX and friends to produce beautifully typeset invitations (for parties, weddings, and especially thesis defences). I understand that there is a package gcard for making ...
14
votes
5answers
4k views

Table with rounded corners?

This table I can create with this code: \begin{tabular}{|l|l|} \hline \multicolumn{2}{|c|}{Team sheet} \\ \hline GK & Paul Robinson \\ LB & Lucus Radebe \\ DC & Michael ...
1
vote
0answers
39 views

A library of common algorithms? [closed]

Is there a latex package, or other resource, which provides a library of common algorithms? The LaTeX wikibook discusses 4 different algorithm typesetting packages for LaTeX; but I'm not fussy as to ...
1
vote
1answer
33 views

Why is example number not shown automatically according to Chapter number?

I used \begin{example} to create examples. And it produce Example. But it did not show any example no. When I set counter it shows no. for eg: Example. 13. Can example no. comes automatically ...
0
votes
0answers
43 views

How do I get warning when a label is not defined but we are refering?

I am writing a lecture notes for M.Sc Students... The first chapter was prepared some months ago and I forgot that the places that I have referred a particular example/exercise given in the first ...
4
votes
1answer
139 views

Examples of HTML documentation produced with LaTeX

I am considering writing some software documentation in LaTeX to compile to HTML. I know this is possible with at least two tools (htlatex, latex2html) but have not seen any examples of their output. ...
2
votes
1answer
33 views

Fraction in first line of Example overlaps onto Example header

I'm writing an example where the question says to find what the Legendre symbol of a few numbers are equal to. The theorem style I'm using is 'nonumberbreak' as I like to have my examples start on ...
2
votes
1answer
25 views

Problem in the definition of a different layout style for the examples in a document

I'm writing a document in which I defined a structure for the example in order to automatically enumerate them. This is my code: \documentclass[tikz,border=10pt]{standalone} \usepackage{amsmath} \...
2
votes
1answer
796 views

Beamerposter Example

To help them get started on their own presentations, I'd like to give my students the tex file for an attractive poster presentation using the beamerposter package. Unfortunately, the example that ...
35
votes
1answer
4k 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 ...
5
votes
1answer
301 views

Showcase of beautiful section styles combinations

Working with all kinds books, I often need inspiration for a set of sectioning styles that are coherent, logical and aesthetically appealing. Well-known examples include Edward Tufte and the style ...
0
votes
1answer
82 views

how to create a list for mdframed example boxs

So i found the question Make an Example and shaded box like in the book which fitted to my desires. I modified the box and counter so it fits to my whishes. (first number is the chapter second number ...
2
votes
0answers
274 views

Examples of technical (or science in general) magazines using LaTeX

I have been looking for resources related to (beautifully) typesetting technical and science magazines with LaTeX. I am aware of the Showcase of beautiful typography done in TeX & friends question ...
3
votes
1answer
232 views

Why doesn't this example from the pgfplots manual compile?

I copied this example from page 134 of the pgfplots manual (version 1.12.1): \documentclass{article} \usepackage{pgfplots} \pgfplotsset{width=7cm,compat=1.12} \usepgfplotslibrary{patchplots} \begin{...
1
vote
1answer
357 views

Shared legend below a group of horizontally aligned figures in pgfplots [duplicate]

How should I run the following example code using /pgfplots/legend to name={<name>} to put a shared legend below a group of horizontally aligned figures? The example code using /pgfplots/...
1
vote
1answer
83 views

Example Environment Indented

I am trying to use an "example environment" defined using the mdframed package as follows (taken from another answer here on StackExchange): \newmdtheoremenv[ hidealllines=true, leftline=true, ...
5
votes
0answers
992 views

CV with Latex: is a beautiful design really possible? [closed]

I make my CV with Latex and a french sty file for years now, nothing fancy to be honest. Looking for some inspiration, I found some astonishing examples of CV online, and I've seen on the other ...
1
vote
1answer
121 views

How to use pstricks with expex to draw arrows in examples?

I'm using the expex package to write examples (in linguistics articles). This package, according to the documentation, allows one to draw arrows (to represent movement in syntax). There is a section ...
177
votes
24answers
9k 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. ...
1
vote
1answer
193 views

An example about diagrams and graphs with Tikz on manual V2.10 Page 70 fails [closed]

My question is that I cannot compile the codes provided on page 70 in the TikZ Manual V2.10. I just add some packages but it cannot compile. Can anybody help? My codes are shown as below: \...
2
votes
0answers
145 views

Showcase of surprising possibilities with TeX [duplicate]

LaTeX is more or less built to typeset books, particularly (but not exclusively) scientific literature. It is less obvious that LaTeX is also extremely good at producing Songbooks Play scripts Chess ...
0
votes
0answers
29 views

Two columns template [duplicate]

I have a question regarding to two columns format. I want to use the following document in paper. While I want to write a multiline formula it goes to the next column and change everything to a messy ...
3
votes
0answers
109 views

Covington Examples Sub-list not lining up

I'm trying to use Covington to generate my examples for my thesis, but anywhere I have sub-examples, the (a) and (b) examples don't line up. Here is my code: (edited to show min working example, as ...
5
votes
1answer
344 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} \lipsum[3-...
13
votes
1answer
339 views

Comparison of LaTeX example typesetting packages?

I am writing a (longer) text on LaTeX usage, and I want to typeset some LaTeX source code together with its results – and I'm not sure how to achieve it. I am aware of this question, however, it only ...
1
vote
0answers
29 views

Create list of examples [duplicate]

I used the amsthm-package to define definitions, theorems and lemmas. Besides, I defined examples as follows: \newtheoremstyle{examplestyle} {2pt} {2pt} {} {} {\bfseries} {:} {3pt} {} \theoremstyle{...
4
votes
1answer
261 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 ...
4
votes
2answers
258 views

“The LaTeX Companion” example environment

I'm a new LaTeX learner. Is there anybody who knows "Example environment" in "The LaTeX Companion" book? Thanks in advance.
1
vote
1answer
787 views

A beamer fade out-fade in effect?

In some of my slides, especially the technical ones, I would like to keep the bottom of the previous slide, preferably somewhat faded, as the bottom of the next slide as I start introducing new ...
9
votes
3answers
1k 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 ...