Skip to content

Commit

Permalink
Adding alt-text to latex and word paper templates
Browse files Browse the repository at this point in the history
Adding alt-text to latex and word paper templates. Adding alt-text in latex simple requires using the most recent TeX distribution (2024), adding the correct DocumentMetadata configuration at the start of the template, and using the alt= option in the \includegraphics command. Adding alt-text in word can be done by right clicking on the image and selecting "View Alt Text..."
  • Loading branch information
MCMcCallum authored Jun 28, 2024
1 parent 67e2eac commit de2a391
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 3 deletions.
Binary file modified 2024/latex/ISMIR2024_lbd.pdf
Binary file not shown.
4 changes: 3 additions & 1 deletion 2024/latex/ISMIR2024_lbd.tex
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
% (see conference website for additional details)
% -----------------------------------------------

\DocumentMetadata{testphase={phase-III,math}}

\documentclass{article}
\usepackage[T1]{fontenc} % add special characters (e.g., umlaute)
\usepackage[utf8]{inputenc} % set utf-8 as default input encoding
Expand Down Expand Up @@ -212,7 +214,7 @@ \subsection{Figures, Tables and Captions}

\begin{figure}
\centerline{\framebox{
\includegraphics[width=0.9\columnwidth]{figure.png}}}
\includegraphics[alt={ISMIR 2024 template test image},width=0.9\columnwidth]{figure.png}}}
\caption{Figure captions should be placed below the figure.}
\label{fig:example}
\end{figure}
Expand Down
Binary file modified 2024/latex/ISMIR2024_template.pdf
Binary file not shown.
4 changes: 3 additions & 1 deletion 2024/latex/ISMIR2024_template.tex
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
% (see conference website for additional details)
% -----------------------------------------------

\DocumentMetadata{testphase={phase-III,math}}

\documentclass{article}
\usepackage[T1]{fontenc} % add special characters (e.g., umlaute)
\usepackage[utf8]{inputenc} % set utf-8 as default input encoding
Expand Down Expand Up @@ -196,7 +198,7 @@ \subsection{Figures, Tables and Captions}

\begin{figure}
\centerline{\framebox{
\includegraphics[width=0.9\columnwidth]{figure.png}}}
\includegraphics[alt={ISMIR 2024 template test image},width=0.9\columnwidth]{figure.png}}}
\caption{Figure captions should be placed below the figure.}
\label{fig:example}
\end{figure}
Expand Down
2 changes: 1 addition & 1 deletion 2024/latex/ismir.sty
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@
\begin{figure}[b]{%
\footnotesize
%{\includegraphics[height=0.45cm]{figs/88x31}}
{\includegraphics[height=0.45cm]{figs/cc_by.pdf}}
{\includegraphics[alt={Creative Commons B Y License},height=0.45cm]{figs/cc_by.pdf}}
\vskip -.45cm
\begin{spacing}{1.1}
\hskip 1.5cm \copyright \hskip .1cm \authorname.
Expand Down
Binary file modified 2024/word/ISMIR2024_lbd.docx
Binary file not shown.
Binary file modified 2024/word/ISMIR2024_template.docx
Binary file not shown.

2 comments on commit de2a391

@cwu307
Copy link
Contributor

@cwu307 cwu307 commented on de2a391 Jul 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MCMcCallum @ajaysmurthy

I think this update accidentally removed the watermark on the LBD word template. I will make another PR to fix this problem ASAP.

@cwu307
Copy link
Contributor

@cwu307 cwu307 commented on de2a391 Jul 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually, I couldn't figure out your changes in the word template, and the file regressed to the incorrect version. @MCMcCallum could you let me know what changes you made to the word template specifically? For the time being, I will overwrite your version with my previous version for consistency. Thanks!

update: I saw the exact alt-text by opening the word file and right click on the image (basically following your instruction). I was able to set alt-text while fixing the template. Thanks!

For reference, the PR is here:
#43

Please sign in to comment.