Search found 50 matches

by karlisrepsons
Sat May 14, 2011 7:40 pm
Forum: Graphics, Figures & Tables
Topic: divide a cell of tabu: vertically self adjusting rule?
Replies: 1
Views: 1728

Re: divide a cell of tabu: vertically self adjusting rule?

I got an advice by the author of tabu package to wait for the next version and use a special spacing variable set to negative lenght... But the 2.9 tabu is still in development!
by karlisrepsons
Sat May 14, 2011 7:36 pm
Forum: Graphics, Figures & Tables
Topic: Tightly fitting a frame around table with TikZ
Replies: 2
Views: 4199

Tightly fitting a frame around table with TikZ

Here I'd like to share another example where I solved the original problem with excessive spacing. It looks like this:
MultiframesWithTikZandTabu.jpeg

And the code is as follows:
\documentclass{article}

\usepackage{calc}
\usepackage[papersize={7cm, 7cm}]{geometry}
\usepackage{fontspec ...
by karlisrepsons
Sat May 14, 2011 7:04 pm
Forum: Graphics, Figures & Tables
Topic: Tightly fitting a frame around table with TikZ
Replies: 2
Views: 4199

Tightly fitting a frame around table with TikZ

Got help in comp.text.tex; here I post a partial solution:

\documentclass{article}

\usepackage[papersize={2.5cm, 2.5cm}]{geometry}
\usepackage{fontspec}
\usepackage{xcolor}
\usepackage{tabu}
\usepackage{tikz}

\geometry{
showframe,
inner=4mm,
outer=4mm,
top=4mm,
bottom=4mm
}
\usetikzlibrary ...
by karlisrepsons
Thu May 12, 2011 7:49 pm
Forum: Graphics, Figures & Tables
Topic: Tightly fitting a frame around table with TikZ
Replies: 2
Views: 4199

Tightly fitting a frame around table with TikZ

The following example illustrates a couple of problems, the worst of which is the fact that TikZ is drawing the subsequent layer on the background layer with a space in between... Any idea how to control the distance between red and green lines?

TikZnonFit.jpeg

\documentclass{minimal ...
by karlisrepsons
Thu May 12, 2011 2:24 pm
Forum: Graphics, Figures & Tables
Topic: Define a synonymous name of a defined color name?
Replies: 1
Views: 1305

Define a synonymous name of a defined color name?

Hi there,
anyone know if it's possible to do so? I mean, of course, without defining a new command...
by karlisrepsons
Mon May 09, 2011 10:34 pm
Forum: Graphics, Figures & Tables
Topic: divide a cell of tabu: vertically self adjusting rule?
Replies: 1
Views: 1728

divide a cell of tabu: vertically self adjusting rule?

It was necessary to draw up a table (I used tabu) and divide some cells. I happened to end up making nested tables, which resulted in a problem like this: the vertical rules of "child tables" don't connect with horizontal rules of the encapsulating table... So the workaround was finding the max ...
by karlisrepsons
Fri May 06, 2011 12:09 am
Forum: Graphics, Figures & Tables
Topic: Graphical size (drawing long line at the baseline of a word)
Replies: 5
Views: 3868

Graphical size (drawing long line at the baseline of a word)

Hmm, looks better now: with your idea I made another test, which can produce the following picture...
ok.jpeg Ā reg.jpeg
If italic is used, the situation gets worse however (!zoom problem in effect!):
Ā italic.jpeg
Also I didn't realize that my PDF viewer doesn't show correctly while not zoomed ...
by karlisrepsons
Thu May 05, 2011 7:48 pm
Forum: Graphics, Figures & Tables
Topic: Graphical size (drawing long line at the baseline of a word)
Replies: 5
Views: 3868

Graphical size (drawing long line at the baseline of a word)

I could? Well yes, take a look how mightily bad it all works:

\documentclass{article}

\usepackage{geometry} % just to set up the page margin distances
\usepackage{array} % already a reworked macros base for tabu
\usepackage{xcolor} % to have colors, also required by tabu
\usepackage{tabu} % the ...
by karlisrepsons
Thu May 05, 2011 5:55 pm
Forum: Graphics, Figures & Tables
Topic: Graphical size (drawing long line at the baseline of a word)
Replies: 5
Views: 3868

Graphical size (drawing long line at the baseline of a word)

All,
perhaps someone of you might suggest how to get a long line and a word on it so that chars like 'a' are above that line, but 'p' or 'ņ' are split? I got the following code to do almost what was intended, but it has a problem with incorrect spacing and if similar construct is used within a tabu ...
by karlisrepsons
Sat Dec 26, 2009 2:52 pm
Forum: Text Formatting
Topic: A decorated quote command/environment ideas?
Replies: 4
Views: 7133

A decorated quote command/environment ideas?

Even better:
\newcommand{\lsidequotesize}{40}
\newcommand{\lsidequotecoeff}{0.325}
\definecolor{quotemarkcolor}{rgb}{0.5,0.5,0.5}

\newenvironment{lsidequote}{%
\begin{quotation}%
\setbox0=\hbox{\fontsize{\lsidequotesize}{0}\selectfont{\color{quotemarkcolor}``}}%
\setlength{\dimen0}{\ht0 ...