Questions tagged [semantics]

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

In LaTeX, the notion of semantics mostly concerns the idea of having macros describing the meaning, rather than macros describing the physical effect.

LaTeX is concentrated on semantics: we use \section{...} to make a section title, not \textbf{\Large 1.\quad ...}. In ConTeXt, this idea is used even more.

Typical questions concerning semantics are:

52 questions
45
votes
4 answers

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

When I ask questions about achieving some particular layout with LaTeX, I get answers that suggest I should use constructs that don't make sense for their semantics. For example, I wanted to indent a single paragraph, and I was told to make it a…
22
votes
1 answer

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 $V\directsum W$. I really like this on an aesthetic…
Zev Chonoles
  • 5,466
  • 5
  • 31
  • 52
0
votes
1 answer

Local definitions to split content and design

I'm writing a long document and as a general rule, I try to write things down semantically. For example, when I introduce notation for $\mathcal{A}$ and $\mathcal{B}$, I add the following at the beginning of my section: \section{An example section…
mixotrov
  • 141
0
votes
1 answer

Multiple inference lines of single inference rule

I looked at both the semantic and mathpartir package, is is possible to insert multiple inference lines in single inference rules? Or are there better ways to do this? The mathpartir package has a little example but it does not work very well and I…
SLX
  • 1