Questions tagged [baseline]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
33 views

Problem with linespace and parskip and font size

I am writing a thesis template with properties like word template. in MS Wors: Font size=14pt, linespace=1.2, space before chapter/section/subsection title = 30pt/27pt/20pt. What I have done so ...
1
vote
1answer
25 views

Snapping back to baseline in documents with facing pages

Usually the baseline in LaTeX's output is exactly continuous across pages, so that lines on the following pages appear as printed "on top" of each other when a page is turned. But that behaviour can ...
6
votes
3answers
215 views

How to insert \bigstar in section title with same baseline?

Minimal example: \documentclass{article} \usepackage{amssymb} \begin{document} STAR$\bigstar$METHODS \end{document} Aim:
0
votes
1answer
40 views

Why does the \linespread in the preamble cause modifications on the leadings without utilizing the \selectfont?

My question is clear by the title. According to the "LATEX2e font selection" manual guide, the \selectfont should be followed by the command of \linespread. Does anything related carry on inside of \...
1
vote
1answer
36 views

Problems with English and Persian baseline alignment

I have a document in English and Persian, and the Latin and Persian scripts don't quite line up along the baseline. I am using polyglossia, but xepersian didn't help me either. In the MWE below, I ...
0
votes
1answer
24 views

Unable to create large spacing between lines in a paragraph with\setlength{\baselineskip}{10em}

Quoted from https://www.overleaf.com/learn/latex/Paragraph_formatting#Line_spacing: \baselineskip Is a length determining the minimum space between the bottom of two successive lines in a ...
0
votes
0answers
17 views

Export baseline value for an equation from Latex

I requested to use the latex equation into InDesing application as an Image (exp: eps or jpeg or PDF, etc.). Is there any options for exporting the baseline value from the latex file for the inline ...
6
votes
2answers
160 views

Relationship between strut and baselineskip

Here, it is said that a strut is defined as: \rule[-.3\baselineskip]{0pt}{\baselineskip} However, if I do: \newlength{\strutheight} \settoheight{\strutheight}{\strut}\printlength{\strutheight} \...
4
votes
3answers
172 views

Vertical Alignment of Matrices with spalign Package

I am using the spalign package to typeset matrices and systems of equations. Basically it just lets you use spaces (or commas) and semicolons instead of & and \\ when typing in matrices and ...
2
votes
1answer
134 views

How to shift characters and numbers in math mode to make them vertically centered around the formula axis

In math mode, characters and numbers are placed on the baseline and develop upward and/or downward. How can they be centered vertically around the formula axis, as symbols such as + and = are? For ...
9
votes
3answers
484 views

Why does the baseline skip depend on the letters depth in some fonts?

I have some trouble with the line high using an OTF with fontspec package. The baseline skip of a line differs depending on the depth of the used letter. So for example a line containing a »g« is ...
4
votes
1answer
93 views

Remove whitespace between baseline and symbol

Despite my naive anchor=center specification, these four symbols are not aligned by their center: \documentclass{standalone} \usepackage{tikz} \tikzset{x=1pt, y=1pt, z=1pt} \begin{document} \...
2
votes
1answer
605 views

enforce total height of tcolorbox title

I have a few tcolorbox'es in my document and I want to make them all have title sections with the same height. But some of my titles have characters that go under the baseline and others don't. So, ...
5
votes
1answer
116 views

How can I display baseline and create text on it?

I use the below structure for it: \documentclass[12pt]{article} \begin{document} \begin{minipage}[t]{.9\textwidth} \leavevmode\rlap {I want to stop the hrule, at the end of my text.} \rule{\textwidth}...
1
vote
3answers
109 views

Is there an easy way to align the baseline of the beginning of two columns?

When I do this \documentclass{article} \usepackage{multicol} \RequirePackage[utf8]{inputenc} \begin{document} \begin{multicols}{2} {\Large Équations} \columnbreak {\Large Calculs et raisonnements}...
6
votes
2answers
53 views

how can I avoid \underset shift following subscripts downwards

My example \documentclass[12pt]{amsart} \usepackage{amsmath} \begin{document} \[ \underset{\circ}{(\alpha_i)}^{\sigma}_n \] \[ \underset{\circ}{(\alpha_i)^{\sigma}_n} \] \end{document} yields I ...
1
vote
1answer
347 views

