or
निरंजन
Following is one MWE with package `expex` used for writing numbered examples -

```
\documentclass[12pt]{article}
\usepackage{expex}

\begin{document}
\pex<test> % First level label
\a<a>\begingl % Second level label
\gla abcd efgh ijkl//
\glb abcd.SG efgh.PL ijkl.FUT//
\glft abcd ijkl efgh//
\endgl
\a<b> \begingl % Second level label
\gla abcd efgh ijkl//
\glb abcd.SG efgh.PL ijkl.FUT//
\glft abcd ijkl efgh//
\endgl
\xe
	
Example \getfullref{test.b} is interesting.
\end{document}
```

`getfullref{test.b}` results as `1b` in the output. I simply want `1-b`. How to achieve this? I want a global redefinition which will result every `getfullref{label.label}` with a dash.
Top Answer
JouleV
As `\getref` can produce the parts separately, we can define a macro that customizes `expex` references based on that command.

```
\documentclass[12pt]{article}
\usepackage{expex}
\makeatletter
\def\mygetfullref#1{\@mygetfullref#1.}
\def\@mygetfullref#1.#2.{\getref{#1}-\getref{#1.#2}}
%\def\@mygetfullref#1.#2.{\getref{#1}${}\to{}$\getref{#1.#2}}
\makeatother
\begin{document}
\pex<test> % First level label
  \a<a>\begingl % Second level label
    \gla abcd//
	\glb abcd//
	\glft abcd//
  \endgl
  \a<b> \begingl
	\gla abcd//
	\glb abcd//
	\glft abcd//
  \endgl
\xe

Example \getfullref{test.b} is interesting.

But example \mygetfullref{test.a} is even more interesting.
\end{document}
```

![blob](/image?hash=ed1cc32ecf8ec036726c33f1fbc7e9ce08a0aa3105ed9975d20e694d94bf515e)
Customizing expex command getfullref
JouleV
I don’t think using the slanted font for a only is a good idea, either. The a would look not as cursive as others, causing much inconsistency throughout the document.
JouleV
Of course, that is only my personal opinion. :)
JouleV replying to निरंजन
To be fair, I am against slanted text, especially for serif fonts. They looks much worse than italic font, especially the letters a and l.
samcarter replying to निरंजन
I'm looking forward to it :)
निरंजन replying to samcarter
Ok :)
samcarter replying to निरंजन
As I've said, I think it would be best to start a new question. Chat is not well suited to answer non-trivial problems.
निरंजन replying to samcarter
The font that I need to use (CharisSIL) does not have a slanted variant. Also the text is automatically italicized by the package and I don't want to loose it. I just have a problem with italic character 'a'. Is there no chance of getting the normal 'a' in an italic font?
samcarter replying to Jack Douglas
That's why Q&A sites are amazing - so much to learn :)
Jack Douglas replying to samcarter
I didn't know there was a difference until recently!  
@@@ answer 609
samcarter
(but this really is a different question. Could you please start a new one?)
samcarter replying to निरंजन
Maybe using slanted text instead of italic? `
a \textsl{a} \textit{a}`
निरंजन
Also I have a very basic doubt about italics. The First line of the glossing is automatically italicized by package expex, I like it, but all the 'a's look different. Is there no normal 'a' in the italic fonts?
निरंजन
@JouleV Thank you so much. This is exactly what I wanted.
निरंजन replying to JouleV
There are multiple reasons. I can have two examples with some text between them, but the counter is automatically adjusted. I can refer back to them at any point & most importantly in documents related to linguistics we need [glossing](https://en.wikipedia.org/wiki/Interlinear_gloss). See my edit to have a look on how it works.
JouleV
@निरंजन Why don't you use standard LaTeX ways for lists (`enumerate` and friends)?