TeX - LaTeX Stack Exchange Community Digest

Top new questions this week:

How to paint the regions?

I wanto to paint the figure But, I can only do the drawing without the painting. My codes: \documentclass[12pt]{article} \usepackage{fontspec} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} ...

user avatar asked by Benedito Freire Score of 8
user avatar answered by Tom Score of 8

Changes to textcase and LaTeX kernel in the June 2022 release affecting uppercased captions

With the June 2022 release of LaTeX, the case-changing commands formerly controlled by the textcase package have been absorbed into the kernel, as described in ltnews35, page 4. A result of this ...

captions latex3 textcase  
user avatar asked by John Score of 7
user avatar answered by David Carlisle Score of 4

Enumeration of sqrt signs

I need to enumerate \sqrt signs as shown in the picture below but have no idea how to do it. I wonder if anyone could help. Thanks

enumerate sqrt  
user avatar asked by Jason Score of 7
user avatar answered by Steven B. Segletes Score of 7

Referring to two or many corollaries in LateX

I am using \thref{cor1, cor2} to cite two corollaries, and it provides instead of Corollaries 3.3.9 and 3.3.10. (It gives "Corollarys" as the plural of Corrolary). If I have the following ...

cleveref amsthm newtheorem  
user avatar asked by Dimbi Rabearivony Score of 7
user avatar answered by egreg Score of 6

Adding two diacritical points under letters

I'm working on a glossary with some transliterated Persian, Urdu and Arabic. Conforming with earlier publications, I sometimes need to use two diacritical dots under letters such as s, z and t. I've ...

spacing letterspacing diacritical-mark  
user avatar asked by Parvana Score of 6
user avatar answered by egreg Score of 5

Draw boxes around nodes in tikz

I want to create something like this: from the following code without the boxes: \documentclass{beamer} %layout \mode<presentation>{ \usetheme{Madrid} } \usepackage{tikz} \begin{document} \...

tikz-pgf graphs  
user avatar asked by hellothere177 Score of 6
user avatar answered by SebGlav Score of 7

The letter 'i' in small capital, boldface and italic with "newpxtext"

Using newpxtext under an Unicode engine. With \scshape\bfseries\itshape, the lowercased i becomes while with \scshape\itshape it is simply as expected. Is this by design or is this a bug? Is there ...

fonts fontspec  
user avatar asked by Jinwen Score of 5
user avatar answered by egreg Score of 6

Greatest hits from previous weeks:

Crop an inserted image?

I'm inserting an image with a simple: \includegraphics[height=5cm]{filename.png} This results in an image that maintains the aspect ratio, and so gives me something like 6cm width. I only really ...

graphics crop  
user avatar asked by naught101 Score of 277

How to create fixed width table columns with text raggedright/centered/raggedleft?

I would like to create a table with some columns' width specified, while the text in those columns should be centered both horizontally and vertically. I found out that \usepackage{array} \begin{...

tables horizontal-alignment width  
user avatar asked by Covi Score of 289
user avatar answered by lockstep Score of 445

How to include SVG diagrams in LaTeX?

I'm making all my diagrams in SVG format using Inkscape and then I export them to some other format (e.g. PDF, EPS or PNG). I wrote a short script that does this for me automatically, but I'd like to ...

graphics svg  
user avatar asked by Martin Tapankov Score of 669
user avatar answered by Speravir Score of 164

Multi-line (block) comments in LaTeX

In LaTeX, % can be used for single-line comments. For multi-line comments, the following command is available in the verbatim package. \begin{comment} Commented code \end{comment} But is there a ...

user avatar asked by Arindam Pal Score of 304
user avatar answered by guillem Score of 231

How do I put text over symbols?

This is difficult for me to explain, but how do I put words over a symbol? For instance, I want to add words over an equal sign. Anyone know the command/syntax for that? Also adding ^ doesn't cut it.....

user avatar asked by Lemon Score of 141

Change line spacing inside the document

This is my code \documentclass[12pt,a4paper]{book} \renewcommand{\baselinestretch}{1.5} \begin{document} \include{Chapter1} \end{document} I have please a question: I would change the line ...

user avatar asked by researcher Score of 160

"Correct" way to bold/italicize text?

Is either of these considered better/more readable/more "proper"/more conventional than the other for making text bold? If so, what is the reason? I like my text \textbf{bold} versus: I like my ...

best-practices bold italic  
user avatar asked by user541686 Score of 472
user avatar answered by Todd Lehman Score of 440

Can you answer these questions?

How to make vertical space independent of title content (with/without descenders)?

I have following tikzposter example with four blocks. In the top two blocks one of the titles is completely without descenders (block x) while the other one contains the letter y that goas below the ...

user avatar asked by flawr Score of 1

How to handle error message `lualatex-math.sty' not found?

I wan't to compile the following latex-code within Texstudio on Ubuntu 22.04 LTS: % !TeX TS-program = lualatex \documentclass{article} \usepackage{unicode-math} \begin{document} \[ ¬q→ ...

user avatar asked by Martin Kunze Score of 1

Document not rendered correctly in Acrobat

I'm creating a document with an image I want placed in the background. But, I want to partially cloud out the background image. My code works as desired. The problem is how it is rendered in ...

tikz-pgf overlays transparency acrobat  
user avatar asked by A.Ellett Score of 1
You're receiving this message because you subscribed to the TeX - LaTeX community digest.
Unsubscribe from this community digest       Edit email settings       Leave feedback       Privacy
Stack Overflow

Stack Overflow, 110 William Street, 28th floor, New York, NY 10038