# All Questions

6 views

### LaTeX with the Atom text editor on the Mac

How can I make it so that LaTeX automatically display the result in the default PDF viewer Preview upon building from Atom? What about showing the PDF within Atom?
8 views

In a beamer presentation the table of contents that appears at the top of the slides is taking a lot of space and making the bottom portion of the slides unobservable. Is there a way to split the ...
7 views

### Expand variable in pgfplots key

In the example below I am trying to set explicitly some numbered styles and then loop through those styles in a plot. However the variable \i doesn't seem to expand correctly in mystyle\i (however it ...
9 views

### How to use \foreach with verbatim inside it?

I can't figure how to make this below work. The reason is that I am doing this, is to a make a MWE which requires generating many copies of same code to show a problem I found. The code which I am ...
5 views

### How to add reference to a knitr figure chunk in lyx?

Is there a way to make the lyx dialog "add -> cross references" to find knitr figure chunks? I.e., is there a lyx built-in way to add references to knitr figures other than use \ref manually?
16 views

### Beginner's question Pandoc, LaTeX and CSL

I recently discovered pandoc and I am trying to get it to process my \cite commands in a .tex file using my CSL file, outputting a formatted PDF. As far as I understand this is something that pandoc ...
14 views

I'm using ntheorem for writing my lecture note for students. I used a tikz in the headerfont for nice layout as shown in the photo below. Example 1: perfect! Example 2: I want the blue box to be ...
16 views

### minipage with .eps overlaps text

I have a problem with including three .eps images next to each other into a shareLatex document. They slide upwards and overlap with the text for some reason. If I use .png, it works, also when I only ...
20 views

### How to create a specific code listing macro

I am trying to reproduce a macro in latex that would allow to insert code in this format: So there is a header with listing number that is starting from the left side of the document. It is between ...
17 views

Since some weeks ago when I run "Check for updates..." in TikzEdt (version 0.2.3.0 with Windows 10) I get the error: Checking for new version failed: Errore del server remoto: (404) Non trovato. ...
26 views

### How often refer a list of symbols

I know how to make a list of symbols with the help of glossaries, but I am facing a style problem that I'd like the community help me solve. I writing my thesis in mathematics, so I have many ...
39 views

### Right justify roman page numbers in list of tables

I have a scrartcl document with arabic and roman page numbers. The list of tables looks like this: Arabic page numbers are right justified (relative to each other), whereas roman numbers are ...
16 views

### natbib, sort compress and at the end page no of all citations not reflecting?

I am using natbib (sort and compress) package for bibliography. I am getting proper citations like [71-74] instead of [71, 72, 73, 74]. At the end of bibliography, page no of cited references are ...
32 views

### 3D pgf/tikz; first time making a 3D graph

This will be my first 3D graph on LaTeX, and I need help figuring out how to generate the graph of f(x,y)=xye^{x+2y-9x^2-9y^2}. Thank you for your help.
43 views

### How to put a text at the end of the last sentence of a document with xelatex?

I have a lot of documents witch all have to share the same last text. But this text have to follow the last sentence immediately — without line break —. I try to modify the document environment but ...
32 views

### How to multirow in tabularx environment?

