0
votes
0answers
18 views

Linear regression on modified datas

I would like to create a linear regression on modified data. My raw data is on a file called data.dat like that : x,y 1,2 2,3 3,4 4,5 5,8 6,9 7,34 If I do something like the code below, I get the ...
1
vote
0answers
11 views

Define new command using \DeclareTotalTCBox in tcolorbox package

I have defined a command using \DeclareTotalTCBox command in tcolorbox package as blew: \documentclass{article} \usepackage[most]{tcolorbox} \DeclareTotalTCBox{\myverb}{ O{red} v O{} } { ...
1
vote
1answer
9 views

chaptertitle name and chapter number in one line but diffrent edge of the page

This is what I want: Introduction <---all the way on the right edge of the page---> Chapter 1 But, the catch is that I have a 5cm width margin note space in a two sided document. I am working ...
1
vote
1answer
10 views

Numbering style of sections in appendix

I'm using article class in LaTeX and my document has many appendices. In the appendix section, the enumeration of appendices is in the form of "Appendix A" "Appendix B" ... But After "Appendix I" the ...
1
vote
1answer
17 views

clear me the doubt in positioning legend option

\begin{tikzpicture} \begin{axis}[ axis lines=middle, samples=100, ymax=5,legend pos=north east ] \addplot[cyan,domain=0.001:8] {abs(log10(x))}; \addplot[red!70!black,domain=-2:4] ...
0
votes
1answer
12 views

Grouping bookmarks

I am writing my thesis and I would like to collect the parts in two (or more) groups without modifying the header styles. Namely, I have: Part 1 ... Part 2 ... Part 3 .... Part 4 ... and I want to ...
3
votes
1answer
16 views

Using named nodes as pgfplots coordinates

Is it possible to use named nodes as coordinates in an \addplot command? I am trying to plot a line through the averages of a number of boxplots calculated by pgfplots (rather than using boxplot ...
4
votes
3answers
40 views

bullet in table not aligned

I created the following table. however, the bullets are not aligned. What can I do to get them aligned? \documentclass{beamer} \usepackage{booktabs}% http://ctan.org/pkg/booktabs ...
4
votes
1answer
19 views

l3fp keeping trailing zero in math calc

I would like to keep the trailing zeros when the data, used for internal calculations with l3fp, are printed. For example: \documentclass{article} \usepackage{siunitx} \usepackage{expl3} ...
1
vote
1answer
12 views

Subtitles below a part

I am using LateX for my thesis. Is there a way to insert strictly below a part a subtitle that does not appear in the toc?
0
votes
1answer
32 views

Normal distribution with discrete histogram inscribed

How can I produce the following image with tikz? I have seen the codes for plotting the normal curve, but how to get the rectangular shapes inscribed right at their centers? The red is not so ...
7
votes
2answers
37 views

Is `\hspace*` equivalent to `\strut\hspace`?

Is using \hspace* essentially the same as \strut\hspace? The description at \hspace vs. \hspace* seems to suggest that this may be the case, but I was wondering the cases where they might differ.
1
vote
1answer
11 views

Easy mode of titlesec not working with beamerarticle

I can't get the "easy" mode of titlesec to work with beamerarticle. With the following example: \documentclass{extarticle} \RequirePackage{beamerarticle} \RequirePackage{titlesec} ...
2
votes
0answers
15 views

Prevent \topinsert on chapter page (Plain TeX)

How to define chapter to prevent insertion of floating figures and tables (\topinsert) on chapter page. I would like to place an object at the top of the next page. \def\chap#1{\vfil\break \vglue1cm ...
0
votes
0answers
13 views

\setmainfont error with most recent fontspec version [duplicate]

I get a mysterious error running the following MWE (with both XeLaTeX and LuaLaTeX): \documentclass{article} \usepackage{fontspec} \setmainfont{texgyrepagella-regular.otf} \begin{document} Hello ...
0
votes
0answers
11 views

One column IEEE format (figures not go to the end)

I changed a double column paper (\documentclass[journal]{IEEEtran}) to a single column using the command \documentclass[12pt, draftclsnofoot, onecolumn]{IEEEtran}. However, some of the figures are ...
1
vote
1answer
22 views

Latex external document referencing from Main tex file

I have a file structure like this Main.tex chapters (folder) Chapter_1 (folder) chap1.tex Chapter_2 (folder) chap2.tex To refence diagrams and equations from chap1.tex in chap2.tex, I ...
2
votes
1answer
12 views

Always getting upright numbers in references created with \cref, with italic-correction for conjunction between references

How do I make it so that I get upright numbers all the time in references created with \cref? I believe I'm supposed to do this with \crefdefaultlabelformat{#2\textup{#1}#3}. But in my example below, ...
1
vote
0answers
17 views

Insert negative of \widthof into \hspace without defining a newlength

Following MWE does not work: \documentclass{article} \usepackage{calc} \newlength{\charwidth} \setlength{\charwidth}{\widthof{$-$}} \begin{document} \centering $\infty$ \centering ...
2
votes
0answers
17 views

What are advantages & disadvantages of the available poster classes?

I've used baposter for all my conference posters so far and I am rather happy with it. I tried beamerposter before but thought of it being a little less comfortable than baposter. What is your ...
1
vote
2answers
14 views

ConTeXt: How to style interactive elements individually rather than globally

I want two have two links, one bold and one normal. As a MWE: \setupinteraction[state=start,style=normal] \starttext {\bf\goto{Link 1}[url(http://www.example.com)]} \goto{Link ...
0
votes
0answers
20 views

Define amount of space after \newline, \\, or \linebreak

How do I define the amount of vertical space there are after all new lines? I am looking for something that works like this: \define{x = 4} blah blah blah blah \\[x pt] blah blah \\[x pt] Where I ...
1
vote
1answer
21 views

Pgfplots not working with Pgfplotstable

I am writing a document using LaTeX which must contain both graphs and tables. For the graphs I have been using pgfplots and this has worked brilliantly. Now I needed to insert a few tables and was ...
1
vote
1answer
13 views

Improving clarity of embedded videos using media9

I am using the media9 package to embed an mp4 file in my PDF. However, the embedded video is a bit blurry and makes the animation difficult to see. The video's frame is 672x504 (4:3). What are some ...
1
vote
1answer
43 views

Footnote in LaTeX master document

How can create a footnote in the LaTeX master document which will appear on all pages of the pdf output?
1
vote
0answers
14 views

change font size of english words in a persian report

I am using report and xepersian packages to write a report in persian. I have some words and variables which are in english and use the $example$ command to write them when they are inline. How can ...
5
votes
3answers
258 views

Making an anti-clockwise circled arrow around a + sign in a math environment

\makeatletter \newlength\@SizeOfCirc% \newcommand{\CricArrowRight}[1]{% \setlength{\@SizeOfCirc}{\maxof{\widthof{#1}}{\heightof{#1}}}% \tikz [x=1.0ex,y=1.0ex,line width=.15ex, draw=black]% \draw ...
0
votes
1answer
20 views

Adding a custom symbol/logo as a font character to XeteX/Latex

Imagine you have logo or pictogram you would like to use as a font in XeTeX/LateX much like the fontawesome package provides for the likes of twitter, github etc. How would one go about this ?
2
votes
0answers
17 views

PGFPlots polaraxis axis labels are swapped (or in the wrong place)

I have some problems with axis labels when using the polar axis, if I set the X and Y label they appear in the wrong place. When using the polar axis; x coordinate is the angle (azimuth, phi) y ...
1
vote
1answer
28 views

designing my own simple chapter style

I want to design a simple chapter title like the following figure. I want to use xepersian package and reportclass and I tested some other chapter style designs but it didn't work with xepersian ...
4
votes
1answer
46 views

scrlayer-scrpage: different styles for different pages

thanks to this site I was able to get a functional implementation of scrlayer-scrpage. \documentclass[12pt,headsepline,footsepline,plainfootsepline,plainheadsepline]{scrreprt} ...
0
votes
0answers
18 views

Created counter ist counting twice (sometimes)

I wanted to create a couter to count additional chapters (appendix of the thesis). \newcounter{anhangCount} \setcounter{anhangCount}{0} \DeclareRobustCommand{\anhangPraeFix}{ Anhang ...
0
votes
0answers
26 views

Need help to get graphs in the pdf

I am using latexdraw to draw graphs, In the dvi i can see the graphs drawn clearly, but the pdf does not show the graphs can anyone help me.
0
votes
0answers
18 views

Pgfplots and Adobe Reader DC

I am trying to build interactive plots using package pgfplots. I have downloaded from the package page some of the examples with the clickable option, I have compiled them with pdflatex but I have ...
2
votes
0answers
22 views

xymatrix spacing in lyx

I'm trying to use lyx to make an xymatrix with narrowed spacing between the rows. I found in Peter Gumm's notes http://www.mathematik.uni-marburg.de/~gumm/LyX/xypic/xypic.pdf that I could add to the ...
1
vote
1answer
17 views

Trees: adjusting arrows and roofs

How can I ensure that the arrow from $t_2$ curves below "of"? How can I use \qroof{some company}.DP and yet still have the arrow pointing to it? \documentclass[12pt,a4paper]{article} ...
2
votes
1answer
27 views

No space between rows and columns of subfigures

I have created a 3x3 matrix of figures as follow: \begin{figure} \begin{tabular}{ccc} \includegraphics[scale=0.2]{my_figure} & \includegraphics[scale=0.2]{my_figure} & ...
1
vote
0answers
13 views

Replace “Contents” header with the title of a chapter* [duplicate]

I'm using documentclass book with the package fancyhdr I have the following problem with the header. I put \tableofcontents after that I begin with a chapter* \chapter*{Introduction} ...
0
votes
1answer
15 views

(error) \tightlist (converting .md file into .pdf using pandoc)

I was converting 'lecture1.md' file I made via Rstudio into 'lecture1.pdf' using Pandoc at Mac Terminal. and I got this error message : ! Undefined control sequence. <recently read> \tightlist ...
4
votes
1answer
29 views

Raise position of text relative to line

It's a relatively minor thing, but in the table below I'd like to raise up the Hebrew relative to the Latin characters. They feel like they're sitting slightly too low on each line. Can anyone ...
2
votes
1answer
16 views

Getting edges to curve around other nodes

I'm trying to draw a state transition model, and I'm having trouble getting the edges to going under a node instead of across it and other edges along the way. I've tried experimenting with in/out ...
4
votes
1answer
35 views

Scaling problem with fillbetween in pgfplots

I recently ran into scaling problems with the very nice pgfplots library fillbetween. See the following example, which is perfectly fine: \documentclass{standalone} \usepackage{pgfplots} ...
3
votes
1answer
16 views

Modifying words before an acronym

The acronym package automatically handles using the long version for the first instance and short version for subsequent instances. However, for an acronym like near mid-air collision (NMAC), I find ...
1
vote
0answers
18 views

Special characters do not appear with epigrafica.sty in LaTeX

Special characters do not appear using epigrafica package in LaTeX. Header is as follows: \documentclass[Alon1,ChapterTOCs,11pt]{Alon} \usepackage[english]{babel} \usepackage{epigrafica} ...
0
votes
0answers
43 views

Is there a simpler alternative to LaTeX for math proof writing? [on hold]

I know there are tools that can render LaTeX as you type it. However, I have a feeling that there might be simpler tools with simpler syntax. I investigated AsciiMath, but it produces MathML which ...
2
votes
1answer
38 views

How do I put keywords into abstract in elsarticle?

I am really new to LaTeX. I am preparing a journal article in Tex Studio. I downloaded TexLive as well and am using it. Problem is \begin{keywords) returns unrecognized command. \end{abstract} ...
3
votes
1answer
49 views

Get chapter number

I am newbie on latex, my question is how can I get a structure like: number of chapter + title of chapter (exemple: I Introduction) I only get Introduction, I want the number before the name. If ...
2
votes
2answers
23 views

Need the help for $ \large \sqsubset $ and $\large \sqsupset $

I need \sqsubset and \sqsupset in larger size. That means $ \sqsubset G_n \sqsupset $ for the purpose of completely lies in side the text within the interval of that open and closed space.
2
votes
1answer
22 views

Modifying Headline in Beamer Berlin

I am trying to remove the blank space under the navigation menu and above the frame title. I can remove the entire header by including \setbeamertemplate{headline}{} but I do not want to lose the ...
1
vote
0answers
21 views

Adjusting space when using the “letter” class

I am quite new in writing letters with LaTeX, and I am wondering whether there is a way to adjust the space between the end of the sender's e-mail address and the subject of the letter (see picture ...

15 30 50 per page