# All Questions

37 views

### How do I align piecewise functions?

I'm trying to align piecewise functions, not within the piecewise functions but the actual functions themselves. I use this piece of code but I keep getting a tonne of error messages: ...
34 views

### Change geometry of single table [duplicate]

I have a wide table, which by default makes the page look like: | xxxxxx | | xxxxxx | | ______________ | | | || | | || | ______________ | | ...
80 views

### Error: “Make sure that you have installed a (La)TeX distribution”

I just installed MiKTeX and TeXstudio, but when I try to compile a document I get the following error: Error: One command expansion invalid. Make sure that you have installed a (La)TeX ...
87 views

### Insert a tex file pdf inside another tex file dynamically

Suppose that both tex1.tex and tex2.tex are two independent tex files in the sense that both compile and generate a pdf file independently. I would like to include the output of tex2.tex in the ...
41 views
+50

### Beamer: Show all previous \tableofcontents items and gray out future items. Also: Remove subsections from ToC and then fix distances between items

I want to present a ToC in Beamer which shows the previous items and grays out future items. I cannot quite get it to work however. Here is a MWA: \documentclass{beamer} \usetheme{Luebeck} ...
36 views

### Text in a PDFLaTeX file is not completely visible in the PDF viewer , but in the thumbnails are complete [on hold]

This is not really a question TeX, but I think we could find an answer here. I downloaded an old PDF file generated with pdfTeX. The problem is that when I open the PDF, some text lines in the right ...
55 views

### Open source Word to LaTeX converter

I'm building a brand new product mobile and web for people collaborating on complex documents and thinking of using latex format for internal document representation. I'd like to use an open source ...
21 views

### Changing the operator font with unicode-math loaded

How could I change the operator font to, let's say, the sans serif style, with the unicode-math package loaded? The following code only works without that package: \documentclass{article} ...
34 views

### Wrapping tables with minipages?

Say I have the following table: \documentclass{report} \usepackage[intlimits]{amsmath} \usepackage{floatflt} \usepackage{caption} \usepackage{listliketab} \usepackage{booktabs} ...
224 views

### Getting superscripts in math mode without the ^ character

Is there a way to get the superscript math mode behavior without using ^? By way of background: I work at a large school that has a large web site that occasionally has math content on pages. I ...
97 views

### How could I modify the following table?

Thanks to the generous help of this forum, I have generate the following table: \documentclass{article} \usepackage[margin=1in]{geometry} \usepackage{pdflscape} \usepackage{longtable} ...
78 views

### Latex rotating my iphone 5s .jpg pictures

My iPhone pictures are automatically saved as .jpg files. When I want to load the Pictures to my latex document, they are somehow rotated 90 degrees. However if I edit the pictures and save them ...
103 views

### Scenario Trees for Prob

Would appreciate if anyone help me draw this network? Thank you in advance.
24 views

### Doxygen pdflatex Undefined control sequence

I am trying to use pdflatex on a file generated by Doxygen to create a PDF file. I'm getting errors I don't know how to debug. Using Linux RHEL 5, tetex-latex-3.0-33.15.el5_8.1. Things work OK on a ...
133 views

### Edit the piano.sty to fit numbers in circles

The basis for my question: How to make or add options for packages or functions Is it possible to make it so that one could write numbers in the circles, like so?: Here is a minimal example ...
26 views

### Ignore \pause (from tikz) in scrartcl

I'm bulding up a beamer presentation and an article. Therefore I have to create some figures which are used in both files. So I created an additional .tex file for each figure which I include in every ...
21 views

### Fixing the spacing of overbrace and underbrace contents relative to large brackets

Consider the code for the MnWE: \documentclass{article} \usepackage{physics} \usepackage{mathtools} \usepackage{amsmath} \begin{document} \norm{f - L}_{\infty} = ...
51 views

### Defining new command for Multiple Choice Questions

I checked out this page and they have very good answers but not exactly what I'd need. I would want the justification to be like it is in the answer they gave with everything in one line touching the ...
24 views

### Text added after and outside the tikzpicture environment lies on top of the image

I have added a rectangle using the tikzpicture environment. But whatever text is added after and outside the environment lies on top of the image. I've been searching for a solution but haven't come ...
55 views

### What is the template, used in this document?

What is the of the template and font, used in this document?
14 views

### Symbol at the end of an environment [duplicate]

I'm putting a diamond symbol at the of a remark by use of \usepackage{amsthm} ... \newenvironment{rem}{\begin{remark}}{\hfill$\diamond$\end{remark}} However when the rem environment is ...
119 views

### Tikzpicture curvature in path issue

I have written the following code: \begin{tikzpicture} \draw[->] (-1,0) to node [auto]{$f$} (1,0); \draw (-5,-1) node(0)[label=below:{$v_0$}, circle,fill=black,scale=0.3]{}; \draw (-2,-1) ...
64 views

### Dotted and bent xy matrix arrow has non-dotted turns

I have this diagram I'm doing with xypic, and I want to make bent arrows going from the top to the bottom of the diagram. So I re-learn the syntax for bending around entries. THen I decide I want ...
20 views

In my double-sided latex document I'm using \pagestyle{scrheadings} This will display on an even resp. odd page the following SECTION TITLE resp. SUBSECTION TITLE. However for the appendix I ...
40 views

