Questions tagged [xcoffins]
The xcoffins tag has no usage guidance.
53
questions
1
vote
2
answers
370
views
Align baselines of figure and table using minipage and stackunder
I'm trying to place a figure and a table side by side so that the baselines, rather than the captions, of both are aligned:
The answer to this question does this \stackunder with minipages, but uses
a ...
6
votes
3
answers
3k
views
How to align minipages on the top
Problem
I am trying to align minipages on the top but to no avail, I thought that the [t] option is exactly meant for that, but apparently not. The [c] option seems to work better, except for the ...
1
vote
1
answer
95
views
Put an xcoffin around an environment's content
I'm trying to use xcoffins as a lightweight tcolorbox, like so:
This works great when defining a command I can wrap content in, however I need to make this behaviour accessible through an environment,...
0
votes
2
answers
153
views
How to put a minipage at a point on the sheet?
I need to position each textbox like the following image
code
\documentclass[10pt,twoside]{article}
\usepackage[spanish,es-lcroman, es-tabla, es-noshorthands]{babel}
\usepackage[paperwidth=8.8cm, ...
6
votes
1
answer
96
views
Is `\coffin_gattach:…` not really global?
Below is an MWE that typesets “AB”, as it should. However, if one uncomments the \group_begin: and \group_end:, the B disappears—i.e., the attachment seems to be performed locally, despite the use of ...
2
votes
1
answer
100
views
Basic coffin positioning
Recipient address is shifted to the right in French letters. I'm adding an indication that it will be sent by email ((via [email protected])) just below the formal address, and centered. I have somewhat ...
1
vote
1
answer
193
views
Can I avoid indentation of margin items when using parbox=false in a tcolorbox?
For a book project, examples, theorems, etc. are all styled using tcolorbox. (This part is not really negotiable -- the LaTeX code is generated by PreTeXt.)
I've been trying to figure out how to get ...
1
vote
1
answer
335
views
Independently align element vertically and horizontally
How do I vertically align the title and the image along their center, while keeping a fixed space between the title and the authors, like so?
I want to independently align a piece of text (the title) ...
2
votes
1
answer
104
views
How to align a box and a picture?
I want to align these two things on my document but how can I make it, because if I add \hfill, it doesn't make what I want. How can I make it?
\documentclass[12pt, a4paper]{article}
\usepackage{tikz,...
0
votes
3
answers
395
views
Style background images and text for book front and back cover on landscape A3
I would like to style and cut an A3 page to be both the front and the back cover of a book.
In particular, there should be a background image trimmed in the bottom center and some text on the right ...
1
vote
1
answer
51
views
Trouble with table placement when use arraystretch
Problem
Unable to get table and text boxes to share the same page.
Minimum Working Example
\documentclass{article}
\usepackage{amsmath, amssymb}
\usepackage[paperheight=11in, paperwidth=17in, margin =...
0
votes
1
answer
218
views
How to create a word/equation/diagram collage
I'm looking to create a collage of sorts with various equations as well as some commutative diagrams. I normally use tikzcd to make diagrams so if I can use that here it would be helpful. The end goal ...
0
votes
1
answer
404
views
Resize tikzpicture in input
I'm attempting to insert a tikspicture into my text. However, rather than having the code in actual document, I bring it in as an input, such as this:
\begin{figure}[h]
\input{Grafikk/ValuesToOpinion}...
1
vote
1
answer
107
views
Reflection page using xcoffins
I am missing something when it comes to creating a page that mirrors this page (reflect this page over the y-axis/vertical fold)
Here is my xcoffins code:
%\documentclass[10pt]{article}
\...
0
votes
1
answer
228
views
Side by Side information and Picture in Resume
I'm trying to convert my resume made with Office to Latex. I wish to have my institute logo and then my information this way.
I am using this to do so:
\documentclass[letterpaper]{article} % Paper ...
4
votes
2
answers
611
views
Put a full image before some chapters
I want to put some full page images in substitution of blank pages before chapters.
I know exactly where to put them and what image to put.
For example: at page 74 (a left page), before chapter 12 ...
0
votes
2
answers
741
views
How can make fancy title box in header or contact info in footer?
I'm working on a single page research proposal ads/template. I want to include contact info and logo in the footer and topic in fancy rectangular/boxes or using between text box (one with a bit ...
0
votes
1
answer
133
views
How do I binpack a set of tables on a page?
I'm making a reference card for lamination. It consists of a bunch of tables that between them have no particular order.
How do I lay these out to have a high density reference card?
What I'm thinking ...
0
votes
1
answer
97
views
Standalone and Coffins
I would like to compile a XeTeX file that pulls in multiple files that have coffins defined for their page geometry.
All files compile on their own, and when I run them together, the coffin pages don'...
0
votes
1
answer
165
views
Using coffin class to set-up page geometry
I have a specific page geometry that I would like to create for my odd pages using the coffin class. I have been playing around with it, but I am not understanding the documentation for connecting ...
11
votes
1
answer
173
views
Trouble with xcoffins in TL2020
Consider the following MWE:
\documentclass[11pt,a4paper]{article}
\usepackage{xcoffins}
\NewCoffin\lcoffin
\NewCoffin\fcoffin
\parindent=0pt
\begin{document}
\fbox{\parbox{.25\textwidth}{\begin{...
7
votes
5
answers
2k
views
How to superimpose two pictures together?
How to superimpose two pictures together? I tried many times, but it never was in the correct position. I want to put the small picture in the red box (near the bottom right), but the graph that the ...
1
vote
1
answer
155
views
Multiple chessboards in one line
How would I place 4 chessboard side by side? Right now all of them are in one column, below each other.
This is the code:
\documentclass[12pt, a4paper]{report}
\usepackage{ucs}
\usepackage[utf8x]{...
2
votes
3
answers
164
views
Adding the following picture
\documentclass[12pt,a4paper]{article}
\usepackage{amsfonts,amsmath,amssymb,graphicx,amsthm}
\usepackage{tikz,tkz-tab,moreverb} % tableau de signe moreverb not needed
\usetikzlibrary{arrows}
\...
0
votes
1
answer
108
views
Leave space for three logos on the title page [closed]
I am working on realizing a thesis template according to the requirements of my University. I would like to have the space for three logos in the title page, a big logo in the middle and two smaller ...
3
votes
2
answers
177
views
I need a rather complex layout for a scholarly edition and don't know where to start
for a scholarly edition, I need a rather complex layout.
I tried using columns and tkiz, but I am not experienced enough to complete this daunting task.
How would I go and put the | .th. | incomplete ...
0
votes
1
answer
107
views
xcoffins - attaching coffin with <coffin>-<pole> in ExplSyntax
I continued my grid-setting-project with xcoffins and converted the code to latex3.
From an earlier question I learned, that when I first join two coffins the poles are kept as <pole name>, ...
1
vote
1
answer
239
views
xcoffins - main coffin on every page / clearing a coffin?
after Phelype has solved my problem concerning the poles of my grid I tried to make the next step. The grid should be available on every page and should not interact with the "normal" text in the body....
5
votes
1
answer
129
views
xcoffins – problem "reusing" poles after joining coffins
at the moment I'm working on a personal project where I want to use several grids and I thought it would be nice trying xcoffins to realise this. I can define a coffin for the text body, define poles ...
4
votes
3
answers
537
views
Position image next to a text within an adjustbox created in a newenvironment
I try to create a box with a gray background color, where there is a centered image on the left and a text on the right side of the box. It should look like the boxes created in here. Here's a short ...
0
votes
1
answer
132
views
coffin--structuring and typesetting
\documentclass{article}
\usepackage{xcolor}
\definecolor{darkgrey}{HTML}{333333}
\usepackage{xcoffins}
\begin{document}
\SetHorizontalCoffin\OutputCoffin{}
\SetHorizontalCoffin\RedCoffin
...
2
votes
1
answer
69
views
How to use an environment to load a vertical coffin that will be used outside the environment
I would like to use an environment to fill a vertical coffin. I find that I can fill the coffin this way, but that the poles get lost, in the sense the top pole (t) is treated as if it lies at the ...
2
votes
1
answer
138
views
What is the difference between the H and B poles in vertical coffins?
In the xcoffins documentation the H and B poles are described as follows.
H a pole running along the baseline of the typeset material contained in the coffin.
B a pole running along the baseline of the ...
2
votes
1
answer
74
views
xcoffins and fractional factors to \CoffinWidth fail
The following code comes from this SE query: Can I centre my oversized coffin of unknown width?. It was posted by @cfr and accompanied by output, so, presumably, it worked at one time:
\begin{...
13
votes
4
answers
2k
views
Put vertical rotated text within minipage environment
I am creating a cheat sheet for a class and wanted to add some vertical text here:
How do I go about doing this?
Here is the code that I have thus far:
CODE
\documentclass{article}
\usepackage[...
2
votes
3
answers
750
views
Can I centre my oversized coffin of unknown width?
This is part of a larger problem, but I seem to be stuck at the trivial(ish) stage.
I want to centre a coffin containing a picture relative to the paper. I hoped to do this using the coffins poles, ...
4
votes
2
answers
254
views
What is the correct way to stack two coffins so that the vertical spacing between their contents is as it would be if they were set in one coffin?
Consider the following Minimal Working Example (MWE):
\documentclass{article}
\usepackage{xcoffins,kantlipsum}
\begin{document}
\NewCoffin \MyCoffin
\NewCoffin \YourCoffin
\SetVerticalCoffin \...
2
votes
2
answers
112
views
rubber lengths in coffins and aligning to the bottom baseline of a paragraph
I want to obtain a certain layout, illustrated below: at some point in a line, I'd like to "switch to paragraph mode" (just like a parbox does) and then at some other point I want to resume back to ...
23
votes
1
answer
1k
views
How can I clean my coffin?
Seriously, the name is a goldmine.
I have a coffin that I'd like to 'clean up' and keep only the default poles. For example, here's a coffin I built using an auxiliary coffin:
Size of coffin \...
26
votes
2
answers
527
views
Globally assigning a coffin
There is no macro \vcoffin_gset:Nnw. How can I achieve that result?
MWE
\documentclass{article}
\usepackage{expl3}\ExplSyntaxOn
\usepackage{mwe}
\newcommand\typesetit {\coffin_typeset:Nnnnn\...
4
votes
1
answer
162
views
Is there an easier way to 'corner-frame' a piece of text?
I've written a hodge-podge of LaTeX2e and expl3 to produce the following effect:
What I have is ugly and ideologically incorrect. I'm looking for a better way to do the same thing. I think coffins ...
3
votes
0
answers
250
views
Memoir: put heading in margin using Expl3 or xcoffins
In the memoir class manual,
there is the following code
for putting section headings in the margin:
A less traditional style is to put the whole heading into the margin.
I have done this here for ...
1
vote
0
answers
265
views
XeLaTeX resume coffin error [closed]
I am trying to compile a resume template using XeLaTeX. I am getting the following error:
LaTeX code:
\documentclass[a4paper,10pt]{article}
\usepackage{marvosym}
\usepackage{fontspec}
\...
12
votes
1
answer
372
views
How can I build an adjusted coffin?
I would like to put several lines of text stacked vertically inside a coffin, and have the coffin be the tightest rectangle containing them. One way to get a coffin containing those lines is to use \...
6
votes
1
answer
520
views
ExSheets fancy headings breaks
Remarks
From the exsheets documentation I grabbed a piece of code to produce fancy headings for questions and solution, but it breaks. It is the fancy heading style on page 49 and 50 in the current ...
43
votes
1
answer
1k
views
Origin of the LaTeX3 term "coffin"?
The documentation for the LaTeX3 xcoffins package introduces the concept of coffins as follows:
In LaTeX3 terminology, a “coffin” is a box containing typeset material. Along with the box itself, ...
2
votes
0
answers
445
views
Creating title page with xcoffins [closed]
I want to create a title page like in the Tschichold example:
using this code:
https://github.com/latex3/svn-mirror/blob/master/l3experimental/xcoffins/xcoffins-tschichold-example.tex
in MiKTeX 2.8,...
4
votes
1
answer
434
views
How do I make a framed coffin with correct alignment?
I'm playing with coffins for a title page and would like to have a square framed box that aligns with the topline and baseline of text within a rotated coffin. I have a couple of issues with this so ...
7
votes
2
answers
252
views
Is there a simple way to draw a straight line from one coffin handle to another?
I want to know whether there is a simple way to draw a straight line from one coffin handle to another.
7
votes
1
answer
252
views
T pole in the xcoffins package
The documentation for the xcoffins package states:
In addition, coffins containing vertical-mode material also feature poles which reflect the
richer nature of these systems:
B a pole ...