In my code, I was trying to assign four phrases in first column second row in line with their description... \documentclass[13pt]{book} \usepackage{tabularx,booktabs} \usepackage{multirow} \begin{...
13 views

### How to remove the top Rule of the page in Fancy page style?

I'm writing a document using fancyhdr package and I need to remove the rule of the top of the page, How could I do that? The minimum example follows: \document[10pt]{article} \usepackage{fancyhdr} \...
37 views

### How can I make a table with some lines superimposed?

I made the following table using PowerPoint and now I want to generate it using LuaLatex, because I need to use the font Arial with size 10,5 pt. I find myself with several challenges: Generating ...
31 views

### strange error using tcolorbox or other resources. box array

I am doing something that you might think is a little strange, but have good reason for it. The code below is generated by lua function I wrote. For some reason, it fails when I do this more than 4 ...
19 views

### How to remove headerline from title and outline pages in beamer?

I am preparing a presentation with Beamer (theme Warsaw), I want to remove just the header line (keep the footer line) from title page and outline page. can you help me please ? The code source ...
36 views

### how to locate the equations to the left in “itemize” environment as shown in the picture

I want to put the equations in the itemize environment, however, the equations are centered. Do you guys know how to generated the layout shown in the picture?
13 views

### How to set different \clubpenalty for main text and footnotes?

I am using memoir class to typeset a book containing texts with many footnotes. To control widows and orphans I use the following settings: \clubpenalty=5000 \widowpenalty=5002 \displaywidowpenalty=...
23 views

### Command assists for Texworks

Are the following features of Kile available in texworks or any other tex-editors for windows ? Any word or command used before, appearing as options automatically after typing the first three ...
15 views

I have two unnumbered chapters: Introduction and Conclusion, using \chapter*{title}. I'd like that would be shown in the table of contents. Is there a way to do that?
21 views

### Centering versus Center [duplicate]

How is centering different from center? There should be some difference between them, that they have bothered put two different commands. Instead of requiring to check every time into a sample ...
49 views

### How to format long numbers correctly? [duplicate]

I'm writing my master thesis and I have some trouble formatting larger (longer) numbers. Let's say I have a number (in a mathematical equation or in text): 10456 Should I use 10'456 or 10,456 or 10....
20 views

### “Trimmed” minipage at the end of a column instead of alternate placement

I have a 4-column document and what I observed is that when a minipage doesn't fit in the column, then it is "trimmed" instead of being placed in the next column automatically. I thought that when an ...
25 views

### hyperlink within caption to a figure

I'm getting an error message when I include a \hyperlink command inside the caption argument for a figure. It's a simple \hyperlink{<targetname>}{<text>} invocation. It produces two ...
12 views

### Multiple citations condensed (different types) - FUQ

This is a follow up question to Several citations in the same bracket I want to cite multiple authors in the same \cite{} command instead of making each of them in separated. It works fine for ...
42 views

### Drawing a graph with two functions

I would really like to have a graph as you can see on the picture below. But I do not have any idea how I can realize this with latex. I am sorry for asking you like this, but I am quite new with this ...
46 views

### How to compile only an specific chapter if all chapters are in the same file?

On beamer we can use \includeonly{label_of_frame} or when we split in several .tex files we can use \include. So is there anything similar of \includeonly for reports with chapters? Obs.: All ...
29 views

### ConTeXt: Project layout, capacity exceeded

I want to start using context to write my thesis but I can't even get a simple project layout to work: product.tex \environment env \startproduct product \component test \stopproduct env.tex \...
25 views

### Centering Figure without re-scale [duplicate]

I would like to center a figure made on Tikz. This figure has a specific size which is wider than \textwidth, and it needs to be centered. All options I see use \resibox or \makebox to center the ...
19 views

### Longtable and landscape: wrong position of title and footnote

I have a problem with landscape longtable: the title and footnotes are not in the right position. I tried to delete format \geometry{left=1.2in,right=1.2in,top=1.00in,bottom=1.0in} and it works. ...
308 views

### How can I make a “fake” subsection number?

I'm writing a LaTeX document which includes examples of how to structure another LaTeX document. However, I can't figure out a way to make it so that there's a subsection in the example that is a) not ...
15 views

### Bibliography style apalike missing the paranthesis

I am using: \usepackage{natbib} \bibliographystyle{apalike} However, when I use for example: \cite{test} I should be getting my reference within (), i.e. parenthesis right? But they seem to have ...
35 views

### (II) How to render a large TexForm expression from Mathematica

As a follow-up to my question of two days ago How to render readable a large TeXForm expression from Mathematica I'd like to also similarly incorporate the following two expressions: 1. \frac{2 (\...
21 views

### Adding map index to an index of toponyms

I have a book with a lot of toponyms and several maps at the end. I have made an index of toponyms using package multind and a lot of commands like \index{geo}{Australia} inside the text. I use ...
13 views

### Filling bar chart with patterns for black and white printing [duplicate]

I am trying to plot a bar chart like below: \documentclass{standalone} \usepackage{graphicx} \usepackage{tikz} \usepackage{pgfplots} %\usepackage{subcaption} \definecolor{blues1}{RGB}{198, 219, 239} ...
33 views

### enumerate with description and label for reference

I want to create an enumerated list with description of items and a label assigned so that each item can individually be referenced by \ref or \nameref It is obvious how to do this manually but I ...
34 views

### siunitx changed something and when I comment it out, pdflatex freezes

I was using a latex template (provided by a journal) to write a paper with the journal's .cls file . These are the style files provided separately: AMSbsy; AMSfonts; AMSgen, AMSsymb, natbib, upmath ...
29 views

### Adding axes labels to LaTeX figures

I have almost managed, With this code: \begin{figure}[htb] \hspace*{-5cm} \begin{minipage}{0.5cm} \rotatebox{90}{\textcolor{red}{$y$-axis label}} \end{minipage}% \begin{minipage}{\dimexpr\linewidth-...
37 views

### Section title centering

I am writing my PhD thesis in LaTeX. When I tried to center the section titles, awkwardly, it compiles without table of contents but whenever I write \tableofcontents an error occurs. For centering, ...
20 views

### Fancyhdr custom header failing for appendices

let me preface this with saying I don't fully understand fancyhdr. I am trying to achieve getting the same header on every page: the left top showing the chapter number, section number and section ...
40 views

### How to Line up Horizontally?

I have the following using OCG, 2 boxes that open up to many more Items when clicked on. How can I align them horizontally across the page, so that the dropdowns will go below the boxes also? (There ...
12 views

### TikZ: Problem with relative node positions for “big” nodes [duplicate]

I want to place two nodes besides each other, using TikZs right of= placement. But if the first node is two broad, like in the minimum example below, this does not work right. How can I make TikZ ...
22 views

### XeLaTeX + biber cannot handle umlauts and ć in bibliography

This is a minimum working example of my original document. \RequirePackage{filecontents} \begin{filecontents}{bib.bib} @article{luka, author = {Luka Modri\'{c}}, journal = {Euro}, pages = {1--...
39 views

### arrow tip when using “.. controls ..” in tikz

When I draw a commutative diagram with tikz, I normally use the syntax \documentclass{article} \usepackage{tikz} \begin{document} \begin{center} \begin{tikzpicture} \node (a) at (0,0) {$A$}; \node (...
43 views

### Using equation/function in 3D TikZ

I have a subset in 3D, than has the restrictions: 1<=x<=2, 1<=y<=2, 1<=z, 2x+2y-z<=5. So far I have just plotted the point, where I restrict x and y. How do i plot the last ...

15 30 50 per page