Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
LilyPond wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
User talk:Jean Abou Samra
(section)
Add topic
User page
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
Add topic
View history
General
What links here
Related changes
User contributions
Logs
View user groups
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Some CSS code for <nowiki><samp></nowiki> == Jean, what do you think of adding something like the following <pre> body { quotes: 'β' 'β'; } samp:before { content: open-quote; } samp:after { content: close-quote; } </pre> to the Wiki CSS for the sake of better conversion to Texinfo? My reasoning is as follows. There is a strong visual difference between <code><nowiki><code></nowiki></code> in the Wiki and <code>@code</code> in Texinfo output: the former produces typewriter text in a box, the latter uses just typewriter. This is fine with the fonts used for Texinfo output except for marking single letters: in Texinfo it is better to use <code>@samp</code> for this situation, producing typewriter text in quotes. On the Wiki side I would thus like to use <code><nowiki><samp></nowiki></code>, which <code>makelsr.pl</code> converts to <code>@samp</code>. However, it currently produces plain typewriter in the Wiki, which isn't ideal since the contrast to plain text isn't large enough IMHO. Example: The letter <samp>s</samp> is marked with <code><nowiki><samp></nowiki></code>. My suggestion: The letter β<samp>s</samp>β is marked with <code><nowiki><samp></nowiki></code>. An alternative would be to give <code><nowiki><samp></nowiki></code> the same appearance as <code><nowiki><code></nowiki></code>. -- [[User:Lemzwerg|Lemzwerg]] ([[User talk:Lemzwerg|talk]]) 17:15, 30 November 2025 (UTC) :Done. Thanks for providing the CSS code. [[User:Jean Abou Samra|Jean Abou Samra]] ([[User talk:Jean Abou Samra|talk]]) 15:28, 6 December 2025 (UTC) :: Ah, I missed that with this CSS code the quote characters are also in typewriter, which is not correct. So please add <code>font-family: sans-serif;</code> to both the <code>samp:before</code> and <code>samp:after</code> block. :: [I haven't found out how to display the quotes with the same font selected by the user to display the main font in Wiki β or is this fixed to always be sans-serif?] ::: Done. I don't know a better solution either. [[User:Jean Abou Samra|Jean Abou Samra]] ([[User talk:Jean Abou Samra|talk]]) 14:30, 8 December 2025 (UTC) :::Thanks! -- [[User:Lemzwerg|Lemzwerg]] ([[User talk:Lemzwerg|talk]]) 13:48, 9 December 2025 (UTC)
Summary:
Please note that all contributions to LilyPond wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Meta:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
User talk:Jean Abou Samra
(section)
Add topic