Tagged Questions
8
votes
2answers
148 views
Combining `tikzpicture` and `lstlisting`
I'm working on a custom lstlisting environment, in which I use TikZ to add a frame and a title. Because of the widespread curly braces of node I cannot use newenvironment, so I have to resort to ...
16
votes
2answers
629 views
Is it possible to create an adaptable golden ratio frame around equations?
I would like to create special frame around my equations. This frame should obey to the golden ratio rule. This means that its width divided by its height should give 1.61803398875.
If possible, the ...
4
votes
1answer
106 views
Highlight elements in the matrix (continued)
Using @Stefan Kottwitz's solution of Highlight elements in the matrix, is it possible to
select one single entry in the matrix? Where does one need to place the left and the right marks?
10
votes
2answers
106 views
Place a background relative to the position of an environment
I am trying to place a background that extends the entire page width and whose height depends on the height of the environment contained. For example, the following code provides something to what I ...
6
votes
3answers
179 views
Putting a coloured background behind text without adding whitespace
Consider this:
I want to be able to highlight text like this without adding space around it -- so each word in the first line should line up with the corresponding word in the second line. (I know ...
4
votes
1answer
218 views
How to draw a simple 1mm thick page frame?
I'm trying to make a simple one-line 1mm thick page frame. Left line of that frame should be 2.5cm from edge and all other lines 0.5cm. Document includes tikz drawing, and text.
The problem is that ...
0
votes
3answers
2k views
Margins in \framebox
I have the following code:
\documentclass{article}
\usepackage{tikz}
\begin{document}
\framebox{\begin{tikzpicture}[color=black, line width=0.4mm]
\draw (0,0) rectangle (5mm,5mm);
...
3
votes
1answer
295 views
Creating an environment able to span over multiple pages or columns
I'm trying to create an environment able to understand when it's on a single/two columns layout and to span over multiple pages or columns having different style for the two cases. I would want to ...