Skip to content

Initial support for displaying IEEE pubid - #88

Open
mohamed wants to merge 1 commit into
typst:mainfrom
mohamed:feature/display-ieee-pubid
Open

mohamed wants to merge 1 commit into
typst:mainfrom
mohamed:feature/display-ieee-pubid

Conversation

@mohamed

@mohamed mohamed commented May 12, 2026

Copy link
Copy Markdown

IEEE conference template requires displaying a publication ID (pubid) at the left bottom of the first column. This commit adds support for displaying it.

IEEE conference template requres displaying a publication ID (pubid)
at the left bottom of the first column. This commiit adds support for
displaying it.

Signed-off-by: Mohamed Bamakhrama <mohamed@alumni.tum.de>
@elegaanz

Copy link
Copy Markdown
Member

Hello! Sorry for taking so long to review your contribution. I'm not entirely sure the placement is correct: as a reference the IEEEtran.cls LaTeX class centers it at the bottom of the first page, and doesn't shift the columns bottom edge as much. Do you have example papers using the layout you are proposing, or another reference source requiring this specific layout?

@elegaanz elegaanz self-assigned this Jun 29, 2026
@mohamed

mohamed commented Aug 11, 2026

Copy link
Copy Markdown
Author

@elegaanz Hi Ana, sorry for overlooking your comment. I was traveling.
You are right that the latest IEEE template shows pubid in the center. However, it overlaps over the text:
image

The latest IEEE template (https://www.ieee.org/conferences/publishing/templates) states that pubid is normally inserted by the editor. However, some conferences ask the authors to manually insert it and I have seen conference templates positioning it at the left. Feel free to modify the PR to position it in the center

@elegaanz

Copy link
Copy Markdown
Member

If I'm not mistaken your code currently guarantees that it won't overlap by making the height of the first column a bit shorter, right? I think the same could be done for both columns: if present, the publication ID would just shrink the area allocated to content by one line, and live at the bottom center of the page. I think it would better fit the expected result while making sure it looks good. Could update your branch so that it behaves that way, please?

If you feel like keeping the possibility to have it at the bottom of the first column is useful, the code could also be smart and detect if the passed pubid is an align element, and change how it placed based on that. So you could write pubid: align(left)[xxx] to get the behavior you implemented and pubid: [xxx] or pubid: align(center)[xxx] to get the one I described.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants