2
votes
1answer
93 views

multilingual table content

I want to introduce table that has multilingual content which are (Arabic, English, Vietnamese and Armenian) as the following figure Any idea how to produce that UPDATE: code used to produced ...
5
votes
1answer
1k views

How can I typeset the reduced Planck constant (ℏ)? [duplicate]

How can I typeset the symbol for the reduced Planck constant (from quantum theory)? It consists in an italic "h" whose upper part is crossed by a small "slanted" bar: For information, this slanted ...
3
votes
0answers
26 views

Connecting two elements in the equation [duplicate]

Suppose that my equation has six elements and I want to visually connect them into pairs (A with C, B with E and D with F). Is that possible to do? Example: --------- ...
1
vote
1answer
70 views

How to avoid page breaks between the paragraphs of a description item?

Is there a way of preventing LaTeX from putting page breaks between two paragraphs of a multi-paragraph \item in a description environment? Preferably without having to put in explicit \nopagebreak ...
16
votes
2answers
861 views

Why does \usepackage[british]{babel} change the hyphenation to wrong?

Now I know there are hyphenation differences between British and American English but in no dictionary, British or American, could I find the word "alternate" to be broken down to al·tern·ate instead ...
1
vote
1answer
91 views

How can create one bibliography file for different tex files in one project

I am beginner in Tex writing, and writing a report in Texmaker on Ubuntu 13.10. I have separate files for different chapters. Now I want to create one .bib file for all chapters including main file, ...
6
votes
2answers
230 views

How to rewrite this command using \newenvironment?

I once defined a customized latex command, which works well. And now I would like to convert it into a latex environment using \newenvironment command. However, I failed after trying several ways. ...
2
votes
2answers
399 views

Draw block diagram with a switch

I'm trying to draw a simple block diagram that looks like this: schemabloc seems to be the package to use, but then again, it doesn't have the switch symbol that I need. circuitikz doesn't seem to ...
3
votes
2answers
191 views

Unbalanced binary tree with forest

How can one draw an unbalanced binary tree - with missing nodes using the forest package?
5
votes
1answer
103 views

punctuation from times

i'm using pdflatex and my math font is palatino. i want to change the punctutation into times because apostrophe is so similar derivation symbol. i used the command below but it changed all math into ...
1
vote
1answer
113 views

How to start a curvilinear bezier curve at a specific point?

I'm currently fiddling around with the pgf library curvilinear. What I want to do is make a shape bending like the shape of a grid, a grid very similar to this one: Canvas transformation of grid to ...
0
votes
0answers
20 views

How to reference an Annex [duplicate]

How to reference an Annex (A)? I've tried \ref{Annex A}, but this wouldn't work.
1
vote
0answers
398 views

Importing plots from MATLAB to LaTeX

This is my first time trying to import plots created by MATLAB into LaTeX and it's not turning out very nicely. I have saved my MATLAB plot as a .png file here and an .eps file here. Using the .eps ...
4
votes
0answers
151 views

eps import wrong title in graphic \pi looks like \neq

Need to import a figure from Matlab. I export it as an eps and use epstopdf to import it in latex for some unknown reasons the greek pi in the title of the plot that looks ok in the .eps does not ...
3
votes
1answer
492 views

flow chart page size issue

I have been doing this since from last month. I want to draw this flow chart using \documentclass[a4paper,11pt]{report} but if I use above configuration (which I want to use) the flow chart does ...
2
votes
2answers
1k views

Adding word “Chapter” into Table of Contents for only numbered chapter entries

I'm trying to use the titletoc package to add the word "Chapter" only to my numbered entries in my Table of Contents. I'm using a report document class. I'm really close (I think), I just need to know ...
3
votes
0answers
49 views

What are the differences between mdframed vs. tcolorbox [duplicate]

I am familiar with the mdframed package and its usefulness when content crosses page boundaries. But lately, I have seen quite a few questions about the tcolorbox package and don't know much about it ...
3
votes
1answer
82 views

How to correctly display and separate the author names in a bibliographic entry?

