# All Questions

42 views

### Typography of unit symbols for Molar and Liter in siunitx

The siunitx manual suggests using \DeclareSIUnit\Molar{\textsc{m}} as the symbol for Molar but this creates a small cap M. This is (apparently) how Molar was defined in version 1 of siunitx. However, ...
87 views

### Align equations with equivalent and equal sign

I am currently trying to get the align environment to work as I want it to work. \begin{align} && a \cdot c + b &= 0\\ \Leftrightarrow && a \cdot c &= -b\\ \end{align} This ...
38 views

### Taking notes for class in Latex, and changing parts of fancy header across include

I am beginning grad school in the fall and I wanted to try and take (or copy over after class) all my notes in LaTeX. I wrote a python script that looks at my calendar for all occurrences of classes. ...
72 views

### Correct spacing when using aligned in cases

I have problems getting the spacing right when using aligned in a cases environment. The following illustrates my problem: \documentclass{article} \usepackage{amsmath} \begin{document}  ...
15k views

### How can I make a horizontal dashed line?

How can I make a horizontal dashed line in LaTeX? Just writing lots of single dashes results in a continuous horizontal line.
54 views

### Semi-transparent Tikz nodes

Trying to reproduce the semi-transparent fill from the answer to my previous question http://tex.stackexchange.com/a/188453/37570 I cannot get it to work. Tried adding backgrounds library inside ifpdf ...
424 views

### smallmatrix with vertical line as column separator, how to do it

Since this \begin{smallmatrix}[cc|cc] ... \end{smallmatrix} is not possible with smallmatrix, I am wondering how can I get a vertical line as column separator in the smallmatrix environment? ...
80 views

### Vertical text in multirow

I'd like to realize the following: But I can not bond the vertical text and the line together. I use a tabular environment and this is what I get: My code is this: %!TEX program = xelatex ...
201 views

### First try in TeX problem

I have just installed MikTeX and WinEdt and i try this code in WinEdt: \documentclass{article} \usepackage{amsmath} \usepackage{amsfonts,amssymb} \usepackage{amsthm} \usepackage[electronic]{ifsym} ...
178 views

### Insert code snippet via keyboard shortcut in TeXworks

I know there already are questions (1, 2) on creating keyboard shortcuts in TeXworks. The discussion (also in the Google thread referred to), however, seems a little outdated. By now, there is the ...
46 views

### some Figures are cut from right side in dvi but correct when using the tex file

I am using winedt 6.0 and miktex 2.9 when i compile in winedt 6.0 using ctrl+shift+p , the output pdf file is perfect. but when creating the dvi file, some figures (eps files) are cut from the right ...
332 views

### Unable to use pdftex if Adobe is still open

I'm sorry if this exact question has already been asked, but the similar duplicates I've found didn't have the same phrasing. Therefore, I'm asking a new question... I have WinEdt 7.0 on Windows 7 ...
26 views

### How to move titles in TOC due to special numbering? [duplicate]

I need special numbering for an article: (e.g. Part 1 should be numbered J4.1, the section below should be J4.1.1). I did this with: \renewcommand{\thepart}{J4.\arabic{part}} \setcounter{part}{0} ...
43 views

### How to define variants in build system for Latex in Sublime Text 3

