# All Questions

201 views

### Left align or right align the header

If I want to L-Align the contact info in the (right) header block. How can one align the contents in a header ? Package: \ProvidesFile{jobapp} \special{papersize=8.5in,11in} %-----------------------...
245 views

### Argument of \@item has an extra }

I get the error ! Argument of \@item has an extra }. <inserted text> \par l.135 \emph{class} \bfcode{C}} when translating a LaTeX file generated by Sphinx documentation ...
348 views

### How to avoid Greek letter symbols in lstlisting

I am using the lstlisting package, but I don't want it to show Greek letters by its symbol. For example: \begin{lstlisting} Parameter.delta_x = 0.002e-6; \end{lstlisting} I want that line ...
51 views

### Solid heading for onecolumn and twocolumn document

I need advice on creating a consistent solid heading style for a document that has both one column and two column pages. In one column mode, the heading should fill the entire page, but in two column ...
388 views

### How to show only chapter name in each page only?

Hello respected everyone. I need little help from you. Please tell the (simpler) latex commands etc using which I can prepare every page lay out in documentclass "book" so that in each page there ...
84 views

### Replace lambdas by bold lambdas in a macro

I am looking for a way to replace \lambda by \bm\lambda in some of my expressions. This is what I tried, without success: % arara: pdflatex \documentclass{article} \usepackage{bm} \usepackage{xstring}...
93 views

### Error with parenthesized neg. numbers and siunitx in a table

Why do I get an error (Misplaced sign token) for the negative sign in the second parenthesized number? Executing without the negative sign works! \documentclass{article} \usepackage{booktabs,siunitx} ...
2k views

### How to type Hindi words in LaTeX

I am writing a thesis and have to write some Hindi words using LaTeX. When I use \usepackage{devanagari} removed. For example: {\dn school} the output generated is I want output to be like ...
457 views

### How to set the position of a figure in latex

i am using the following code to put three figures in a row but it puts them in a column. how can i fix it? \documentclass[a4paper,12pt]{report}‎ \usepackage{graphicx} \usepackage{subcaption} \...
436 views

### Code for drawing two intersecting lines and the acute angle between them

Here is the code for two intersecting lines. I know the code that I use to draw lines $\ell$ and $k$ is bad. I am sure that is the reason that the labels $\ell$ and $k$ are not in the right places. I ...
69 views

### how to change position of \Rightarrow

In the following example, how can I shift the \Rightarrow slightly towards left so that the first terms of both equations are vertically aligned? \documentclass[10pt]{article} \usepackage{mathtools} ...
231 views

### biblatex custom reference

I've been searching for a way to create "Custom References" with biblatex, but haven't found a solution to my problem. Among "normal sources" like Journal Articles, I need other references where I can ...
130 views

### Why can't I vertically align these two matrices?

Why won't these matrices become left-aligned? \documentclass[11pt,a4paper,oneside]{report} \usepackage[pdftex]{graphicx} \usepackage[T1]{fontenc} \usepackage{fouriernc} \usepackage{mathtools} \...
101 views

### How can I reproduce the figure with each picture labeled by a lowercase letter?