How to correctly display and to separate among the BibLaTeX's author's names? Code: @book{atl1, label = {SELLS}, author = {Cristopher TAVARES, Kirk FERTITTA, Brent RECTOR, Chris ...
3
votes
1answer
203 views

fontawesome package deforms orginal font style

Why do I notice a shift and deformation in the fonts when I use the fontawesome package. The firs image doesnt use the fontawesome package and the font looks thicker and neat, when the package is ...
9
votes
2answers
230 views

easylist in tabular

I'd like to build this table: As I have a very long list to itemize, I'd like to use easylist. Obviously the easylist-group causes problems in the tabularx-environment. That's what I coded so far: ...
3
votes
2answers
175 views

Generating a table but an error occurs

What is the most efficient way of getting the table at http://en.wikipedia.org/wiki/Electrical_resistivity_and_conductivity#Resistivity_of_various_materials into LaTeX syntax? I tried to get it in, ...
12
votes
3answers
272 views

Capital ẞ in LaTeX/XeTeX/lualatex/whatever

I am trying to get a ẞ in my LaTeX document. How can I do this? I already tried: Using other fonts: dejavu and libertine Using \MakeUppercase{ß}, which sometimes produces nothing, sometimes produces ...
2
votes
1answer
33 views

How to pre-evaluate commands that are problematic for a specific environment?

More specifically, my problem occurs in the caption environment, but I imagine this applies elsewhere. I would like to insert the text generated by \suppOrApp and store it in the variable \sOrA: ...
2
votes
1answer
81 views

Change entry label to [Jones,82]

I'm trying to set a bibliography this way: \documentclass[12pt,french]{report} \usepackage[backend=bibtex, style=alphabetic ]{biblatex} \usepackage{filecontents} \begin{filecontents}{\jobname.bib} ...
4
votes
2answers
152 views

About \def\b*{\begin{align*}}

I want to make the code shorter. I defined the following pair of macros: \def\b*{\begin{align*}} \def\e*{\end{align*}} My point is that I saw this is a document, with \def\b*{\begin{eqnarray*}} ...
1
vote
0answers
66 views

winfont.sty not found on mactex

I'm trying to build a model here with Sublime + MacTex + Skim But I get this message: winfont.sty not found I looked at the winfont readme ...
0
votes
2answers
679 views

Installing biber for use with TeX Live 2013 on Debian wheezy

I recently backported what I think is TeX Live 2013 from Debian testing/unstable to Debian wheezy. The version number is 2013.20140314-1. This is no longer the most current version in Debian; there is ...
3
votes
1answer
71 views

pgfplots: adds “-indexX” to duplicate columns when pulling column name by \pgfplotstablegetcolumnnamebyindex

I am making graphs from a huge CSV with a macro hacked from http://tex.stackexchange.com/a/45125 and http://tex.stackexchange.com/a/24023 Which selects start/end column and adds them etc. But ...
2
votes
1answer
63 views

Specifying a letter class \address from an external file using catchfile package

I'm working with the letter class, and have created a custom .cls file in which most formatting of a letter is taken care off. From a .tex file used to produce the letter (or call, as I may have ...
5
votes
1answer
278 views

Why is my beamer presentation failing to compile when I include letters in my math?

Forgive me I am new to LaTex. I have a presentation that I would like to do in Beamer, but it fails to compile when I include letters in my math statements. For example, the following will compile, ...
1
vote
1answer
1k views

TeXStudio: Any command is an “Undefined control sequence” [duplicate]

I'm trying to configure TeXStudio (using Windows) with MiKTeX. I configured the path to latex.exe and pdflatex.exe in Options\Commands and still I get errors compiling any .tex. Every command (like ...
0
votes
1answer
100 views

TeXStudio: high CPU usage after version 2.6.2 [closed]

How can I fix that problem? All versions after 2.6.2 increase the CPU usage and the fan goes like crazy. Thanks P.S. I have already tried to not use spelling correction, yet the problem is still ...
3
votes
1answer
74 views

Alignment of image (via includegraphics) in fancyhdr with and without tabular environment

Below I show two examples; an image (via includegraphics) is placed in fancyhdr with and without tabular environment. When the image is placed in the tabular environment, a vertical offset is ...
8
votes
2answers
183 views

Split a character string n by n

I want to split a character string n by n. I know how to do that 1 by 1 : \documentclass{article} \makeatletter \def\s@plit<#1#2>{% \ifx\empty#2% #1% \else #1,\s@plit<#2>% ...
9
votes
2answers
246 views

Bottom frame of listing appears on top of the next page

As the title says. I use, among other things, the following in my lstset: framerule=1pt, frame=tblr Some places a page break happens in the middle of my \lstlisting. Fine. But sometimes the whole ...
11
votes
1answer
155 views

What does \def\foo#{…} mean? [duplicate]

I came across this idiom recently: \def\foo#{...} That is, a hash but no parameter number. What might be the purpose of this?
3
votes
1answer
111 views

How to crop my page to the size of tikz graph

I want to crop the page to exactly fit the tikz graph in it. When i used standalone document class, all the page content became on one line. Here is my code \documentclass{standalone} ...
6
votes
3answers
116 views

Horizontal alignment within itemize

My minimum working example: \documentclass{article} \begin{document} \begin{itemize} \item 1. First \item 2. Second \item 3a. Third \item 3b. Third \item 4. Fourth \end{itemize} \end{document} ...
5
votes
1answer
58 views

pdftooltip color assign

How can we assign a color for the pdftooltip ? For example I want the text CD to be blue. How can I get the color of my choice in RGB? \documentclass{article} \usepackage{pdfcomment}% ...
5
votes
2answers
139 views

eledmac package: \pausenumbering and \resumenumbering

I'm using the eledmac package to typeset a rather large work of theology. For simplicity and the sake of a MWE, I'm just using the two stanza poem below. Intended outcome: Between sections that are ...
0
votes
0answers
49 views

Scaling a graphics leads to an error [duplicate]

I have the following problem: I want to attach a photo in my resume on the right top. If I not use a scale argument, the file compiles but the photo is to large. However using a scale argument leads ...
3
votes
1answer
2k views

everyshi.sty is missing, how to install

I'm trying to use the package pgfplots, and I have successfully installed it along with the pre-requisite pgf. Whenever I compile, I get the error message "The required file ...everyshi.sty is ...
2
votes
1answer
325 views

Problem importing Octave Plot using TiKZ - pgfkeys Error on gpcolor

I am trying to include a set of Octave generated plots in a report, however I am constantly receiving the same error from pgf about it not recognizing \gpcolor A MWE would be ...
7
votes
1answer
114 views

Change line style in pgfplots in the middle of a line

I have the following MWE graph: \documentclass{memoir} \usepackage{pgfplots} \pgfplotsset{compat=1.10} \begin{document} \begin{tikzpicture} \begin{axis} \addplot coordinates { (1000,1) ...
1
vote
0answers
107 views

How to swap field entries in Bibliography (biblatex, bibtex8)? [closed]

I am currently modifying the layout of my thesis' bibliography and I still have to change three things. This is part of my preamble which includes the biblatex package. I already managed to render ...
5
votes
0answers
31 views

How can I replicate verbatim's letter spacing in listings? [duplicate]

I was trying to imitate the code listings in the book Mathematical Recipes in C, I understand that it uses the CM TT font. What I am interested is in the proportion between the text and the code, and ...
2
votes
1answer
78 views

Custom verbatim commands writing into index

I have created a custom fancyvrb command via \CustomVerbatimCommand{\afun}{Verb}{} to use for writing programming language functions, say \afun|object.method.blah|, etc. I would like to automatically ...
3
votes
1answer
65 views

Obeylines in letterhead

when I am writing a letter and using the class scrlttr2. I would like to use \obeylines for the address, so I can just paste an address into my latex source code, i.e. somewhat like this: ...
5
votes
0answers
81 views

pstool + pgfplots + parskip conflict [closed]

I've recently observed extremely strange latex bug if pstool + pgfplots + parskip packages are used at the same time. \documentclass{article} \usepackage{pstool} \usepackage{pgfplots} ...
3
votes
1answer
164 views

Making \includeonlylecture{} only ignore frames but not global structure elements such as sections

I am presently preparing lecture notes in beamer. I have the lecture course structured into parts, sections etc and I would like use the numbering scheme consistently throughout the course. Without ...

15 30 50 per page