Questions tagged [examples]
The examples tag has no usage guidance.
207
questions
1
vote
1
answer
24
views
Custom numbering for `example` and `solution` environments in Beamer that resets with each example
I'm currently using the Beamer document class to create presentations and have defined two custom environments, example and solution, for my slides. However, the default numbering scheme is not what I ...
0
votes
1
answer
39
views
how to minimize the space between two side-by-side examples?
For the following two examples, I would like to first reduce spaces between a/b and examples, and then make the two examples occur in one line (try to save more space for a conference abstract). Could ...
1
vote
1
answer
28
views
How to get right side-by-side linguistic examples?
I am trying to use package expex to create two linguistics examples side by side. For the B example, I don't know how to make 're' appear in the first line, which keeps appearing in the third line. ...
0
votes
0
answers
49
views
How can I remove the space between the lines of linguistic examples?
When a linguistic example is very long, the defined format of such long examples in the expex package looks like this. How can I make the first part and second part of this long example align?
\ex[...
0
votes
1
answer
54
views
How to use Devanagari in Latex-Example-typesetting packages
I want to create a LaTeX file to show how the LaTeX-code works. So I want to show the LaTeX-code as well as the output after running the code. In example of the code I want to use some Devanagari text....
1
vote
1
answer
272
views
How to change the block color without theme?
How to change the block color without theme?
I want to change examplebox and alert color.
title style:
fg: white
bg: example block title color
body style:
fg: black
bg: example block title color!...
2
votes
1
answer
104
views
How can I modify the xlist environment of gb4e to allow for alphabetical numbering beyond "z"?
I am using the gb4e package to typeset my (rather numerous) examples.
I am trying to modify the xlist (or xlista) environment of said package to allow for alphabetically numbered sub-examples beyond z,...
1
vote
1
answer
93
views
Repeat example in LaTeX, but with double numbering (incremental and old)
I am using gb4e to write my thesis and I need to repeat examples by presenting them using both the new number (example 4 follows example 3) and the original number they were presented first with. For ...
0
votes
2
answers
43
views
How can I align bullet pointed examples within one example in the amsthm environment?
I am using amsthm to label examples. Rather than have each subsequent example separately, I would like to bullet point multiple examples within one labelled "example." So for instance, I ...
8
votes
0
answers
359
views
Showcase of LuaLaTeX capabilities/packages
The Lua programming capabilities in LuaLaTeX greatly expand what is reasonably possible within .tex files. I stumble across examples of cool LuaLaTeX-only code and packages here and there on the net, ...
0
votes
1
answer
129
views
Reprogramming postnote to refer to example numbers and ranges (Biblatex)
When using \cite or \textcite, I like to give, as part of the postnote-dedicated optional argument, additionally to the page range, some example number(s), for example ex. 38.
I am seeking to program ...
2
votes
2
answers
83
views
The caption package interferes with the showexpl package
When the caption package is loaded, it messes up the cross-referencing of listings typeset using the showexpl package. The \ref command prints the number of the section in which the LTXexample is ...
0
votes
1
answer
93
views
Simple way to have same height position for all titles in beamer
This is a general question in order to know if there is a simple way to have all the \exampleblock titles being on the same height in a beamer presentation ?
For instance, for 2 different templates, I ...
0
votes
2
answers
49
views
How can I fix the spacing between text and numbering in newntheorema
I'm using a newtheorem to create the numbering of an example, but the spacing has been very different from one number to another.
I've already tried using \hspace after Ex. (and before numbering). I'...
1
vote
1
answer
45
views
How can I remove punctuation/period after lettered subexamples in g4be/xlist
I have to change sub examples in xlist environments (or rather g4be's \ea \ea \ex \ex \ex \z \z ) from being letter plus period, e.g. a. to simple parentheses (a) not followed by a period/full stop.
I ...