Here is the figure I am trying to reproduce. I was able to get the figure without the lowercase labels with the following code: \begin{figure} \begin{array}{cl} \includegraphics[...
84 views

### Text looks thinner after rotation

I want to rotate math text at 45 deg for a picture, but the text looks thinner. Here is a small piece of code with the same text, one "un-rotated" and the other rotated by 45 deg. \documentclass[...
1k views

### How to combine another sans-serif math font with helvet for text?

The existing question Typeset WHOLE document in sans-serif, Including Math Mode uses the sansmath package to use helvet glyphs also in math-mode. But being not designed for use in math mode, the ...
667 views

### How can I typeset those three mathematical symbols? [duplicate]

I need to typeset (in one of my post on Mathematics.SX) the following three mathematical symbols but I don't know how: the symbol for the Heaviside function, the symbol for "not equal", as in "x ...
329 views

### Extending Text Outside Table Cell

I have a simple graphic I'm trying to make with a table, but for it to work I need to extend the text beyond the table cell - through something like a negative margin - is this possible? Specifically, ...
358 views

### A new figure environment for the exam class

The incompatibility of having a float inside the solutions box of the exam class is somewhat well known. Multiple solutions for this exist, almost all of which use some variant of the caption package ...
277 views

### Latex text quality + font in a drawing tool [closed]

I use CorelDraw on a Windows platform and would like to get the latex PDF-text quality + font in a certain drawing. What is the best approach? print the text as pdf via latex first and then copy-...
395 views

### How to add a table in footer

How can I add a table in the footer in LaTeX? I was trying to add a table that has three rows and 2 columns. In the left column, text is left-aligned, and In the right side column, text is right-...
87 views

### Personal counter is unintended reset after itemize environment [duplicate]

I created a counter named foo to add up so money which I want to get from my boss. When having an itemize environment the counter is reset accidently. Does anyone know why or how to solve problem (so ...
4k views

### Double or one-half spacing

How do I double space just a portion of a document, and not the entire thing? How do I double space an entire document? What package should I use?
115 views

### How to globally left align the text of paragraphs containing variable-length headers with the first line of the paragraph?

I have several paragraphs each with unique headers of differing lengths: \documentclass[12pt]{article} \begin{document} \subsection{Subsection 1} \paragraph{Title} Paragraph text here. Paragraph ...
141 views

### mailto: Email link in PDF renders incorrect link in mail application

Package: \ProvidesFile{jobapp} \special{papersize=8.5in,11in} %---------------------------------------------- % Dependencies %---------------------------------------------- \usepackage{array} \...
2k views

### Sublime text 2 with LaTeXTools fails to compile (Windows)

I work on Windows 7 X64 and since the latest update of LaTeXTools plugin for sublime text 2, the build (Ctrl+B) is failing with the following: [Compiling E:\Users\Seif\Desktop\1tsss\first.tex] ...
286 views

### Highlighting labels of undefined citations? [duplicate]

I am wanting 'cite' entries that don't have a corresponding 'bibitem' entry to show up in red, along with the name of the missing reference label. I had found a forum entry that suggested a solution, ...
232 views

### \num with parameters in siunitx table

I have a couple of different methods to solve a diven problem and I want to compare them in a table. My aim is it to automatically add the relative deviation. I got some problems using siunitx within ...
260 views

### Symbol for definition := [duplicate]

Sometimes the symbol := is used to denote a definition. For example, X:=Y+Z means that X is defined to be Y+Z. When using LaTeX, can I just use $:=$, or do I need to do something special?
172 views

### Bold subscripts

I would like my subscript y_{ij} in bold. I used: \usepackage[fleqn]{amsmath} \begin{document} \bf{y}_{ij} \end{document} or \mathbf{y}_{ij} but really nothing happens. Only y is in ...
98 views

### How can I do the following in latex [duplicate]

I am new to latex. I have recently started to work with it. I have basic understanding. But still I am trying hard to get the things done. I am struck here. I want some thing like this below on my ...
131 views

### Footnotes next to each other in a sideways table?

How can I put footnotes next to each other in a sideways table? The para option for footmisc does not work here. Minimum working example: \documentclass[11pt]{article} \usepackage{rotating} % to ...
493 views

### PGFPlots - trying to combine legends

I have an interesting problem. I am trying to create two graphs using the groupplots environment, side-by-side, that show different sets of data elements with different legend entries and different ...
2k views

### File ended while scanning use of \Gscale@box@dd

I am getting this error for a while now, and I can't seem to fix it?! Here is my code - my table won't even load because of this error. \documentclass{article} \usepackage{hyperref} \usepackage{...
200 views

### >> is changed to » using beramono [duplicate]

I have the following piece of text in Latex: \texttt{List<List<Integer>>} and it was rendering properly. Then, I decided to use beramono as my typewriter font, and I have a problem: >> is ...
175 views

### List Structures

I am interested to create a list like the below one, which starts with \noindent but then is pushing the text to the left but without the text in the item returning again to \noindent when there is a ...
379 views

### Something like \setkomafont{item}{\sffamily}

Just to confirm I didn’t overlook something: It’s possible in KOMA-Script to change the font of the item label in description lists, but neither the label of enumerate and itemize items nor the item ...
351 views

### pgfplots - How to draw zero line for y (from xmin to xmax) when one uses symbolic x coords?

Based on the code provided by Jake: \draw[very thin] (axis cs:\pgfkeysvalueof{/pgfplots/xmin},0) -- (axis cs:\pgfkeysvalueof{/pgfplots/xmax},0); I am drawing a zero line for y-values for bar plots. ...
72 views

### introduce a line break in a long equation

\documentclass[12pt,twoside,a4paper,openright]{report} \usepackage[portuguese]{babel} \usepackage[utf8]{inputenc} \usepackage[inner=3cm,outer=2cm,tmargin=2.0cm,bmargin=2.0cm, includefoot, includehead, ...
308 views

### Alignment in aligned and aligned[t] environments

The following code instructs LaTeX to typeset two different expressions for the square of the absolute value of a certain sum. I have three alignments - one of them is "almost" correct and two of ...
73 views

### Can't find scrrpt class

I am a COMPLETE novice to latex. I installed Mactex on my Mac, and when I open Texlive it says I have KOMA installed. Yet when I try to compile with \documentclass{scrrpt} it won't compile and says ...
168 views

### Error in matrix form? [duplicate]

I am writing this matrix in my report: \begin{align} \mathbf{x}= \begin{pmatrix} 1 & 1 & 1 & 1 & 0 & 1 & 1 & 0 & 1 & 0 & 0 & 1 & 0 & 0 &...
1k views

### Two lines in IEEEpubid

I have a paper in IEEEtran style, on which I'm supposed to add the copyright. I did as follows, after the \begin{document}: \IEEEoverridecommandlockouts \IEEEpubid{\makebox[\columnwidth]{978-1-4799-...
709 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} \usefonttheme{...
125 views

### What causes my tangent and normal lines not to be visually perpendicular?

\documentclass[pstricks,border=12pt,dvipsnames]{standalone} \usepackage{pstricks-add} \usepackage[nomessages]{fp} \FPset\LabelBase{4} \FPeval\DeltaX{pi/LabelBase} \FPset\DeltaY{1} \FPeval\Left{0 -...
286 views

### How can I get subtitles for chapter titles to appear in the ToC, but not in the page headers?

From a previous question, here's some code that enables subtitles for chapters, while also adding the subtitles to the ToC. \newcommand\Chapter[2]{\chapter [#1\hfil\hbox{}\protect\linebreak{\itshape#...
291 views

I want to improve my table of contents so that I have larger writing (but with different sizes for section, subsection etc..), better spacing between lines and to add 'page' above the numbers.., maybe ...
684 views

### Biblatex - How can I suppress some fields for multiple entry types?

Based on lockstep's answer here, I wrote \ifentrytype{book,collection,incollection}{% }{% \clearfield{url}% \clearfield{urldate}% \clearfield{review}% \clearfield{series}% }% to suppress the URL ...