From: Robert Blackstone <blackstone.robert@gmail.com>
To: ntg-context@ntg.nl
Subject: "overscored" or "overlined" text … (or whatever it should be called)
Date: Wed, 25 Jan 2012 13:14:43 +0100 [thread overview]
Message-ID: <430D8C74-8823-42B5-A05B-EBBCA1F22E8A@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1549 bytes --]
Dear all,
I am trying to reproduce with ConTeXt an old french text that contains numerous abbreviations, mostly of two types:
- words cut off by means of a "period", with the last letter of the complete word as a superscript above the period.
- "overscores"
--either for single characters, for instance in words with double consonances, like "comme". One of these is sometimes omitted and replaced by an "overscore" on the previous vowel
-- or on an entire abbreviation, such as "coe" for "comme" and "nre" for "notre"; they become coe and nre overscored.
Now I would like to reproduce these as closely as possible.
For the "period + superscript letter" I found a solution: \lohi[]{\cdot}{t} (for superscript t), nearly perfect. The only imperfection I can see is that the dot sits slightly below the baseline. Is there a way to get it on the baseline?
The overscore on a single character presents no problem.
For an overscore on a complete word I have not found a solution.
Three individual overscores on a three-letter word give a broken line; I do not know how to merge the three line components. (Incidentally, this hack does not work with mkiv)
The other solution I have tried is to put the word in a frame with a top-frame only. But this way the word (abbreviation) hangs underneath the base-line.
Using \inframed instead of \framed makes no difference. There appears not to be something like \setupinframed.
I have attached an example.
Thanks in advance for any help.
Regards,
Robert Blackstone
[-- Attachment #2: overscore-test1.tex --]
[-- Type: application/octet-stream, Size: 1179 bytes --]
\setupframed[location=middle,width=fit,topframe=on,leftframe=off,rightframe=off,bottomframe=off,strut=no]
\starttext
Lo{\" u}is, par la grace de Dieu, Roy de France et de Navarre, {\` a} nos am{\' e}s et feaux Conseillers[,] les gens tenant nos Cours de Parlem\lohi[]{\cdot}{t}[,] M\lohi[]{~\cdot}{res} des requ{\^ e}tes ord\lohi[]{~\cdot}{es} de {\= n}{\= r}{\= e} H{\^ o}tel, Grand Conseil, Prev{\^ o}t de Paris, Baillifs, senechaux, leurs Lieuten\lohi[]{~\cdot}{ts} civils, et autres nos Justiciers qu'il appartiendra salut. Notre bien aim{\' e} Jaques Hotteterre l'un des Musiciens de {\= n}{\= r}{\= e} Chambre pour la Fl.\ Trav\lohi[]{~\cdot}{re} nous a fait exposer qu'il desireroit donner au public divers Ouvrages de Musiq; tant vocale, qu'instrumentale, et pour les Fl.\ Traversieres a 2.\ ou plus\lohi[]{~\cdot}{rs} parties de sa composition, s'il nous plaisoit de luy accorder nos lettres de Privil
{\' e}ge pour la ville de Paris seulement.
\bigskip
Unacceptable alternatives for {\= n}{\= r}{\= e}: de \framed{nre} H{\^ o}tel, de \inframed{nre} H{\^ o}tel, de \framed[height=0.7em]{nre} H{\^ o}tel, de \high{\framed{nre}} H{\^ o}tel,
\stoptext
[-- Attachment #3: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2012-01-25 12:14 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-25 12:14 Robert Blackstone [this message]
2012-01-25 12:17 ` Hans Hagen
2012-01-25 17:04 ` Philipp A.
2012-01-25 18:02 ` Hans Hagen
2012-01-25 19:20 ` Philipp A.
2012-01-25 20:13 ` Wolfgang Schuster
2012-01-25 20:17 ` Aditya Mahajan
2012-01-25 23:53 ` Philipp A.
2012-01-26 0:22 ` Aditya Mahajan
2012-01-26 23:38 ` Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=430D8C74-8823-42B5-A05B-EBBCA1F22E8A@gmail.com \
--to=blackstone.robert@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).