Skip to main content

Questions tagged [bar]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
2 answers
95 views

How to define a "vnodash" command?

I would like to typeset the following sequent: A | Γ ⊢ B. I have tried, \documentclass{article} \begin{document} $A \mid \Gamma \vdash B$ \end{document} but \mid has a much greater height that \vdash....
user avatar
2 votes
1 answer
44 views

apply bar or tilde to symbol only (ignore subscript)

\documentclass[12pt]{article} \usepackage{amsmath} \begin{document} $ \bar{S_{i,k}} $ \end{document} What I want is to span the bar only over the letter S. Obviously, the solution to this is $\bar{...
Simon's user avatar
  • 325
4 votes
4 answers
724 views

How to write this variant of Dirac slashed derivative?

I want to write: Can someone please help me with this?
Bastam Tajik's user avatar
0 votes
0 answers
22 views

Add citation levels, like in e-mails [duplicate]

I am writing a report, in which I would like to cite some text and theorems, and I am wondering if there is an easy way to add a left bar to these citations, like in e-mails or the code below, to ...
Le_Petit_Prince's user avatar
1 vote
0 answers
41 views

Prettier \overline and \bar [duplicate]

This has bothered me for a long time but I really dislike the way \overline looks. It always looks too clunky and far away from the letter or number it's over, or sometimes too close. Similarly, \bar ...
4u9ust's user avatar
  • 23
0 votes
0 answers
51 views

Space bar on keyboards no longer working in LyX

The space bar on ALL my keyboards no longer works in LyX! In order to supply an appropriate space after each word, I can no longer simply press the space bar but have to press SHIFT + SPACE. WHAT has ...
Maxwell's user avatar
  • 19
2 votes
2 answers
61 views

How to draw a patch inside a bar to indicate hours in a day?

Problem I would like to indicate the time duration of an event as a colored patch inside a horizontal bar, the latest representing a 24-hour timeline (i.e. a 24 units long bar), that should help the ...
Ommo's user avatar
  • 849
0 votes
1 answer
581 views

How to fix the appearance of power (10^x) on axis, so it will be near or at the x axis

I am plotting a bar plot and the power (10^x) at x-axis located very far from the axis as shown in the figure below: I used the following codes to plot the figure: \pgfplotstableread{datahis.dat}\...
Eman Hasan's user avatar
0 votes
1 answer
358 views

multiple bar in horizontal bar chart in latex

I am trying to show a performance comparison of the different machine learning models by multiple bars in a horizontal bar chart in latex. I have tried the following code: \begin{figure*}[!tbp] ...
Christopher Marlowe's user avatar
1 vote
1 answer
164 views

Labels above error bars

Can someone help me to place these labels above the error bars? And is there any option to show the SDs besides the label? \documentclass{article} \usepackage{tikz} \usepackage{pgfplots} \pgfplotsset{...
Bennet's user avatar
  • 15
1 vote
0 answers
198 views

How to shorten the section names in the miniframe navigation bar in a Beamer?

I'm having a problem with the navigation bar in a beamer. The following image shows that is overloaded with text. In a forum I found that a way to reduce the text is to put the text in the square ...
Sebastián Gómez's user avatar
0 votes
1 answer
40 views

How to plot a chart with bars

I would like to know how I could plot a chart of this type in latex: Maybe tikz would be helpful in this case? What would this kind of code look like?
ImHackingXD's user avatar
1 vote
1 answer
243 views

Can I create a single ganttbar of a different height?

In a ganttchart environment I can set height of all bars with: \begin{ganttchart}[ bar height=0.7, ]{1}{3} \end{ganttchart} Can I do something similar for a single ganttbar ? What I ...
zajer's user avatar
  • 217
1 vote
1 answer
120 views

add scrolling arrows to presentation (to switch between slides)

how can i add scroll arrows to slides latex. to switch slides in pdf. i'm using overleaf beamer . thank you for helping . that that it completely describes my problem it completely describes my ...
Lasri Iliass's user avatar
1 vote
1 answer
754 views

\overline, \bar, \widebar: using the style of \bar, but making it longer

I prefer \bar over \overline because of two reasons: \overline places the line too far below, consider for example \overline{r}. has a thicker line than \bar, possibly it's even a different font. ...
Thrash's user avatar
  • 653
0 votes
1 answer
114 views

personality using bar graphs

I want to add in my resume. How do I do that? I want similar to this. Thx for ur help!
Makino's user avatar
  • 1
2 votes
1 answer
143 views

Help with \bar accent

I'm using the notation of conjugated complex numbers, however, $\bar$ accent doesn't work well when summoning $\dfrac$ . What shall I do? $\dfrac{\bar{w}}{w} \cdot \bar{\dfrac{\bar{w}}{w}}$
Hari Seldon's user avatar
0 votes
1 answer
170 views

Norm with bold bars without bold text inside [duplicate]

I defined my norm as: \newcommand{\norm}[1]{\left\lVert#1\right\rVert} And my bold norm as: \newcommand{\bnorm}[1]{\boldsymbol{\norm{#1}}} But I want to write something like \bnorm{x^{(i)}} where I ...
cgss's user avatar
  • 301
1 vote
1 answer
123 views

Small bars above and below the page number

I do need to introduce small bars above/under page numbers, I have checked out there is a similar question about a small bar over the page number, however, in my case does not work for the lower one. ...
Juan Patran's user avatar
0 votes
0 answers
334 views

How to display overline above a fraction?

I'd like to add a bar / overline above a fractional statement, such as the one in this image: I am using tasks package and this inside a \subparagraph inside a \paragraph.I have tried in some manners:...
Safwan Hossain's user avatar
0 votes
1 answer
259 views

3 equal right vertical bars in latex

I am trying to write the following equation in latex. But I am not getting it. I have tried many times. My MME is: \documentclass{article} \usepackage[margin=1in]{geometry} \usepackage{amsmath} \...
Abuzar Ghafari's user avatar
2 votes
1 answer
296 views

How to put text inside chronoperiode timeline-bar?

How can I put text inside the bar instead of over the bar? Thank you in advance for your help! \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{chronosys} \begin{document} %--------...
Cecilie V's user avatar
2 votes
0 answers
38 views

Add to y error bar and error ellipse.Help me please

''' \savedata{\myData}[ 0.49328505454e+003 4.49778525251e+003 0.49584934756e+003 4.49579821639e+003 0.49334314462e+003 4.49720809875e+003 0.49389975903e+003 4.49785443271e+003 ] ...
grkmkkn's user avatar
  • 43
1 vote
1 answer
401 views

How to change section number to relabel theorems(newtcbtheorem 3.1 to 1.1) while preserving sections in progress bar in Beamer?

Here is my MWE: I have a two sections(Review and Summary) before my First section (section 3) and Second sections (section 4). So Theorems in my First/Second sections get numbered Theorem 3.1 and ...
CSA's user avatar
  • 35
1 vote
1 answer
31 views

Two graphs not equal ,second graph draw above the x-axis?

I am crated graph for two data set using folowing code. \begin{filecontents*}{data3.csv} Test Hard Soft a 25.12221 26.34338 b 23.55208 23.55208 c 17.74874 26.8047 d 18.47252 28.57218 e ...
uma's user avatar
  • 277
1 vote
1 answer
882 views

Bars are not fully shown / cut-off in bar graph tikzpicture

I assume this is a simple fix, but I just don't see it at the moment. I have four data sets (A,B,C,D), however the bars are not fully shown at x = 200 and x = 800. Thanks in advance for any help. \...
Lourens Pool's user avatar
0 votes
2 answers
717 views

PGFPlots - When setting ymin on bar plot, gap occurs between bars and the x-axis labels

I'm sing PGFPlots in pdflatex, I'am trying to set the minimum value of the y-axis to be 0. However, when i use the ymin=0 command, I get a gap at the bottom of the graph, between the bars and the ...
William Smith's user avatar
0 votes
1 answer
90 views

Plot a line over a bar chart from a data table

i have the following code: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{pgfplots} \usepgfplotslibrary{statistics} \bein{document} \begin{figure} \centering \makeatletter \...
Helen's user avatar
  • 23
3 votes
3 answers
177 views

Recentering \bar over to account for integral alignment

I'm trying to write an integral with upper and lower bounds denoted with over- and under-bars respectively. The issue is that because the integral is slanted, it makes it hard to line up the symbols ...
M D Ricks's user avatar
2 votes
1 answer
618 views

CV skill bar with text on the left side

I have the following example: \newcounter{yval} \newenvironment{bardiagram} { \setcounter{yval}{0} \newcommand{\skill}[2]{ \filldraw[lightgray] (0,\value{yval}) ...
Metalhead's user avatar
  • 109
5 votes
3 answers
4k views

How can I write this bar in LaTeX?

I want to write this in LaTeX: However, $$\overline{S_n}^2 = \frac{1}{n}\sum\limits_{i=1}^{n}(X_i - M_n)^2$$ gives me: whereas $$\bar{S_n}^2 = \frac{1}{n}\sum\limits_{i=1}^{n}(X_i - M_n)^2$$ gives ...
J. Doe's user avatar
  • 243
0 votes
1 answer
565 views

Putting a bar over the variable not the argument or the space between them

I am trying to put the bar on the variable but I either get it on the argument with \bar command or over the whole with \overline. The expression is. Look especially at the derivative and s: \begin{...
F.O's user avatar
  • 165
0 votes
0 answers
161 views

2 ganttbar for one wp

I'm looking for something to make a double ganttbar for every WP, so I can put the estimated time, and the real time spent on each task. Something like in the picture As you may understand, the ...
Fr3d's user avatar
  • 141
1 vote
0 answers
219 views

Change the pattern density of bar

I want to change the pattern density of the bar. Here is my code \documentclass{article} \usepackage{tikz} \usepackage{pgfplots} \usepackage{pgfplotstable} \usetikzlibrary{patterns} \definecolor{ref}...
Amit Karmaker's user avatar
4 votes
1 answer
573 views

How to make this bar graph look nicer?

I have three questions about my latex code. 1. How can I make the line that says "I want this line to be on the leftmost side, but it is currently not after compilation." be printed at the leftmost ...
Larry's user avatar
  • 55
3 votes
0 answers
570 views

How to count section pages in LaTeX and display them in a progress bar?

I am currently writing a student work in latex as a scrartcl. I would like to make an overview in my document of how many pages I still have to write in each section. So like an actual/target ...
MOE's user avatar
  • 131
3 votes
1 answer
2k views

Decrease spacing between double bars [duplicate]

I'd like double bars over my X, that I can get using these overline symbols \[\overline{\overline{X}}\] I also tried the bar symbols, but they're misaligned over the X. \[\bar{\bar{X}}\] What I ...
Display name's user avatar
1 vote
1 answer
255 views

Double superscript and \bar

it's several groups that I think of a solution for this little problem, but I can't find the optimal solution. I did several tests, using some combinations, but without getting a good result. \...
Antonio's user avatar
  • 543
2 votes
1 answer
145 views

Cannot overline a word inside a verbatim block

I am trying to a overline a word inside a verbatim block but it does not work, for example: \begin{verbatim} Hwy3 =1 Hwy3 Hooterville = 0 \overline{Hooterville} \end{verbatim} I have also tried ...
A.SDR's user avatar
  • 23
1 vote
1 answer
149 views

Change the color of two consequence bars

I have a bar chart where the first bar of each of two bars have the same color and the same for the second bar. The bar chart I have is the following: The code to produce it is: \documentclass{...
CS Student's user avatar
1 vote
1 answer
122 views

Two consequence bars in a chart

I have bar chart that consists of 4 bars. I want to add extra four bars so that I can compare the result of each algorithm before and after a certain modification. the bar I have is the following: ...
CS Student's user avatar
3 votes
2 answers
1k views

Long bar over an ordered pair

I'd like to typeset a long bar symbol over an ordered pair like (g,\epsilon). The best I could do so far is naif and really poor: Is there a standard command for that?
Vladimir's user avatar
  • 343
2 votes
0 answers
861 views

Make words like naïve searchable via naive

very short question about the handling of umlaut and other unicode characters. Is it possible to make them searchable via their ascii-"equivalent" (e.g. a for ä)? Or can that only be done by the pdf ...
user179444's user avatar
2 votes
1 answer
213 views

Tikz bar plot Issues: The histogram is not scaling properly

I am having trouble with my tikz plot, Even the value is 21508 corresponding to drive, it is evident from the figure that histogram is not scaled properly. I do not know why this is happening. My ...
Shammya Saha's user avatar
9 votes
3 answers
1k views

Commenting an equation with a vertical bar

I want to use a vertical bar to comment on solving a simple equation. Do you know a way to do that with LaTeX ?
gilhoo's user avatar
  • 147
5 votes
0 answers
407 views

Stacked bar chart percentage label not showing [duplicate]

I have a stacked bar chart and surprisingly not all the percentage of the bars are shown. I only allowed values more than 3% to be shown, however some are clearly more than 3% and at the same time not ...
thesilencer's user avatar
7 votes
2 answers
6k views

Space around vertical bar/pipe

I am new to Latex and am giving it a try on a homework assignment. My professor's notes (which are written in Latex) include a formula that looks like this: When I try and recreate this formula ...
Nathan Friend's user avatar
3 votes
1 answer
630 views

Individual bar colors

I am trying to create a bar chart where all the bars are blue apart from one but, the last bar isn't being labeled. Below is my LaTeX code, any help would be appreciated. https://www.overleaf.com/...
Simran J's user avatar
2 votes
3 answers
1k views

Align equations on equal and vertical bars between equals

I am aligning some equations using the \begin{aligned} from amsmath package. This aligns the equations using the = as alignment point, which is nice, but I also want a vertical line drawn between ...
Patrik's user avatar
  • 123
0 votes
1 answer
44 views

How to enlarge boxplot in tickzpicture

I've got a question about a barplot using tikz. I' m not very used to tikz and I'm trying to learn how to use it for my thesis. I give you my code. I'd like to enlarge the box so the "90" over "Spagna"...
Jordan_b's user avatar
  • 283