Property talk:P1993
Documentation
string to show a concept in TeX or LaTeX
Description | the appropriate string to show a concept in Tex or Latex | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Represents | TeX (Q5301) | |||||||||
Data type | String | |||||||||
Allowed values | According to this template:
tex commands with simple example values in them
According to statements in the property:
When possible, data should only be stored as statements\\.+|.{1} | |||||||||
Example | According to this template:
fraction (Q66055) => "\frac{1}{2}", binomial coefficient (Q209875) => "\binom{n}{k}", square root (Q134237) => "\sqrt[2]{x}", circumflex (Q11175) => "\^{o}"
When possible, data should only be stored as statements | |||||||||
Tracking: usage | Category:Pages using Wikidata property P1993 (Q118210262) | |||||||||
See also | title in LaTeX (P6835), quantity symbol (LaTeX) (P7973) | |||||||||
Lists |
| |||||||||
Proposal discussion | Proposal discussion | |||||||||
Current uses |
| |||||||||
Search for values |
List of violations of this constraint: Database reports/Constraint violations/P1993#Format, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P1993#Unique value, SPARQL (every item), SPARQL (by value)
List of violations of this constraint: Database reports/Constraint violations/P1993#Entity types
List of violations of this constraint: Database reports/Constraint violations/P1993#Scope, SPARQL
This property is being used by: Please notify projects that use this property before big changes (renaming, deletion, merge with another property, etc.) |
LaTeX packages required
[edit]The description the appropriate string to show a concept in Tex or Latex leaves a lot of room for interpretation. One should modell the required TeX packages at least. For texvc compatible \LaTeX expression this is already implementd in the npm package texvcinfo.
$ curl -d "q=\color{blue}{\reals}" math.beta.wmflabs.org:10042/texvcinfo
{"texvcinfo":{"success":true,"checked":"\\color {blue}{\\mathbb {R} }",
"requiredPackages":["ams","color"],"identifiers":["\\mathbb{R}"]}}
Should the datatype be changed to Mathematical expression
[edit]MathTexLearner suggested in https://www.wikidata.org/wiki/Wikidata:Property_proposal/rendered_TeX_string that it would be useful to have a property to store rendered Tex string. Currently, this property exists for storing the tex equivalent without having it rendered. WikiProject Informatics has more than 50 participants and couldn't be pinged. Please post on the WikiProject's talk page instead. @Pasleim, Sergey kudryavtsev, Daniel Mietchen, TomT0m, Snipre, Tobias1984: ChristianKl ❪✉❫ 12:52, 6 September 2020 (UTC)
- I'm not aware of a possibility to change the datatype from string to TeX? What leads you to believe this is possible? --- Jura 12:54, 6 September 2020 (UTC)
- From past discussions on changing datatypes, it's my impression that changing a datatype is basically about manually changing a field in a database. That allows for changes where the datatype has the same underlying structure in the database (string->external ID) but not (string->item). Internally Mathematical expression is a string, so this should work. ChristianKl ❪✉❫ 15:23, 6 September 2020 (UTC)
- Have you ever tried to query the string of a "mathematial expression"? --- Jura 15:35, 6 September 2020 (UTC)
- I agree with @ChristianKl: this should be converted to Math. @Jura1: please enlighten us how is Math so much different from String? I'd even argue for a more radical change, see next --Vladimir Alexiev (talk) 12:48, 1 June 2021 (UTC)
- I'm not aware that math datatype can be queried on Query Service. For string, it's quite simple. But maybe I just don't know how to .. --- Jura 14:17, 1 June 2021 (UTC)
WikiProject Informatics has more than 50 participants and couldn't be pinged. Please post on the WikiProject's talk page instead.
Notified participants of WikiProject Mathematics
Notified participants of WikiProject Physics
@Pasleim, Sergey kudryavtsev, Daniel Mietchen, TomT0m, Snipre, Tobias1984:
IMHO all of TeX string (P1993), quantity symbol (LaTeX) (P7973), title in LaTeX (P6835) mean the same: the name of something in TeX/LaTeX. They have some specific applicability notes, but IMHO are easy to unify --Vladimir Alexiev (talk) 12:48, 1 June 2021 (UTC)
- TeX string (P1993) applies to anything and takes TeX or LaTeX
- quantity symbol (LaTeX) (P7973) applies to quantities
- title in LaTeX (P6835) applies to papers and says Enclose normal text with "\text{" and "}" but the same should apply in any case you mix text and math
– The preceding unsigned comment was added by [[User:|?]] ([[User talk:|talk]] • contribs).
- I think you might confuse datatype (or value format) with scope. --- Jura 14:14, 1 June 2021 (UTC)