### Help with Help Lines

I am plotting lattice paths to two points. I would like to have help lines drawn on top of the Cartesian plane so that any line that is an integral distance from an axis is a solid line and any line ...
37 views

### How to reset \markright without breaking \sectionmark?

I'm using scrbook for a collection of papers. Every chapter has a different author, and is typeset with a custom command. I want the headers alternate between chapter and author (rather than whatever ...
26 views

### Adjusting column size in Latex table

I am using the code below to get a simple table but I need to adjust the width of each column. \begin{table}[H] \centerline{ \begin{tabular}{|c|c|} \hline \textbf{Group} & \textbf{Count} \\ ...
67 views

### Some packages not recognised by TexStudio

Some of my packages are not recognised by TexStudio (examples: pdfpages, mathtools, ramsstyle and so on), but most of the packages I use are recognised. I have installed all of these packages with ...
31 views

### List of Figures and Tables won't get translated in the Table of Contents using Babel [on hold]

Possibly a newbie question but here we go: I'm using Babel to translate titles automatically in my project. When focusing on my Table of Contents I realized that the texts for the List of Tables, ...
26 views

### Make last column take all remaining space in longtable

I want to create a table using longtable where all columns have a fixed length except the last one, which should take all remaining space. The table itself should be full page width. I tried the ...
8 views

### Array search using arrayjobx

I'm using the arrayjobx to store data in arrays, and I want to search through those arrays. For example, I might have a list of names and places and I want to search through those names to find the ...
31 views

### How to bring theorem's and lemmas numbers from a thesis document class and put it in the beamer presentation

How to bring theorem's and lemma's numbers from a thesis document class and put them in the beamer presentation, because I want to reffer the audience who have the printed thesis to the number and ...
40 views

Any idea of how to create a mini table of contents (TOC) in the beginning of a chapter? Not the ordinary TOC in the beginning of the report, but a mini TOC in the beginning of a chapter (like, ...
27 views

### Pgfplots: Add curly rotated braces to a graph

I created a simple graph of a demand function so far. Is there an easy way of addition curly rotated braces and labels to the graph (like in my sketch). Those should mark the intervals for a value ...
59 views

### Bad hierarchy given to \appendix by hyperref

Here is my problem: in this document, the appendix appears as a chapter inside "part two", but I would like it to appear after this part, as it is an appendix! Everything is alright in the table of ...
16 views

### Moving a subfloat to the background

I have the following problem: i have a figure with 3 subsfigs, (2 top, 1 centered bottom). Since the background of the pictures is white and i want a good layout, I moved the bottom figure up with a ...
35 views

### Using long table to split a table across multiple pages

I am using the excel to latex add in to generate tables from excel, however, when the table is too long it is not split automatically between 2 (or more pages). Is there any easy way to do this? I ...
31 views

### list of figures for a single chapter

I want a list of figures for a single chapter (appendix a). \documentclass[11pt]{scrbook} \usepackage[ngerman]{babel} \usepackage{subcaption} \begin{document} \frontmatter \chapter{Front} ...
37 views

### centering the figures in pdf documents

I used the following to insert pdf file in latex document: \documentclass[standard]{letter} \usepackage[usestackEOL]{stackengine} \stackMath \usepackage{graphicx} \def\imgi{} \begin{document} ...
125 views

### A macro dependent on a parameter

I would like to write a macro privatecomment whose behaviour depends on a global parameter show. For example, in the .tex, I could write \privatecomment{Here is a comment}. When I set show to true, ...
15 views

### No Vertical Spacing in Multicols

I just started using LaTeX this week. So currently, I am making exam-type files. I use the \itemsep=\fill option to make sure that there is a vertical space in between each \item. However, when I use ...
17 views

### Installed Lyx and now TexMaker won't compile

I have been using Latex for a while with no problems. I tend to just copy and paste the preamble from past reports into new ones, and that usually works fine (as you'd expect). However, I have a new ...
19 views

### table with values above vertical lines and/or over

I would like to be able to have a table like the one in the picture (hand drawn) below. I am not familiar with tikz, or proficient power latex user, and mostly use them by examples. If anyone can ...
16 views

### I am trying to configure TeXworks to run the following chains:

I want to configure TeXWorks so that I can compile my documents in the following two different ways with just one click. xelatex, with automatic pdf viewer opening xelatex + makeindex + xelatex, ...
25 views

### Texstudio does not display citations and bibliography properly

I installed texlive-full and texstudio under Ubuntu and created a MyLibrary.bib file by exporting my zotero library. In my main.tex-file I have given the following instructions to include my library: ...
49 views

### Infographic - need help!

Infographics enable us to communicate incredibly large sets of data in a way that is interesting, meaningful, and engaging to others. I have been trying to create a simple Infographic with TeX - ...
31 views

### Evidence for advantage of “no page number on chapter opening” convention?

The question Typography of page numbers on Writers.SE asks for authoritative sources on the different conventions governing page numbering. I'm especially interested in this one: The opening page ...
49 views

### Color of the navigation bar in beamer (theme Goettingen)

How can I change the color of the navigation bar in beamer? I am using "Goettingen" theme. I tried several changes, but that did not work... CODE: \documentclass{beamer} ...