Questions tagged [physics]
{physics} is a package for making typesetting mathematical physics easier and more readable. It provides macros for vector notation, quantum mechanics bracket style etc.
140 questions
1 vote
0 answers
105 views
How can I typeset astrophysics equations with variable-sized vector notation that scales correctly inside multi-line environments?
I’m writing a paper draft in LaTeX that includes several astrophysical vector equations, such as angular momentum: \[ \vec{L} = \vec{r} \times \vec{p} \] However, when I typeset similar equations ...
1 vote
1 answer
82 views
Lack of font coherence in Beamer using Gotham theme and physconst package
I would like both the numeric and unit parts to be in the same default font as the Gotham beamertheme. And this applies to both the siunitx and physconst packages. \documentclass[11pt,aspectratio=169]...
5 votes
1 answer
330 views
Does the way LaTeX renders Greek letters have any special meaning when they look like regular letters?
I'm using a dataset of LaTeX code to generate images and train a model to predict the LaTeX code from those images, that is LaTex-OCR.The data I'm using is from this GitHub repo: GitHub - lukas-...
1 vote
2 answers
178 views
How would I make a command for the covariant derivative?
I have been using the physics package to write my derivatives. I have been studying general relativity, and have recently been introduced to the covariant derivative, which is notated the same way as ...
0 votes
1 answer
133 views
Feynman diagram TikZ
I want to make this kind of Feynman diagram in Latex using '\usepackage{tikz-feynman}'. I now have this: \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage{titling} \usepackage{...
0 votes
1 answer
154 views
How to Create a Gimbal Model for One Axis Using TikZ?
I am trying to create a diagram of a gimbaled system with a single-axis model using TikZ. The diagram below is an example of the model I want to replicate in TikZ: Baskın, Mehmet & Leblebicioglu, ...
4 votes
4 answers
726 views
Is there a way to get physics to work with LuaLaTeX and unicode-math?
When I try to use the \vb* macro of the physics package with LuaLaTeX and the unicode-math package, not a single OpenType math font seems to support bold characters. \documentclass{article} \...
0 votes
1 answer
625 views
Issue Installing and Using physics.sty
I am trying to install and use physics.sty to compile a .tex file that someone has given me. However, I'm running into issues because as per what I can see, I have installed the physics package, but I ...
2 votes
1 answer
88 views
A lengthy integral
Help! Here’s my code: int_1 ^2 (\vec{\nabla}_\vec{r}L\cdot\delta\vec{r} + \vec{\nabla}_\Dot{\vec{r}}L\cdot\delta\Dot{\vec{r}}) dt I want it to show this: Instead, it gives me this: How do I rectify ...
4 votes
2 answers
245 views
How to do smooth merging of two points using tikzpicture
I'm drawing this figure using tikzpicture. My codes are as follows, \documentclass[a4paper,11pt]{article} \usepackage{tikz} \usetikzlibrary{calc} \begin{document} \begin{tikzpicture}[...
3 votes
4 answers
437 views
Need help in tikzpicture
I'm trying to draw this plot , I've done the triangle, but I'm not able to draw the curves between $A_1$ to $A_2$, between $A_3$ to $B_3$ etc. \begin{tikzpicture} \path[draw, line width=1.5pt](...
3 votes
1 answer
427 views
Using \sisetup with siunitx package for automatic unit formatting
I am using LaTeX to write out homework for a Physics class. There are a lot of units in math notation that I need to write, so I am trying to make them as easy as possible. I used the {siunitx} ...
0 votes
1 answer
174 views
energy band structure of a semiconductor
I need to create an energy band structure of a semiconductor plot diagram or of One-dimensional crystal with periodic potential, where only several lattice points are included through tikzpicture. I ...
1 vote
1 answer
301 views
How to typeset physics problems and their solution
I want to typeset physics solution like this: It's in Ukrainian, but the contents doesn't matter. I want to have two columns: In the left column there should be two cells: one with given values, the ...
2 votes
2 answers
272 views
Attempting to redefine \dv and \pdv from Physics package to display style without setting the surrounding environment to display style
I am using the physics package which adds the \derivative and \partialderivative commands, in addition to the \dv and \pdv commands which are just the shorthand versions. For those unfamiliar, these ...