Skip to main content

Questions tagged [root]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
2 answers
83 views

How to compact an expression in subscript vertically?

I thought LaTeX would figure out by default that it should adjust some settings for the base of the logarithm in $\log_{2\sqrt[6]x}{1994}$ but it doesn't. The root symbol is too tall and extends too ...
ByteEater's user avatar
  • 163
0 votes
0 answers
31 views

cmd - T typesets chapter files instead of root file?

I'm currently working with a root file and many chapters in Texshop. The chapters are in a sub-folder 'chapter'. I read in this pdf that you can actually insert the magic command % !TEX root = ../...
Dat Ho's user avatar
  • 1
2 votes
1 answer
223 views

How to raise this power of the surd (fifth root)?

\[ \sqrt[5]{ \left[ \left( \sqrt[3]{16+8\sqrt{5}} + \sqrt{6-2\sqrt{5}} \right)^{ \sqrt[3]{16+8\sqrt{5}} - \sqrt{6-2\sqrt{5}} } \right]^{\...
CasperYC's user avatar
  • 697
1 vote
0 answers
3k views

Latex Workshop error: Cannot find LaTeX root file

I recently changed from Windows to Ubuntu because I'm learning to code. I used to write my class assignments in LaTeX using vscode and Latex Workshop. However, I've tried to set it up in Ubuntu and I'...
Alex Moreno's user avatar
4 votes
1 answer
175 views

Root symbol on newtxmath

I'm using the newtxmath package, but I don't like the symbol layout for the roots. I would like to go back to the root symbol of computer modern font. any command line to do it, after \usepackage{...
Martín Moreno's user avatar
1 vote
1 answer
93 views

Magic comment root document \jobname

I want to use \jobname as input for a magic comment % !TeX root = \jobname.tex, but it doesn't work. There are two files, one *.tikz and one *.tex. MWE Tex: \documentclass{article} \usepackage{tikz} \...
kilsen's user avatar
  • 357
4 votes
1 answer
84 views

Square roots of different heights in the denominator

The square roots in the denominator have different heights and I'm not exactly sure why \[\sqrt{x^{2}+ax}-\sqrt{x^{2}+bx} = \frac{a-b}{\sqrt{1+\frac{a}{x}\mathstrut} + \sqrt{1+\frac{b}{x}\mathstrut}}....
saad's user avatar
  • 193
1 vote
0 answers
66 views

How exactly are parentheses (and other special symbols) rendered in LaTeX? How do they relate to the font used in the document?

I am compiling this sample document: \documentclass{article} \begin{document} \(\sqrt{\left(\frac{2}{3}\right)}\) \(\int_{a}^{b} \sqrt{\left(\frac{2}{x^2}\right)} \,dx\) \(\left(\frac{2}{\frac{2}{\...
Ecco's user avatar
  • 111
1 vote
0 answers
91 views

Roots and spacing: symmetrical brackets [closed]

I have this simple MWE, \documentclass[a4paper,12pt]{article} \usepackage[italian]{babel} \usepackage[utf8]{inputenc} \usepackage{mathtools,amssymb} \usepackage{geometry} \begin{document} \begin{...
Sebastiano's user avatar
  • 56.6k
0 votes
0 answers
92 views

Strange overhangs in the roots between mtpro2 and newtxmath

Executing this MWE, \documentclass[a4paper,12pt]{article} \usepackage{newtxtext,newtxmath} \begin{document} $\sqrt{2}$ \end{document} with this output, you can see an overhang, marked with a green ...
Sebastiano's user avatar
  • 56.6k
4 votes
4 answers
509 views

Syntax for special looking (complex) root?

I am looking for the command/package that can produce the following root: I have found something calling this a "complex" root - but nothing really more. Does anyone have some more ...
Chris Beckenbauer's user avatar
2 votes
1 answer
154 views

Drawing shaded region above a shifted square root function

EDIT 1 I changed the code a bit. This code worked: \addplot[name path=A,domain=-0.236:4.236, solid, blue] {sqrt(5-(x-2)^2)}; \addplot [name path=C, line width=0.05pt] coordinates { (-0.236,5) (4.236,...
Upwork yasir's user avatar
0 votes
1 answer
350 views

How to use long radicals to write nested roots?

Well, I understand that expressing something like this is much easier to achieve using exponents that are equally valid and mathematically correct. But while it's the most obvious solution, I'm ...
Aradnix's user avatar
  • 3,745
0 votes
1 answer
66 views

table with a large root inside (trig mnemonics)

I'd like to reproduce the following trigonometry mnemonic table on LaTeX for my high school students. I tried a table within a table but the columns didn't align correctly, they were more cramped ...
Simón Ángel's user avatar
10 votes
2 answers
906 views

How to cancel the root but not the expression inside it?

I wanted to cancel the root of an expression like this \documentclass{article} \usepackage{cancel} \begin{document} \[\cancel{\sqrt{\left(a+b+c+d+f+g+h+e\right)^{\cancel{2}}}}\] \end{document} I'm ...
Concept7's user avatar
  • 655
2 votes
0 answers
5k views

Unable to write nth root [duplicate]

I would like to write the nth root, it's fairly simple as \usepackage{amsmath} \begin{equation} a = \sqrt[n]{b} \end{equation} but I get the output as Can anybody help me with this. ...
Chandramouli Santhanam's user avatar
8 votes
2 answers
3k views

TeXLive no longer find path

All of a sudden my TeXLive is no longer find any path; it was working fine. Now, it gives me when I compile any latex file: kpathsea: Running mktexfmt latex.fmt /usr/local/texlive/2018/bin/x86_64-...
Waleed A. Yousef's user avatar
0 votes
0 answers
249 views

How to typeset nested radical/root expressions?

I'm writing my own math expression typesetting engine. I want to learn how to best typeset radical expressions. The choices actually apply to all radical expressions, however, nested radical ...
an0's user avatar
  • 521
0 votes
1 answer
609 views

yhmath impact on radical symbols and delimiters

In November 2014 I had an issue with this code and yhmath package: \sqrt{n+\sqrt{(n-1)+\sqrt{(n-2)+\dotsb+\sqrt{2+\sqrt{1}}}}} Depending on whether that package was being used or not (and AMS-...
ivankokan's user avatar
  • 1,076
1 vote
1 answer
500 views

Calculate a coordinate

I could calculate the coordinate, sure but I want Latex to do it. But it gives many errors and a wrong coordinate pC', (pC is correct), what do I forget? \documentclass[aspectratio=169]{beamer} ...
Bert Booltink's user avatar
4 votes
0 answers
2k views

Magic comment to specify root document in plain MikTeX [closed]

I'm aware that some LaTeX editors provide some "magic comments" to indentify the root document from within a child file \inlude{}-ed in the root. Examples are the % !TEX root = <rootfile> ...
Arne's user avatar
  • 141
4 votes
2 answers
166 views

root index crossed by root sign [at a very large font size]

I came across with a problem when calling the yhmath package in a 17pt-letter-size document of the extarticle document class. The index is crossed by the line of the very sign of the root. It's ...
Aweraka's user avatar
  • 263
0 votes
1 answer
847 views

Texmfhome on windows : main directory grouping macros, biblatex files

I want to specify a directory for all my macros and biblatex so that i avoid to copy and paste between folders for my editing. I heard about Texmfhome but it is on Linux, so how can i configure it ...
Hamza.w's user avatar
  • 603
0 votes
0 answers
98 views

Error in loading ROOT output graph in LaTex file

I was trying to insert the graph created using ROOT in my LaTex file as per this webpage . It tells to save the ROOT output graph in tex and then embed it in the LaTex File. But when I am trying to ...
SchrodingersCat's user avatar
0 votes
1 answer
1k views

How to create a "my TeX folder" with MiKTeX 2.9 on Windows 10

I was finding that for several days there and on lots of other forum but nothing specific for my problem. Could anyone here advice me how to crate my TeX folder for store my styles and templates there?...
Marek Otýpka's user avatar
5 votes
1 answer
109 views

Why doesn't TeX interpolate between root glyphs of different sizes?

I rendered using the following code: $ \sqrt{x} \sqrt{y} \sqrt{x^2} \sqrt{\frac{x}{y}} $ I find the difference in the gap above the x and y to be super annoying. It would be nice if there was ...
Kevin Barabash's user avatar
0 votes
2 answers
517 views

Table format and rooted fraction

I'm having two independent problems while creating a table. First, how can I center a column's top row (column's name) but keep the text of the following rows left justified? My second problem is ...
dfel's user avatar
  • 11
2 votes
1 answer
1k views

Can't find .bib-file in created root using MiKTeX

I'm using MiKTeX 2.9 installed on drive C:\. (win7-64bit) In MiKTeX options menu I added a new root under E:\drive\latexfiles\ This folder looks like /bibtex ../bib ../../misc ../bst ../.....
lmartinl's user avatar
17 votes
2 answers
19k views

How to compile from a subchapter or how to set root file?

I have a document structure with subfiles/subchapters. Until now, I worked with TexMaker and TexLive on Windows and with the following line in every subfile, everything just worked great. %!TEX root = ...
Spenhouet's user avatar
  • 952
1 vote
1 answer
2k views

Center root of forest tree

In an assignment for school I require making a lot of trees and large ones too. I searched for some methods and stumbled upon the package forest which has helped me a lot. I'm almost done but couldn't ...
Hans's user avatar
  • 11
9 votes
1 answer
9k views

What is a LaTeX root document?

I am using Kile on the system Ubuntu11.04 (and also a Kile user on Kubuntu 14.04). Whenever I am compiling a tex file with kile, it shows a message below: I have a book document with a Master.tex ...
Soumitra Sen's user avatar
  • 2,995