Generalflowfram \Ncolumn labels

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
ZacharyRann
Posts: 6
Joined: Thu Feb 27, 2025 12:51 am

flowfram \Ncolumn labels

Post by ZacharyRann »

Hello All!!

Not sure where exactly to go here.. I am using 'flowfram' to get 3 columns with margins to their left, and I am trying to see if I can start placing labels for these different columns, I.E. just a simple 1, 2, 3, for the three columns on the page.

flowfram documentation - https://ctan.org/pkg/flowfram?lang=en

I was hoping to add labels below each column, essentially on a line just above the line where the page number is displayed along the bottom of the page.

Code: Select all

\documentclass[12pt,a4paper]{article}
\usepackage[landscape]{geometry}
\geometry{top=25mm, left=25mm, right=25mm}
\usepackage{fontspec}
\usepackage[draft]{flowfram}
\usepackage{expex}



\headsep = 0pt
\marginparsep = 0pt

\setlength{\columnsep}{2.5cm}



\Ncolumn{3}

\setallflowframes{margin=left}
\showtypeblockfalse



\defineglwlevels{lit}



\begin{document}
%Just defining the ExPeX glosses as a command since I need to manually break each column as the text starts to run past the bottom of the column, and I did not want to have to separate the \marginpar commands with the whole gloss%
\newcommand{\PageOneColOne}{\begingl[glhangstyle=none, extraglskip=6pt, aboveglbskip=-2pt, aboveglcskip=-3pt, abovegllitskip=1pt, everygla=\bfseries \normalsize, everyglb=\itshape \scriptsize, everyglc=\itshape \tiny, everygllit=\small, glwordalign=center, glspace=!.15em] 
	\gla All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy.//
	\glb all work and no play makes jack a dull boy all work and no play makes jack a dull boy all work and no play makes jack a dull boy all work and no play makes jack a dull boy all work and no play makes jack a dull boy all work and no play makes jack a dull boy all work and no play makes jack a dull boy all work and no play makes jack a dull boy//
	\glc 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40//
	\gllit All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy.//
	\endgl}

\newcommand{\PageOneColTwo}{\begingl[glhangstyle=none, extraglskip=6pt, aboveglbskip=-2pt, aboveglcskip=-3pt, abovegllitskip=1pt, everygla=\bfseries \normalsize, everyglb=\itshape \scriptsize, everyglc=\itshape \tiny, everygllit=\small, glwordalign=center, glspace=!.15em] 
	\gla All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy.//
	\glb all work and no play makes jack a dull boy all work and no play makes jack a dull boy all work and no play makes jack a dull boy all work and no play makes jack a dull boy all work and no play makes jack a dull boy all work and no play makes jack a dull boy all work and no play makes jack a dull boy all work and no play makes jack a dull boy//
	\glc 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40//
	\gllit All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy.//
	\endgl}

\newcommand{\PageOneColThree}{\begingl[glhangstyle=none, extraglskip=6pt, aboveglbskip=-2pt, aboveglcskip=-3pt, abovegllitskip=1pt, everygla=\bfseries \normalsize, everyglb=\itshape \scriptsize, everyglc=\itshape \tiny, everygllit=\small, glwordalign=center, glspace=!.15em] 
	\gla All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy.//
	\glb all work and no play makes jack a dull boy all work and no play makes jack a dull boy all work and no play makes jack a dull boy all work and no play makes jack a dull boy all work and no play makes jack a dull boy all work and no play makes jack a dull boy all work and no play makes jack a dull boy all work and no play makes jack a dull boy//
	\glc 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40//
	\gllit All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy.//
	\endgl}

%This is where I'm calling back the ExPeX gloss for each column by page so that I can just see it all on a line together, and not separated by a whole Gloss. These glosses will be defined in a separate document and I'll use the \input command to pull it in before these lines.%	
\PageOneColOne\marginpar{\centering1:1}
\framebreak
\PageOneColTwo\marginpar{\centering1:2}
\framebreak
\PageOneColThree\marginpar{\centering1:3}

	
\end{document}
Screenshot 2025-03-25 202358.png
Screenshot 2025-03-25 202358.png (145.56 KiB) Viewed 5664 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX books
Post Reply