is a tag to be used for questions about assigning or using meaningful markup.

learn more… | top users | synonyms

11
votes
1answer
227 views

Make a command to mark a text and class them for text analyze

Sorry for my English, I'm French and it's my first post on this forum, but I'm a frequent visitor of this forum, thanks for all ;) My problem is this : I'm working with transcriptions of 35 ...
1
vote
1answer
30 views

Semantic table markup with environments inside {tabular}

I run into issues trying to markup tables semantically in LaTeX. Background Either standard \hline together with \firsthline and \lasthline from array.sty (I think) or \midrule, \toprule and ...
9
votes
3answers
5k views

\bar vs. \overline - when to use what, semantically?

Following the question "The \bar and \overline commands" which is simply about the lengths of both, I'd like to know when to use \bar and when to use \overline from a semantically viewpoint. I always ...
5
votes
0answers
384 views

Angle symbols in LaTeX

I will write a lot about Euclidean Geometry the next time. This means I need to denote angles. The symbol we use in class looks like \sphericalangle, but I've just seen that there is an \angle symbol ...
9
votes
1answer
83 views

Using LaTeX3 syntax in document commands

I have already read much about LaTeX3 on TeX.SE, in TeX Live’s documentation and in TUGBoat, but there is something I do not yet understand: is the expl3 syntax meant to be used in document-level ...
6
votes
2answers
248 views

What are semantically correct alternatives to \text in math mode?

I have used \text{something} several times in math mode. The result is rendered like I want it to be rendered, but I think this might not the best way to do it in LaTeX. What I currently do ...
4
votes
1answer
124 views

correct environment/command for booktitles, names, etc

What is "the correct" environment/command for booktitles, names, songtitles, names of movies or other papers? Example Sentence: Some ideas of that are also reviewed in \c1{Max Mox}'s interview ...
7
votes
2answers
322 views

What exactly are the semantics of noun case?

I'm a LaTeX and LyX beginner. One thing that's making me scratch my head is LyX's Toggle noun button. According to the manual, I should use noun case for people's names, and the default rendering ...
3
votes
1answer
310 views

Semantics for parametric plots with pgfplots

I wasn't able to find in the pgfplots manual the exact semantics for pairwise mathematical expressions. Could you clarify the following variations? % Assume x(t) is parametrized by t in [0,1] and ...
0
votes
1answer
266 views

How to write left aligned multi-line conclusion in inference rule?

This question is very similar to How to write centered multi-line conclusion in inference rule?. However, I can't figure out how to align an multi-line conclusion on the left. What am I missing? I'm ...
19
votes
1answer
186 views

How to balance being semantic, and retaining control of formatting?

I am on a "semantic" kick recently. For example, while in the past I might have written the direct sum of two vector spaces as $V\oplus W$, I now define \newcommand{\directsum}{\oplus} and write ...
71
votes
2answers
30k views

\emph or \textit

In the comments section of Does it matter if I use \textit or \it, I asked for a clarification of these points. The clarification has mostly been made, but it was requested that I turn this into a ...
15
votes
5answers
4k views

Does LaTeX define a semantic equivalent of \textbf ?

In HTML, there's the distinction between <em> as semantic markup and <i> as its pure-formatting equivalent. LaTeX has the same distinction: \emph is semantic markup, rendered using ...
6
votes
3answers
249 views

Math mode commands with more semantics?

I accustomed myself to define my own little macros for any mathematical expression I use frequently. For example, I have a macro for the expected value of a random variable: ...
23
votes
4answers
3k views

Numbers outside Math environment

Should numbers inside the text be placed inside a math environment? For example, if I am writing ...indent code by 4 spaces..., should I write it this way or ...indent code by $4$ spaces...? ...
40
votes
4answers
757 views

Do semantics matter in LaTeX? If not, why not?

When I ask questions about achieving some particular layout LaTeX, I get answers that suggest I should use constructs that don't make sense for their semantics. For example, I wanted to intent a ...
54
votes
6answers
3k views

Does TeX/LaTeX give a headstart with other programming languages?

I've seen many programmers here at tex.se, and I'd like to know how they view TeX/LaTeX as a programming language in relation to other languages, and whether it would boost my progress as a beginner ...
5
votes
1answer
557 views

Inserting arrays into semantic's inference rules

I want to typeset inference rules containing tables (or arrays) in the premises. I'm using the semantic package, which sets the premises (and conclusion) in math mode, so I thought this might work: ...
1
vote
2answers
632 views

Using there exists symbol within inference of the semantic package

I am using the semantic package to write inference rules. I need to put a there exists symbol which is standard to LaTeX using $\exists$. However, when used within the semantic package's inference ...
2
votes
2answers
315 views

How to automatically separate words in inference from semantic package?

I'm trying to use inference from semantic package to describe static semantics of a language. I would like to separate nonterminals in inference rules with spaces without inserting them by hand. Is ...
15
votes
3answers
2k views

What is the deal about these semantic vs syntactic commands?

I keep hearing people on this site talking about "semantic" vs "syntactic" commands and that the "semantic" ones are somehow better. I don't really get what they are talking about, could you explain ...