Baseline in TikZ default unit of length

Lately, I have been using the baseline argument in TikZ pictures, but I couldn't figure out what was the default unit of length. I know that the cm is the default unit for TikZ package, but it doesn't ...
2
votes
1answer
207 views

How to make baseline visible?

I found this nice page with notes on LaTeX: https://unix4lyfe.org/tex-notes/#entry26 It gives this sample code: \def\vhb#1{\vbox{\hbox{#1}}} A vbox: \vbox{\vhb{eight}\vhb{gnat}} and a vtop: \vtop{\...
0
votes
1answer
135 views

How can I set up the space in the end of the minipage environment with baselineskip automatically?

In the below code, how can I set up the space in the end of the minipage environment with baselineskip automatically? Actually I don't want use to \vspace... and the same command, and also I want to ...
1
vote
1answer
63 views

A simple table with a (baseline?) problem

I am trying to make a simple table with vertical centering, but after I compile there is a larger vertical space between "She" and "He" in the output. I have taken the table down to its simplest and ...
2
votes
1answer
180 views

baselineskip param of \fontsize doesn't add space between my lines

I'm setting baselineskip to a multiple of 4 times the fontsize and it's having not much of a difference from 1.2. At 1.2 the text collides as well. I'm making a flashcard app, so the text should be ...
0
votes
0answers
57 views

\baselineskip changes values between different computers, even using same Tex editor

My problem is that my .tex file contains many \baselineskip and these seem to have a value that changes between different computers. That's what happens in practice: I work on a computer at work using ...
1
vote
1answer
75 views

Section title exactly on the line above the following paragraph

I am trying to position section titles on the line above the following paragraph. By redefining the space above and below, I get two distinct undesirable outcomes: 1: The extra space pushes the ...
1
vote
0answers
39 views

Why are two radicals set at different heights? [duplicate]

In typesetting the following in a, \sqrt[n]{a \cdot b} = \sqrt[n]{a} \cdot \sqrt[n]{b} … the second radical is being typeset higher than the first: Why? And how can I fix it? MWE: \...
6
votes
2answers
459 views

Set baseline from coordinates in a standalone TikZ image

I include the TikZ image "One-Point.tex" inside an aligned environment in an equation. However, since it's not exactly the same height above and below the center of the loop, it's not vertically ...
1
vote
0answers
79 views

Baseline alignment on BOTH pages

A friend of mine said to me that my (almost) finished Ph.D thesis would look much better if my baselines were always aligned (between left and right pages). How can i do that ? The picture is a ...
3
votes
2answers
179 views

Use of \small to resize a math display affects the baselinestretch of the preceding paragraph

This question is related to this one: I have this code: \documentclass[11pt]{article} \pagestyle{empty} \usepackage{blindtext} \renewcommand{\baselinestretch}{1.1} \usepackage{amsmath} \...
0
votes
3answers
188 views

Vertically aligning text and equation in two minipages

I have two minipages next to each other, the first one containing text that describes an equation, and the second one containing the actual equation. I want to align the text vertically so that the ...
5
votes
1answer
127 views

\vfill with descenders (flush baseline to bottom)

Is there a way to shift the baseline of dome text to the page bottom, i.e. with ignoring descenders? Actually I thought this is the case with \vfill but it isn't … \documentclass{scrartcl} \...
4
votes
1answer
299 views

Get depth from a generated PNG with chemfig package

I generate PNG images from latex code to display in web/mobile applications. The general flow is: Client makes an API call with the formula I should render I wrap the formula in a preamble and run ...
1
vote
2answers
158 views

Text got misaligned after psfrag replacement took place in .eps

