Questions tagged [bar]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
32 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 ...
August's user avatar
  • 23
0 votes
0 answers
41 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
57 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
  • 481
0 votes
1 answer
284 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
262 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
138 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
115 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
36 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
155 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
102 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
247 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
  • 633
0 votes
1 answer
87 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
131 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
126 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
98 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
238 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
192 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
256 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
37 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
357 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
  • 23
1 vote
1 answer
29 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
743 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
459 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
83 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
  • 13
3 votes
3 answers
153 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
562 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
5 votes
3 answers
3k 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
285 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
123 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
  • 121
1 vote
0 answers
185 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
560 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
2 votes
0 answers
504 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
  • 121
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
208 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
140 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
144 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
110 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
  • 353
2 votes
0 answers
750 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
198 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
8 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
  • 137
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
6 votes
2 answers
5k 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
602 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
1 vote
1 answer
830 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
  • 113
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
2 votes
1 answer
3k views

How to color each column in a bar chart with different colors?

I have the following bar chart and I would like to color each column differently. Both columns are in the same plot, when I separate them just to give a different color values for each one the ...
User505's user avatar
  • 287
2 votes
1 answer
2k views

Double-bar notation for second-order tensors4

I found it interesting to represent a tensor with the notation normally used by my professor. Looking for respect to the mathematical symbol I found this code from this post, very interesting. I ...
Antonio's user avatar
  • 543
2 votes
0 answers
131 views

Inter- and intra-group spacing in bar plots

Can someone help me manage the spaces between bars in a bar plot. I have the following data: 0.0000,0.0001,0.0001,0.0003,0.0006 0.0001,0.0001,0.0003,0.0006,0.0011 0.0001,0.0003,0.0006,0.0011,0.0022 ...
tx008l's user avatar
  • 103
2 votes
1 answer
5k views

How to place a wide bar over a wide expression?

I need to place a wide bar over the following expression <x , y> Using command \bar{<x , y>} just puts a small bar sign over the expression. I need the bar sign to cover the entire ...
Hedayat Mahdipour's user avatar