# All Questions

14 views

### How to align overlaid grid in TikZ?

In trying to adjust this answer in light of the OP's comments on another one, I discovered that I could not straightforwardly align an overlaid grid so that the steps began from the same point as the ...
21 views

### Justified Text in Classic Thesis CV Template

I'm currently trying to put together a CV using the classic thesis styled cv template. I cannot seem to figure out how to get the text in each description to be fully justified. I've tried using the ...
9 views

### Reset counter \section in \part*

I'm a rookie with LaTeX, I'm using LyX, but I think this is a LaTeX problem. Im using this LaTeX preamble for reset counter after parts \usepackage{chngcntr} \counterwithin*{section}{part} But it ...
12 views

### How to make the page number appear at the bottom of every page after applying the \newpage command

Edit: Fixed it! I am looking to see how I can apply \fancyhdr to make the page number appear at the bottom. What I found inside the TEX forum doesn't seem to work because I am using the \newpage ...
8 views

### An easy way to inline frame a table?

I have a table with a small width and I would like to frame it, so that the frame doesn't have 100% width of the page but rather is closely around the table. \begin{tabular}{r@{ $\rightarrow$ }l} ...
7k views

### Importing a Single Symbol From a Different Font

Is there a general way to change the font of a particular symbol without switching packages? For example, suppose I'm using Computer Modern for my entire document, but I want the "subset" operator to ...
92 views

### Margins in booklet using \includepdf

I have PDF that I am printing as a booklet using the following code: \documentclass{scrartcl} \usepackage{pdfpages} \begin{document} \includepdf[pages=-,booklet,turn=false,landscape]{doc.pdf} ...
13 views

### How to draw a rule without knowing its specific width?

I am trying to improve my CV which I am writing by LaTeX. I want to show section headings something like this But I do not know how to; Add white space next to the section title, which is equal ...
29 views

### Vertical Spacing and Alignment for Equations

How can I set the vertical spacing for all equations at once? And how can I align them to the left without use \usepackage[fleqn]{amsmath} in preambule? \documentclass[a4paper,12pt]{article} ...
95 views

### from Yosemite to El Capitan on Mac

Today I updated my operating system from Yosemite to El Capitan on Mac. Lyx was not compiling the pdf anymore, so I used this system: https://tug.org/mactex/UpdatingForElCapitan.pdf Although the ...
301 views

### LyX cannot recognize my MacTex 2015

My LyX system 2.1.3 cannot find my MacTex installation. When I choose Tools -> Tex Information, it appears completely blank. So far I've done the following: Completely removed MacTex 2015 and ...
23 views

### knitr not working on LyX after installation of Mac OS X El Capitan

I updated my Mac to OS X El Capitan and knitr doesn't work on it. Before the update everything was fine. Now LyX is saying : "The module knitr requires a package that is not available in your LaTex ...
106 views

### List of Algorithms appears in the german language

I am trying to add the list of algorithms to my thesis but I am facing the problem that it is the only one which appears in the german languauge also I am getting Liste der Algorithmen instead of List ...
14 views

### Forest plot with TikZ

I'm trying to create a 'Forest Plot' in TikZ. An example of this is below: I have experience with PGFPlots but I can't find an example or even a starting point for something like this. The only ...
106 views

### Reconfiguring TexStudio after upgrade to OS X El Capitan

Texstudio doesn't work for me anymore after updating to Mac OS X 10.11 El Capitan. I have the latest version of TexStudio installed (2.10.2). As pointed out by Herbert Schulz, this is due to a change ...
68 views

### Unwanted white space with knitr+booktabs package

I want to include a table in my latex document that I create using knitr package. I "call" the table using: \begin{table}[H] \begin{centering} <<r second part}>>= kable(Per_cond, ...
8 views

### Opacity option with Fill in Pgfplots

I am trying to fill two overlapped regions using fill and pattern. My problem is that the opacity option is not working in my example: \begin{figure}[ht!] \centering ...
13 views

### Labeling a text and referencing it later

Is there a way to attach a label to a string and then refer to that string with a reference? For example, \labelText{This is a text that is also a tag}{label:text} and then refer to this string ...
76 views

### Using tikz / pgf to plot waveform

I want to plot the waveform of an audiosnippet. Since I am working in matlab I exported my audiofile as csv with two columns (n, in). Of course this produces a huge file of about 40MB for my 1 000 000 ...
74 views

### How to print plural acronym for the first time?

I have been making many attempts trying to fix this but still cannot work. What I want is to have an acronym called SBM with its long form being State-Based Model. And when I call \glspl{SBM} for the ...
23 views

### expand second column of glossaries/abbreviation list

I'm currently using the glossaries package to describe a few abbreviations/acronyms, I have defined all my acronyms with \gls{}... My glossary list however makes an enter at the middle of the page, I ...
209 views

### Can I uniformly stretch a sentence that nearly fills a line - to fill the line?

Is there a "sentence stretch" that acts horizontally in a similar way as \setstretch acts vertically?
19 views

### Space between two consecutive headings with titlesec option largestsep

To format headings I am using the titlesec package. I need 12 pt space before each heading and 6 pt after. If there are consecutive headings (i.e. heading directly followed by subheading) I need 12 pt ...
135 views

### How to set section numbering in [svmult]?

In my book I have automatically-numbered chapters and sections but when I type \chapter{CHAP 1} \section{SEC 1} \subsection{SUBSEC 1} \subsection{SUBSEC 2} I receive a chapter with number 1, ...
105 views

I am very new to LaTex. I started by using a template in Lyx. In this template, chapters,sections etc are written in table of contents and only chapter names for the appendices are written to list of ...
23 views

### Getting currenttitle in fancyhdr

The usual way of getting section names in fancyhdr headers is by doing: \renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}} However, this doesn't get subsections, subsubsections, ...
30 views