I need to translate to translate texts in eps files. For this i use psfrag package like this: \documentclass[12pt]{article} \usepackage{psfrag} \usepackage[dvips]{graphicx,color} \usepackage[utf8]{...
4
votes
2answers
6k views

Break size-symmetry of `\frac{}{}`

If my fraction has a taller numerator than denominator, e.g.: \frac{\begin{array}{c} t\\a\\l\\l\\ \end{array}}{small} I like the way it is still adjusted to the baseline. However, something weird ...
1
vote
1answer
105 views

PsPicture baseline

When compiling the following MWE with LaTeX->PS->PDF, the psframe ist aligned correctly to the baseline. Using auto-pst-pdf and PDFLaTeX, I get the following unwanted gaps. pst-pdf doesn't work either....
5
votes
2answers
570 views

TikZ: using nodes inside nodes

I am trying to nest nodes like this: \usemodule[tikz] \usetikzlibrary{arrows, positioning} \starttext \starttikzpicture[font=\tt, remember picture] \node (add-entry) {entry}; \node[right=...
2
votes
2answers
289 views

Vertically align text to fraction line in equation with nested fractions

I am trying to get output that would look like this: The MWE I attached works well for equations with non-nested fractions or without fractions. The problem arises when I have equations with nested ...
2
votes
2answers
1k views

Change \baselineskip to match other fontsize than currently used

I want to increase the \baselineskip size to the one used with \normalsize. So if I use a \tiny size, I want the spacing between the lines to match the spacing between the lines in \normalsize. I don'...
1
vote
2answers
314 views

Changing the line height in section titles using \titleformat

I am using \titleformat from the titlesec package to restyle sectioning with a rule underneath, but I can't get it to obey the line-height (second) parameter of \fontsize (I am assuming that somewhere ...
0
votes
1answer
500 views

How to eliminate the space after section when baselineskip has been used?

I apologize if this question has been asked before, I searched the site I found some similar questions but didn't exactly find this. I would like to eliminate the space after the section title. This ...
0
votes
1answer
628 views

TextField underlined

Can someone show me the necessary code to get an underlined textfield in latex? I want the solution to be as simple as possible so that I can customize it as needed. Ideally, I would prefer something ...
1
vote
1answer
93 views

Lining up boxes using different fonts

I am writing a math quiz that uses cloze questions: questions with a missing number that has to be determined. To accommodate the handwriting of students, I'm creating an answer box using \fbox{\huge\...
4
votes
2answers
203 views

tikz cannot find a node for use as a baseline

Minimal (non-)working example: \documentclass[tikz,border=2pt]{standalone} \usepackage{accsupp,xparse,hyperref} \usetikzlibrary{calc,fadings} \pgfkeys{/SS/nulx/size/.initial=0.25ex,/SS/nulx/size/....
3
votes
2answers
149 views

Baseline of a cell with a rule is messed up because of \color

I have a table (tabulary) in which some cells are only filled with a rule. This rule is 1ex thick and I want that the bottom of the rule matchs the baseline (of all cells of the row). I've found that ...
3
votes
2answers
206 views

Express boxes properties in tikz coordinates

In my understanding, any LaTeX box displays such fundamental properties: .. and anything is wrapped into a LaTeX box. So, when I produce a tikz picture, it must be somehow wrapped into a box. Indeed,...
4
votes
1answer
1k views

How to set the baseline of a box?

I want to change the baseline of a box so that the depth of the box is equal to that of a letter with a descender in the current font. So far I have only been successful in setting the baseline to ...
5
votes
1answer
412 views

TikZ: force two pictures to use the same baseline/frame of reference

I have two TikZ automata I would like to place side-by-side: However, I would prefer the 'start' nodes to be aligned vertically on the page. This happens automatically if I add help lines large ...
2
votes
1answer
291 views

Possible to vertically shift baseline without using a box?

I would like to adjust the relative vertical alignment (baseline) of stretches of text; I'm aware of \lower, \raise and \raisebox, but as far as I can see those commands require / represent boxes and, ...
0
votes
1answer
71 views

linespacing local font environment [duplicate]

I have a multi-paragraph section of tiny-font within a larger document of normal-size text. The last paragraph within this section seems to get double spacing: I can fix the problem by putting a ...
6
votes
1answer
128 views

Baseline issues with Computer Modern Math Extension

Context: in the Computer Modern Math Extension font (cmex), the baseline seems to be going through the top of every character. I have become aware of this by displaying various characters from the ...
4
votes
1answer
84 views

Can lineskip depend on how close the boxes are horizontally?

TeX adds lineskip when two lines would get too close together. However, this ought to depend on whether the conflicting boxes in question are near each other horizontally, not just vertically. Is ...
11
votes
1answer
736 views

Drawing lines along text baselines

I'm not very familiar with the world of TeX and its flavors, and I'm having trouble evaluating whether it fits my needs before I dive into it. TeX and its ilk can draw horizontal line strokes, but can ...