After the new LatexTools plugin was released, I am unable to get the follwoing functionality which I had in the previous LatexTools plugin. I tend to use the sequence latex-dvipdfm the most(Build: ...
92 views

### LaTeX error in the LaTeX compilation [closed]

For the last few days I have been facing some problems while trying to compile my LaTeX document. When I run it (shift+ctrl+L), the window compiles for some time; then it is stopped. It starts ...
653 views

### Change to class file not reflected

I am using a class file to help document my thesis. I need to make some basic changes and I therefore go and edit my class file. I save it and then in Texnic Center when I do shift+ctrl+f5 I do not ...
76 views

### xymatrix using lyx

I'm trying to draw in LyX, using XYmatrix. I'm using it with the Ctrl+shift+M command, and then using the \xymatrix to start "drawing" what i want. I'm having a problem doint a "hookrightarrow" ...
813 views

### Thesis template - LyX

I have two questions and I cannot find a solution up to now: I open a predifined template from thesis (i.e. chapter-1.lyx) and all the mathematical equations that I insert with Ctrl+Shift+M are ...
455 views

### How to select whole environment in TeXstudio

When I was a Windows user (a long time ago), I remember that it was possible to select the whole environment in WinEdt just by double clicking the \begin command. Is it possible to do this ...
19 views

### How do I insert a command using braces into the caption of a ctable?

I need to place a hyperref command into the caption of a ctable, but this does not produce correct output. For example: \ctable[caption={Properties of the \hyperref[sec:Towers]{Towers} dataset.}, ...
35 views

### How to change cleveref references to 'verbal' varioref style?

I would like to use cleveref's automatic ref target type recognition but with the more verbal page reference of varioref. This is my MWE: \documentclass{report} \usepackage{varioref} ...
74 views

### Terminate process when compilation fails

In WinEdt when I compile a LaTeX document via Shift+Ctrl+L or in the TeX menu: LaTeX and an error occures, the console in the bottom window keeps running (spinning mouse). I then terminate the ...
92 views

### how to replace matrix element by color box

How can I replace the matrix element by colored squared box ? Suppose I have a 10x10 matrix with entries{+1,-1}. I want to put a black square box for +1 and red square box got -1 which will give me a ...
338 views

### Best way to use Linux Biolinum Keyboard with fontspec?

I am trying to typeset keyboard shortcuts in my document, e.g. CTRL+SHIFT+S. The Linux Libertine font family includes a nice keyboard font that I would like to use. What's the best way to use it with ...
52 views

### How do I change the order when typing math symbols in TeXmaker? [duplicate]

I use Texmaker. When I want to type the $x^2$, I type Ctrl+Shift+M, then type $x^2$. If I first type x^2 then select x^2 and type Ctrl+Shift+M, then x^2 will be deleted. How can I type like that ...
987 views

I have a problem compiling an article using natbib. I am using WinEdt to compile, for example this what I found online: \begin{filecontents*}{bibtest.bib} @book{goossens93, author = "Michel ...
77 views

### Small caps font is not enabled with fontspec and MinionPro

I can't make lualatex generate small caps font when I use MinionPro as my main font: \documentclass[a4paper,justified,nobib,notoc]{tufte-book} \usepackage{fontspec} \title{ABC} \author{Arthur ...
26 views

### Table spreaded over multiple pages . Tabularx [duplicate]

To spread the table over multiple pages I know the utility islongtable But it seems that it doesn't work for tabularx . what is the solution. there may be duplication of question but couldn't find ...
27 views

### How to change text direction from Right to Left in Emacs24 and write Hindi numbers?

I use GNU Emacs 24.3.1. I want to write Arabic text with and without English text in one buffer. when I write the Arabic letters do appear (I use Consolas font) but what I miss is the direction of ...
28 views

### Mathtools: Automatic italic corrections before math not working when combined with ~

In mathtools, I've noticed that the automatic italic correction before math doesn't work when combined with ~. For instance, in \documentclass{article} \usepackage{mathtools} \begin{document} ...
40 views

### Strange Knitr behavior with APA6 class manuscript

I tried everything that I know to solve this problem. I normally write my homework on share latex, but for this I downloaded and installed MacTex, Sweave and Knitr on my Mac. After trying out every ...
65 views

### setbeamersize influence the block environment

I use the code \setbeamersize{text margin left=1pt,text margin right=1pt} in order to make my picture bigger shown. But when I use the block environment. It make the block run off the edges. ...
32 views

### embedding inline code listings [on hold]

I saw a solution here for embedding programming language snippets using \lstinline{code} This is great for displaying a phrase of code, but what can I do if I want multiple lines and don't want to ...
27 views

### Creating Table with Column Names from another table

I want to create a table that will have two columns: Table Name Column Name So I would read, say 3 tables, and for each table I would create a row for each column in that table, that would have ...
34 views

### Shadow title-like box in beamer

I'd like to have the same box as the title one. I try an imitation, but is there a direct way with beamer stuff ? \documentclass[xcolor=dvipsnames]{beamer} \RequirePackage{fontspec} ...
27 views

### How to define a symbol which never goes at the beginning of the next line?

I have created a very simple symbol, and try it in the main text. What I want is this symbol never show at the beginning of a line, which means TeX(I use XeTeX) always treat it as a punctuation. How ...
33 views

### Referring to correctly-styled algpseudocode procedure name in document

Given an algorithm written in algpseudocode: \documentclass{article} \usepackage{algorithm} \usepackage{algpseudocode} \begin{document} \begin{algorithm} \caption{Part 1} \begin{algorithmic}[1] ...
105 views

### removing custom text style

I wanted to make the font of my figure captions smaller, so I just went from figure to figure and changed the captions using "Text Style -> Customized -> Font Size -> Smaller". Then I found out that ...
31 views

### Issue with quotation marks

Quotation marks are showing up as symbols for me. I am using TeXstudio with pdflatex.exe. Here is a screenshot of my issue. I can list all the packages I am using if that helps.
12 views

### Referring to a correctly-styled pseudocode procedure name from the main text [duplicate]

I'm using the recommended algpseudocode package, and have defined a procedure inside an algorithmic environment that I would like to refer to from the main text. Inside this environment, ...
22 views

### How do I get Texmaker to use the central bibliography?

Like many others I wish to place my bibliography (.bib) file in a central location so that all my disparate writings do not need a .bib rider with them (and so all are updated automatically when I ...
17 views

### Header appearing in second page of TOC, when it shouldn't

I have recently made some changes to my document, using the geometry package to change its margins. But after I've done this, the fancy header I'm using started to appear in the second page of the ...
25 views

### How to get a small letter version of \mathcal{O} [duplicate]

I am trying to produce a small letter version of \mathcal{O} which looks the same, just smaller - like "O" and "o". However \mathcal{o} produces a very different symbol. Has anyone an idea how to ...
12 views

### Make sections independent from chapters [duplicate]

I start to write a thesis by the following code. \documentclass[a4paper]{report} \begin{document} \title{Thesis} \maketitle \pagenumbering{roman} \tableofcontents \pagenumbering{arabic} \chapter{1} ...
28 views

### Orphan lines with memoir

I have read that for memoir in order to set separation between paragraphs you use \abnormalparskip{6pt} However I have a question: Does it fix to 6pt or does it allow a little variation between ...
52 views

### How to add edges to automatically generated graphs

I have no background in drawing in LaTeX and I just came across the tkz-berge package. I want to draw a complete graph, a small-world graph and a random connected graph. The complete graph was easy ...
17 views

### Non-breaking space in cite style

I am using the .bst file "authordate-3" to create my references, with a citation in the text in the format (author, year). I would like to make the space between author and year a non-breaking space ...
10 views

### addressing path problems in \subfiles [on hold]

Problem: I have a book with a titr.tex (the main document) and twenty chapters e.g. ./chapters/chapter_one/one_one.tex. If I compile a document other than the main document e.g. titr.tex then, I ...