2022 Developer Survey is open! Take survey.

Questions tagged [xcoffins]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
2 answers
47 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 ...
user avatar
5 votes
3 answers
277 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 ...
user avatar
  • 269
1 vote
1 answer
62 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,...
user avatar
  • 843
0 votes
2 answers
84 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, ...
user avatar
6 votes
1 answer
77 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 ...
user avatar
2 votes
1 answer
66 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 ...@...fr)) just below the formal address, and centered. I have somewhat ...
user avatar
  • 1,868
1 vote
1 answer
93 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 ...
user avatar
0 votes
1 answer
105 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) ...
user avatar
  • 27
2 votes
1 answer
81 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,...
user avatar
0 votes
3 answers
165 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 ...
user avatar
  • 115
1 vote
1 answer
41 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 =...
user avatar
  • 381
0 votes
1 answer
135 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 ...
user avatar
  • 103
0 votes
1 answer
101 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}...
user avatar
1 vote
1 answer
71 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} \...
user avatar
  • 245
0 votes
1 answer
61 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 ...
user avatar
4 votes
2 answers
155 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 ...
user avatar
0 votes
2 answers
291 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 ...
user avatar
  • 141
0 votes
1 answer
94 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 ...
user avatar
  • 101
0 votes
1 answer
74 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'...
user avatar
  • 245
0 votes
1 answer
89 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 ...
user avatar
  • 245
11 votes
1 answer
164 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{...
user avatar
  • 183k
7 votes
5 answers
589 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 ...
user avatar
  • 91
1 vote
1 answer
95 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]{...
user avatar
  • 13
2 votes
3 answers
157 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} \...
user avatar
  • 876
0 votes
1 answer
77 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 ...
user avatar
3 votes
2 answers
147 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 ...
user avatar
0 votes
1 answer
82 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>, ...
user avatar
1 vote
1 answer
180 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....
user avatar
5 votes
1 answer
112 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 ...
user avatar
4 votes
3 answers
290 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 ...
user avatar
  • 167
0 votes
1 answer
95 views

coffin--structuring and typesetting

\documentclass{article} \usepackage{xcolor} \definecolor{darkgrey}{HTML}{333333} \usepackage{xcoffins} \begin{document} \SetHorizontalCoffin\OutputCoffin{} \SetHorizontalCoffin\RedCoffin ...
user avatar
  • 18.6k
2 votes
1 answer
60 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 ...
user avatar
  • 2,054
2 votes
1 answer
121 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 ...
user avatar
  • 12.5k
2 votes
1 answer
67 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{...
user avatar
  • 7,683
13 votes
4 answers
1k 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[...
user avatar
  • 8,624
6 votes
1 answer
370 views

sidebearings and precision left/right alignment

As was suggested, I will rephrase my previous question, which is not confined in a coffin. As @MartinScharrer rightly points out, I am asking how to optically align text at the margins after ...
user avatar
  • 24.5k
2 votes
3 answers
731 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, ...
user avatar
  • 183k
4 votes
2 answers
236 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 \...
user avatar
  • 183k
2 votes
2 answers
105 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 ...
user avatar
  • 699
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 \...
user avatar
  • 26.7k
26 votes
2 answers
504 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\...
user avatar
  • 26.7k
4 votes
1 answer
155 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 ...
user avatar
  • 26.7k
3 votes
0 answers
209 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 ...
user avatar
1 vote
0 answers
262 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} \...
user avatar
  • 21
12 votes
1 answer
359 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 \...
user avatar
6 votes
1 answer
509 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 ...
user avatar
41 votes
1 answer
978 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, ...
user avatar
  • 56.4k
2 votes
0 answers
414 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,...
user avatar
4 votes
1 answer
401 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 ...
user avatar
  • 10.8k
7 votes
2 answers
242 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.
user avatar