### Fit longtable to width of latex document

I am having the problem of fitting a latex table to my document: \begin{longtable}{|p{2cm}|p{2cm}|l|l|l|p{2cm}|l|l|} \hline \textbf{} & {\ul \textbf{oenb\_dependent}} ...
44 views

### Set tracking for small caps selected by \scshape

If a font family doesn't have a bold font, it makes sense to me to use small caps instead. But when I redefine \bfseries to mean \scshape, there's no tracking in those small caps. How can I set that? ...
5 views

### LaTeX Code Completion in .RNW file Using TeXclipse/Eclipse

I frequently use knitr to create documents and beamer presentations that combine R code and luaLaTeX. When I use a .tex LaTeX file in the <LaTeX> perspective, typing \begin(frame) for example ...
2 views

### thumbpdf support for latexmk

I would like to use thumbpdf in my document and latexmk as build system. When I compile my document, I get following output: Latexmk: Missing input file: 'document.tpt' from line 'Package ...
10 views

### Package wrapfig and vertical float. Is it possible?

Good morning everybody. Here is the problem: I have a book with a lot of wrapfigures (aligned to the left or to the right). Wrapfig does an excellent job, except when the figure is close to the top ...
13 views

### How to customize equation numbering in documentclass{svmult}?

In this type of documentclass, the numbering resets in every section. So, if I want to refer to other sections, I can´t, because I got (3) instead of (2.3). I've tried ...
13 views

### Which TeX App and packages are optimal for creating slides on Japanese?

The settings in beamer for japanese language providing are too complicated, same as any oter class for slides which is not adapted for japanese. I find some TeX-based class, application, or package ...
36 views

### pgfpathcurvebetweentime acts weird for some values

PGF chokes when generating certain Bézier subpaths. \input tikz \tikzpicture [x=1pt,y=1pt] \draw [help lines] (0,0) grid [step=10] (100,170); \foreach [count=\n] \s/\t in { 0/1, 0/.999, ...
100 views

### Appendix list of symbols

I am trying to make a list of variable definitions in the appendix and I tried making glossaries and using acronyms packages but I don't know what to do. I do not need to reference the symbols in the ...
110 views

### How to make this figure?

I want to make this figure: But, the most I can do is this: \documentclass{minimal} \usepackage{tikz} \usepackage{xcolor} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
2k views

### Vertical space before and after custom environment

I've created custom environment with these commands: \usepackage{relsize} \newcounter{annotation} \def\theannotation{\arabic{annotation}} \newenvironment{annotation} ...
87 views

### Appendix TOC printed with last chapter partial TOC with titletoc

I'm getting a weird behavior with the memoir class and the titletoc package. I'm printing a partial TOC after each chapter (works perfectly), but for the last chapter, the appendices are also added ...
12 views

### How to get correct htlatex output with lithuanian letters?

My example \documentclass{article} \usepackage[T1,L7x]{fontenc} \usepackage[utf8x]{inputenc} \begin{document} ąčęėįšųūĄČĘĖĮŠŲŪžŽ $\alpha + \beta = \gamma$ \end{document} produces incorect ...
45 views

### Right language for reference to appendix

I used the package cleveref to make references to appendix, so that: \documentclass[...(various arguments)...]{scrbook} \usepackage{cleveref} \begin{document} ... As I show in \cref{app:A}. ... ...
21 views

### “Too many math alphabets” error on one machine but not another

It sometimes happens to me that I take a document from one machine, where it compiled without error, to another, where it produces a Too many math alphabets in version normal error. (Related: 1, 2, ...
62 views

### Formatting Appendix Title

I'm having a heck of a time trying to get the \chapter titles in my appendix section formatted correctly. My goal is to make it look something like this : I am able to change Appendix to Annex by ...
29 views

### In pgfplots, how does one fill the gap near zero of a symmetric graph?

I am drawing a simple graph of the equation 9x^2=x+4, therefore two plots are being drawn on sqrt(x+4)/3 and -sqrt(x+4)/3. During draft compilations, I use 40 samples, and during final compilations ...
16 views

### Strict conditional symbol without changing the default font?

Here is how to define \strictif as the strict conditional ⥽ from modal logic. \documentclass{article} \usepackage{lipsum} \usepackage{pxfonts} \DeclareSymbolFont{symbolsC}{U}{txsyc}{m}{n} ...
35 views

### Problem with images and different sections

I am having problems with images and sections. Here is an example. My fig 4 is from the section A, and i think that it doesn't fit in the section A because of the end of the page and LaTeX put it in ...
23 views

I'm using a Latex template to write a thesis. The template command to add a new chapter is \newchapter{label}{Chapter Title}. In one of my chapters the chapter title is too long. Looking through the ...
67 views

### Align decimal point & proportional font

I have found a couple of solutions how to align row of numbers in table environments for example here and here. From a philosophical point of view can I use these solutions with proportional fonts ? ...
93 views

The book "One thousand exercises in probability" (Grimmett, Stirzaker) has a very nice table of contents: As it looks like, the book only consists of chapters: First, all exercise chapters ...