Tag Info

Hot answers tagged

5

The tabular environment really is the simplest way to do this. Here's a solution using regular tabular. You can use it alongside the tabu package without any problem. Arrows are taken from Fancy arrows with TikZ \documentclass[svgnames]{article} \usepackage{tabu} % just to show compatibility \usepackage{array} \usepackage[demo]{graphicx} \usepackage{tikz} ...


3

One way is to define a new command which takes as arguments the frame content before the image, the file name of the image and, optionally, any frame content following the image. So that these can be specified in their natural order, I use xparse's \NewDocumentCommand to define \fitimage{<content before>}{<image file name>}[<content ...


2

The problem with your code is that you are using \captionof without a protecting box or environment and this, as you experienced, gives bad results. This is mentioned on page 18 of the caption documentation: ...so you should use both \captionof and \captionof* only inside boxes or environments,... You can add some enclosing environment, a minipage, ...


2

Here's one way to do it. I redefined \maketitle to name the title node and then used this named node to place two additional nodes with the logos. All you have to do is to use your images and options in \insertlogoi, \insertlogoii: \insertlogoi[<options>]{<logo1 file>} \insertlogoii[<options>]{<logo2 file>} and you can control the ...


1

If you can use package scrlayer-scrpage instead fancyhdr you can print the page header in foreground using \usepackage[automark,pagestyleset=standard]{scrlayer-scrpage}[2015/07/02] \addtokomafont{pagehead}{\upshape} \clearpairofpagestyles \ihead{\leftmark} \ForEachLayerOfPageStyle*{scrheadings}{\ModifyLayer[foreground]{#1}} Code: \documentclass{book} ...


1

I'm not a ConTeXt user, but it looks as if you got simply caught by spurious spaces: \startluacode local function drawRow(row, row_num_total, row_num) local w = 1 local d = 0.2 row_num = row_num_total - row_num for i=1,#row do if row[i] == 1 then local x_shift = (i - 1) * (w + d) ...



Only top voted, non community-wiki answers of a minimum length are eligible